Searched refs:interface (Results 1 - 25 of 93) sorted by relevance

1234

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dinterface.h37 struct interface { struct
38 struct interface *int_next;
45 char *int_ifbase; /* name of physical interface */
47 int int_ifindex; /* interface index */
55 #define RIP6_IFF_UP 0x1 /* interface is up */
56 #define RIP6_IFF_POINTOPOINT 0x2 /* interface is p-to-p link */
59 #define RIP6_IFF_PRIVATE 0x10 /* interface is private */
64 extern struct interface *if_ifwithname(char *);
65 extern void if_purge(struct interface *);
H A Dtable.h56 struct interface *rt_ifp; /* interface to take */
71 #define RTS_INTERFACE 0x2 /* route is for network interface */
83 boolean_t, struct interface *);
85 struct interface *);
92 extern void rtpurgeif(struct interface *);
H A Ddefs.h76 #include "interface.h"
132 extern struct interface *ifnet;
149 extern void dynamic_update(struct interface *);
150 extern void in_data(struct interface *);
152 extern void sendpacket(struct sockaddr_in6 *, struct interface *,
156 extern void supply(struct sockaddr_in6 *, struct interface *,
159 struct interface *, boolean_t);
H A Dif.c43 * Find the interface with given name.
45 struct interface *
48 struct interface *ifp;
59 * An interface has declared itself down - remove it completely
60 * from our routing tables but keep the interface structure around.
63 if_purge(struct interface *pifp)
72 struct interface *ifp;
92 (void) fprintf(fp, "interface %s:\n",
H A Doutput.c47 supplyall(struct sockaddr_in6 *sin6, int rtstate, struct interface *skipif,
50 struct interface *ifp;
59 "on %s (no route exchange on interface)\n",
76 solicit(struct sockaddr_in6 *sin6, struct interface *ifp)
89 struct interface *ifp;
98 "on %s (no route exchange on interface)\n",
116 sendpacket(struct sockaddr_in6 *sin6, struct interface *ifp, int size,
133 supply(struct sockaddr_in6 *sin6, struct interface *ifp, int rtstate,
147 * on the outgoing interface.
H A Dtrace.h53 * Per interface packet tracing buffers. An incoming and
55 * interface, for debugging. Buffers are dumped whenever
56 * an interface is marked down.
62 struct interface *ifd_if; /* for locating stuff */
106 extern void traceinit(struct interface *);
H A Dstartup.c41 struct interface *ifnet;
44 static void addrouteforif(struct interface *ifp);
45 static void resetup_listen_sock(struct interface *, int);
63 struct interface ifs;
64 struct interface *ifp;
71 syslog(LOG_ERR, "initifs: ioctl (get interface numbers): %m");
94 "initifs: ioctl (get interface configuration): %m");
111 "initifs: ioctl (get interface flags): %m");
135 * down for an exisiting interface,
153 "initifs: ioctl (get interface addres
[all...]
H A Dtrace.c48 static int iftraceinit(struct interface *ifp, struct ifdebug *ifd);
49 static void dumpif(FILE *fp, struct interface *ifp);
53 traceinit(struct interface *ifp)
64 iftraceinit(struct interface *ifp, struct ifdebug *ifd)
219 dumpif(FILE *fp, struct interface *ifp)
222 (void) fprintf(fp, "*** Packet history for interface %s ***\n",
H A Dtimer.c57 static int iftime; /* interface timer */
111 * an interface because we catch
136 supplyall(&allrouters, 0, (struct interface *)NULL, _B_TRUE);
178 supplyall(&allrouters, 0, (struct interface *)NULL, _B_TRUE);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c37 * stdout: <root fs type> <interface name> <net config strategy>.
40 * <interface name> - "hme0" or "none"
50 * <interface name> is the 16 char name of the root interface, and is only
51 * set if rarp/dhcp was used to configure the interface.
55 * interface. Is "none" if no interface was configured using a
123 * interface in the case of a diskless boot.
126 * XXX non-diskless case requires "network-interface"?
170 static char interface[LIFNAMSI local
257 char *root, *interface, *strategy, dummy; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Ddefs.h59 * use of per-interface ip_forwarding state.
112 #define CHECK_BAD_INTERVAL 5 /* when an interface is known bad */
169 * IF_NAME_LEN is the maximum size of interface names represented within
174 * interface names as well.
192 RO_IF, /* interface route */
200 struct interface *rts_ifp;
222 #define RS_IF 0x0001 /* for network interface */
252 * not unbroken interface routes but not broken interfaces
296 * number. This will consist of zero or one "main" interface plus
302 struct interface *phyi_interfac
317 struct interface { struct
[all...]
H A Dif.c50 struct interface *ifnet;
53 * Acceptable sizes (in number of interfaces) for the interface hash
54 * tables. These must all be prime. The interface hash tables all
94 boolean_t have_ripv1_out; /* have a RIPv1 interface */
97 static void if_bad(struct interface *, boolean_t);
98 static boolean_t addrouteforif(struct interface *);
99 static int get_if_kstats(struct interface *, struct phyi_data *);
106 * Table of all interfaces, hashed by interface address. For remote
110 NULL, ahash, offsetof(struct interface, int_ahash),
111 offsetof(struct interface, int_add
[all...]
/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dokprinter.c56 * A printer can't be remote and have device, interface,
63 || prbufp->interface
84 * A local printer must have an interface program. This is
86 * interface program came from) AND is used by "putprinter()"
87 * to copy the interface program. We must be able to read it.
143 if (prbufp->interface)
144 ret = canread(prbufp->interface);
H A Dfreeprinter.c66 if (pp->interface)
67 Free (pp->interface);
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/
H A Dbucket.c204 * add_by_name -- look up bucket and add an interface to it.
213 * if interface ore version is NULL, then
222 add_by_name(const char *version, const Interface *interface) argument
228 assert(interface != NULL, "passed a null interface to add_by_name");
231 print_iface(interface);
248 (void) snprintf(buffer, sizeof (buffer), "%s", interface->IF_name);
250 if (interface->IF_filter && interface->IF_auxiliary) {
252 "for an interface
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/etc/init.d/
H A Dncakmod36 # Function used to parse the interface names from /etc/hostname.* entries
72 # Need to expand interface (ie. iprb)
73 interface="`echo /etc/hostname.$i*[0-9] \
76 interfaces="$interfaces $interface"
/illumos-gate/usr/src/tools/ndrgen/
H A Dndr_lex.c99 { "interface", INTERFACE_KW, 0 },
/illumos-gate/usr/src/lib/efcode/engine/
H A DMakefile.com28 OBJECTS = init.o interface.o signal.o forth.o fcode.o interp.o debug.o \
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dsourcefilter.c41 getsourcefilter(int s, uint32_t interface, struct sockaddr *group, argument
56 gf->gf_interface = interface;
101 setsourcefilter(int s, uint32_t interface, struct sockaddr *group, argument
137 gf->gf_interface = interface;
158 getipv4sourcefilter(int s, struct in_addr interface, struct in_addr group, argument
172 imsf->imsf_interface = interface;
197 setipv4sourcefilter(int s, struct in_addr interface, struct in_addr group, argument
212 imsf->imsf_interface = interface;
/illumos-gate/usr/src/boot/sys/boot/i386/common/
H A Dedd.h72 char interface[8]; member in struct:edd_device_path_v3
89 char interface[8]; member in struct:edd_device_path_v4
/illumos-gate/usr/src/boot/sys/boot/i386/btx/lib/
H A Dbtxv86.s19 # BTX V86 interface.
27 # Fields in V86 interface structure.
49 # V86 interface function.
82 # V86 interface structure.
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dsupport.c61 * variable or the -S ld option, and determines which interface functions are
68 uint_t interface, version = LD_SUP_VERSION1; local
80 for (interface = 0; interface < LDS_NUM; interface++) {
84 support[interface].sup_name)) == NULL)
88 support[interface].sup_name));
90 if (interface == LDS_VERSION) {
132 if (alist_append(&support[interface].sup_funcs, &fl,
183 * This interface wa
[all...]
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dnet-svc65 interface=$2
96 # If the global 'interface' is defined, it will request the value learned
97 # on that interface, else it will request the value learned on the primary
98 # interface.
102 if [ -n "$interface" ]; then
103 /sbin/dhcpinfo -i $interface $1
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c3 * pppstats [-a|-d] [-v|-r|-z] [-c count] [-w wait] [interface]
107 static char *interface; variable
134 "Usage: %s [-a|-d] [-v|-r|-z] [-c count] [-w wait] [interface]\n",
167 strncpy(req.ifr_name, interface, sizeof(req.ifr_name));
193 strncpy(creq.ifr_name, interface, sizeof(creq.ifr_name));
315 * Print a running summary of interface statistics.
489 interface = PPP_DRV_NAME "0";
541 interface = argv[0];
543 if (sscanf(interface, PPP_DRV_NAME "%d", &unit) != 1) {
544 (void) fprintf(stderr, "%s: invalid interface '
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c156 for (interface = &INTERFACES[0]; interface->mac_type != -1; interface++)
157 if (interface->mac_type == dlinfo.di_mactype)
160 /* allow limited functionality even if interface isn't known */
161 if (interface->mac_type == -1) {
166 return (interface->try_kernel_filter);
253 * here to set up the network interface for reading of
653 for (interface = &INTERFACES[0]; interface
[all...]

Completed in 79 milliseconds

1234