Home
last modified time | relevance | path

Searched refs:interface (Results 1 – 25 of 266) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Ddefs.h200 struct interface *rts_ifp;
302 struct interface *phyi_interface;
317 struct interface { struct
444 struct interface *ag_ifp;
478 struct interface *k_ifp;
504 struct interface *dr_ifp;
578 extern struct interface *rip_sock_interface; /* current output interface */
612 extern struct interface *ifnet; /* all interfaces */
618 extern struct interface dummy_ifp; /* wildcard interface */
635 extern void rip_on(struct interface *);
[all …]
H A Dif.c50 struct interface *ifnet;
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 *);
110 NULL, ahash, offsetof(struct interface, int_ahash),
111 offsetof(struct interface, int_addr),
118 NULL, ahash, offsetof(struct interface, int_bhash),
119 offsetof(struct interface, int_brdaddr),
133 NULL, nhash, offsetof(struct interface, int_nhash),
134 offsetof(struct interface, int_name),
[all …]
H A Drdisc.c83 static struct interface *rdisc_sock_interface; /* current rdisc interface */
110 struct interface *ifp, in trace_rdisc()
214 set_rdisc_mg(struct interface *ifp, in set_rdisc_mg()
295 struct interface *ifp; in set_supplier()
452 if_bad_rdisc(struct interface *ifp) in if_bad_rdisc()
471 if_rewire_rdisc(struct interface *oldifp, struct interface *newifp) in if_rewire_rdisc()
492 if_ok_rdisc(struct interface *ifp) in if_ok_rdisc()
510 struct interface *ifp; in del_rdisc()
577 struct interface *ifp; in rdisc_sort()
877 struct interface *ifp) in parse_ad()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/netstrategy/
H A Dnetstrategy.c170 static char interface[LIFNAMSIZ]; in get_first_interface() local
240 (void) strncpy(interface, ifr->lifr_name, LIFNAMSIZ); in get_first_interface()
247 return (interface); in get_first_interface()
250 return (found_one ? interface : NULL); in get_first_interface()
257 char *root, *interface, *strategy, dummy; in main() local
261 root = interface = strategy = NULL; in main()
279 interface = get_first_interface(&dhcp_running); in main()
280 if (interface == NULL) { in main()
287 (void) printf("%s %s %s\n", root, interface, strategy); in main()
299 interface = alloca(len); in main()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Ddefs.h130 extern struct interface *ifnet;
147 extern void dynamic_update(struct interface *);
148 extern void in_data(struct interface *);
150 extern void sendpacket(struct sockaddr_in6 *, struct interface *,
154 extern void supply(struct sockaddr_in6 *, struct interface *,
157 struct interface *, boolean_t);
H A Dinterface.h37 struct interface { struct
38 struct interface *int_next; argument
64 extern struct interface *if_ifwithname(char *);
65 extern void if_purge(struct interface *);
H A Dtable.h54 struct interface *rt_ifp; /* interface to take */
81 boolean_t, struct interface *);
83 struct interface *);
90 extern void rtpurgeif(struct interface *);
H A Doutput.c47 supplyall(struct sockaddr_in6 *sin6, int rtstate, struct interface *skipif, in supplyall()
50 struct interface *ifp; in supplyall()
76 solicit(struct sockaddr_in6 *sin6, struct interface *ifp) in solicit()
89 struct interface *ifp; in solicitall()
116 sendpacket(struct sockaddr_in6 *sin6, struct interface *ifp, int size, in sendpacket()
133 supply(struct sockaddr_in6 *sin6, struct interface *ifp, int rtstate, in supply()
H A Dstartup.c39 struct interface *ifnet;
42 static void addrouteforif(struct interface *ifp);
43 static void resetup_listen_sock(struct interface *, int);
61 struct interface ifs; in initifs()
62 struct interface *ifp; in initifs()
283 ifp = (struct interface *) in initifs()
284 malloc(sizeof (struct interface)); in initifs()
358 dynamic_update((struct interface *)NULL); in initifs()
362 addrouteforif(struct interface *ifp) in addrouteforif()
503 resetup_listen_sock(struct interface *ifp, int newindex) in resetup_listen_sock()
H A Dif.c43 struct interface *
46 struct interface *ifp; in if_ifwithname()
61 if_purge(struct interface *pifp) in if_purge()
70 struct interface *ifp; in if_dump2()
H A Dtrace.c46 static int iftraceinit(struct interface *ifp, struct ifdebug *ifd);
47 static void dumpif(FILE *fp, struct interface *ifp);
51 traceinit(struct interface *ifp) in traceinit()
62 iftraceinit(struct interface *ifp, struct ifdebug *ifd) in iftraceinit()
217 dumpif(FILE *fp, struct interface *ifp) in dumpif()
/illumos-gate/usr/src/lib/
H A DREADME.mapfiles32 typically occur as libraries are evolved, and shows how interface
36 1. Make interface additions to an existing library
37 - add a Public interface
38 - add a Private interface
39 2. Update an interface in an existing library
40 - remove an existing interface
41 - promote a Private interface to Public
42 - scope a Private interface to local
43 - move an interface from one library to another
88 for only two purposes: to specify externally-visible interface names while
[all …]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/
H A Dbucket.c220 add_by_name(const char *version, const Interface *interface) in add_by_name() argument
226 assert(interface != NULL, "passed a null interface to add_by_name"); in add_by_name()
229 print_iface(interface); in add_by_name()
246 (void) snprintf(buffer, sizeof (buffer), "%s", interface->IF_name); in add_by_name()
248 if (interface->IF_filter && interface->IF_auxiliary) { in add_by_name()
250 "for an interface: %s", interface->IF_name); in add_by_name()
253 if (interface->IF_filter) { in add_by_name()
255 if (interface->IF_type == FUNCTION) { in add_by_name()
257 } else if (interface->IF_type == DATA) { in add_by_name()
261 (void) strcat(buffer, interface->IF_filter); in add_by_name()
[all …]
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dsourcefilter.c39 getsourcefilter(int s, uint32_t interface, struct sockaddr *group, in getsourcefilter() argument
54 gf->gf_interface = interface; in getsourcefilter()
99 setsourcefilter(int s, uint32_t interface, struct sockaddr *group, in setsourcefilter() argument
135 gf->gf_interface = interface; in setsourcefilter()
156 getipv4sourcefilter(int s, struct in_addr interface, struct in_addr group, in getipv4sourcefilter() argument
170 imsf->imsf_interface = interface; in getipv4sourcefilter()
195 setipv4sourcefilter(int s, struct in_addr interface, struct in_addr group, in setipv4sourcefilter() argument
210 imsf->imsf_interface = interface; in setipv4sourcefilter()
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dgrub.info-433 File: grub.info, Node: Bootstrap tricks, Next: I/O ports detection, Prev: Command interface, Up…
55 Stage 1 needs not to support the user interface or the filesystem
56 interface, it is impossible to make Stage 1 less than 400 bytes, because
181 * current_drive: Filesystem interface.
182 * current_partition: Filesystem interface.
183 * current_slice: Filesystem interface.
187 * devread: Filesystem interface.
189 * disk_read_func: Filesystem interface.
194 * filemax: Filesystem interface.
195 * filepos: Filesystem interface.
[all …]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dsupport.c68 uint_t interface, version = LD_SUP_VERSION1; in ld_sup_loadso() local
80 for (interface = 0; interface < LDS_NUM; interface++) { in ld_sup_loadso()
83 if ((fptr = dlsym(handle, support[interface].sup_name)) == NULL) in ld_sup_loadso()
87 support[interface].sup_name)); in ld_sup_loadso()
89 if (interface == LDS_VERSION) { in ld_sup_loadso()
131 if (alist_append(&support[interface].sup_funcs, &fl, in ld_sup_loadso()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DREADME38 dirent.h POSIX directory(3) interface definitions
39 error.h error() interface definitions
40 ftw.h ftwalk() interface definitions
41 hash.h hash*() interface definitions
42 ls.h strls() interface definitions
43 re.h re*() interface definitions
44 tar.h POSIX ustar format interface definitions
45 tm.h tm*() interface definitions
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DServer_en.properties53 request_in = Incoming datagram request received from ``{0}'''' on interface ``{1}''''.
55 ioexception_server_stream = IO exception processing stream for host:port ``{0}:{1}'''' on interface
57 …uest to a DA. Request type:``{0}'''', xid=``0x{1}'''', host:port=``{2}:{3}'''' interface ``{4}''''.
58 rh_tcp_error = Syntax error in message on TCP stream for host:port ``{0}:{1}'''' on interface ``{2}…
59 rh_datagram_ioe = IOException processing datagram packet from host:port ``{0}:{1}'''' on interface
60 rh_socket_closed = Remote client ``{0}'''' closed socket port ``{1}'''', local interface is ``{2}''…
61 rh_socket_error = Socket exception replying to host:port ``{0}:{1}'''' on interface ``{2}'''': {3}
62 rh_ioexception_reply = IOException replying to host:port ``{0}:{1}'''' on interface ``{2}'''': {3}
63 rh_rqst_in = Request ``{0}'''' from host:port ``{1}:{2}'''' on interface ``{3}'''':\n {4}
64 rh_rqst_in_progress = Request from host:port ``{0}:{1}'''' on interface ``{2}'''' dropped because …
[all …]
/illumos-gate/usr/src/cmd/ipf/examples/
H A Dnat-setup4 To start setting up NAT, we need to define which is your "internal" interface
5 and which is your "external" interface. The "internal" interface is the
8 interface is configured with a valid internet address.
10 For example, your internal interface might have an IP# of 10.1.1.1 and be
11 connected to your ethernet, whilst your external interface might be a PPP
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c158 for (interface = &INTERFACES[0]; interface->mac_type != -1; interface++) in open_datalink()
159 if (interface->mac_type == dlinfo.di_mactype) in open_datalink()
163 if (interface->mac_type == -1) { in open_datalink()
168 return (interface->try_kernel_filter); in open_datalink()
616 mac = htonl(interface->mac_type); in cap_write_header()
760 for (interface = &INTERFACES[0]; interface->mac_type != -1; in cap_open_read()
761 interface++) in cap_open_read()
762 if (interface->mac_type == device_mac_type) in cap_open_read()
765 if (interface->mac_type == -1) in cap_open_read()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppstats/
H A Dpppstats.c101 static char *interface; variable
161 strncpy(req.ifr_name, interface, sizeof(req.ifr_name));
187 strncpy(creq.ifr_name, interface, sizeof(creq.ifr_name));
483 interface = PPP_DRV_NAME "0";
535 interface = argv[0];
537 if (sscanf(interface, PPP_DRV_NAME "%d", &unit) != 1) {
539 progname, interface);
557 strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name));
560 progname, interface);
/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dokprinter.c61 || prbufp->interface in okprinter()
141 if (prbufp->interface) in okinterface()
142 ret = canread(prbufp->interface); in okinterface()
/illumos-gate/usr/src/tools/sgs/sgsmsg/
H A Dsgsmsg.c114 *interface = "sgs_msg", variable
409 interface) < 0) { in init_defs()
420 interface) < 0) { in init_defs()
433 interface) < 0) { in init_defs()
442 interface) < 0) { in init_defs()
447 interface) < 0) { in init_defs()
468 interface) < 0) { in fini_defs()
481 interface) < 0) { in fini_defs()
621 fmtstr, interface, stbufsize) < 0) { in output_data()
1090 interface = optarg; /* name (msg is default) */ in main()
/illumos-gate/usr/src/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/svc/milestone/
H A Dnet-svc65 interface=$2
102 if [ -n "$interface" ]; then
103 /sbin/dhcpinfo -i $interface $1

1234567891011