Searched defs:interface (Results 1 - 25 of 37) sorted by relevance

12

/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/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 *);
/illumos-gate/usr/src/cmd/bnu/
H A Dinterface.c32 * interface(label)
91 char *IN_label; /* interface name */
141 interface(label) function
153 DEBUG(5, "set interface %s\n", label);
435 * Find out the current state of the interface.
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon_y.y61 %type <opt> direction dstip dstport every execute group interface
101 | interface { $$ = $1; }
159 interface: label
256 { "interface", IPM_INTERFACE },
/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/lib/libnsl/dial/
H A Dinterface.c33 * interface( label )
72 const char *IN_label; /* interface name */
96 interface(const char *label) function
106 DEBUG(5, "set interface %s\n", label);
306 * Find out the current state of the interface.
/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.h293 typedef struct interface { struct
305 extern interface_t INTERFACES[], *interface;
H A Dsnoop_ether.c62 interface_t *interface; variable
73 /* Fiber Distributed data interface */
77 /* Token Ring interface */
1413 0x0080D3, "Shiva Appletalk-Ethernet interface",
1474 0x080089, "Kinetics AppleTalk-Ethernet interface",
/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/sgs/liblddbg/common/
H A Daudit.c59 Dbg_audit_interface(Lm_list *lml, const char *lib, const char *interface) argument
64 dbg_print(lml, MSG_INTL(MSG_AUD_INTERFACE), lib, interface);
/illumos-gate/usr/src/uts/common/io/
H A Ddevfm.c61 char *interface; /* interface name */ member in struct:fm_version
62 uint32_t version; /* interface version */
406 for (p = fm_versions; p->interface != NULL; p++)
407 (void) nvlist_add_uint32(fm_vers_nvl, p->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/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/uts/common/io/usb/usb_ia/
H A Dusb_ia.c31 * usb interface association driver
33 * this driver attempts to the interface association node and
397 /* enumerate each interface below us */
416 int interface, circular_count; local
445 for (interface = 0; usb_ia->ia_children_dips &&
446 (interface < usb_ia->ia_n_ifs); interface++) {
447 mdip = usb_ia->ia_children_dips[interface];
454 /* we lost the dip on this interface */
455 usb_ia->ia_children_dips[interface]
[all...]
/illumos-gate/usr/src/cmd/lp/include/
H A Dprinters.h99 char *interface; /* interface program full path name */ member in struct:PRINTER
152 #define BAD_INTERFACE 0x0002 /* no interface or can't read it */
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dtrace.c33 * (interface to) the front end. Other files implement the middle
211 * interface in the spec file.
238 * XXX Note whether interface is function or data in some state data item.
249 errlog(VERBOSE, "interface='%s'", value);
257 errlog(TRACING, "now in interface \"%s\"", value);
329 "interface",
345 * xlator_end_if -- called at the end of the interface, to trigger
346 * per-interface processing now entire thing has been seen.
726 char *interface = db_get_current_interface(); local
753 if (strcmp(interface, dnam
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usb_mid/
H A Dusb_mid.c31 * usb multi interface and common class driver
33 * this driver attempts to attach each interface to a driver
448 /* enumerate each interface below us */
467 int interface, circular_count; local
496 for (interface = 0; usb_mid->mi_children_dips &&
497 (interface < usb_mid->mi_n_ifs) &&
498 (usb_mid->mi_children_ifs[interface]); interface++) {
499 mdip = usb_mid->mi_children_dips[interface];
506 /* we lost the dip on this interface */
[all...]
/illumos-gate/usr/src/uts/common/io/zyd/
H A Dzyd_usb.c251 uint_t interface, uint_t alt)
268 /* Descend to interface */
269 if (interface > dcfg->cfg_n_if - 1)
271 cfgif = &dcfg->cfg_if[interface];
250 usb_lookup_alt_if(usb_client_dev_data_t *cdd, uint_t config, uint_t interface, uint_t alt) argument
/illumos-gate/usr/src/cmd/sgs/tools/common/
H A Dsgsmsg.c114 *interface = "sgs_msg", variable
409 interface) < 0) {
420 interface) < 0) {
433 interface) < 0) {
442 interface) < 0) {
447 interface) < 0) {
468 interface) < 0) {
481 interface) < 0) {
621 fmtstr, interface, stbufsize) < 0) {
1090 interface
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_as/
H A Dusb_as.c688 * Sets the sample freq by sending a control command to interface
750 * the right alternate. Sets alternate interface and returns it.
758 uint_t interface; local
772 interface = uasp->usb_as_ifno;
820 "usb_as_set_format: interface=%d alternate=%d",
821 interface, alt);
830 interface, /* wIndex */
1927 * interface, general, format, endpoint, CV endpoint
1933 int interface = dev_data->dev_curr_if; local
1949 "usb_as_handle_descriptors: cfg=%ld interface
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/hid/
H A Dhid.c383 * Register with USBA. Just retrieve interface descriptor
407 /* get interface data for alternate 0 */
438 * Attempt to find the hid descriptor, it could be after interface
807 * The consconfig_dacf module need this interface to detect if the
1800 * Parse the hid descriptor, check after interface and after
1900 int interface)
1912 0, /* wIndex: interface, fill in later */
1921 setup.wIndex = (uint16_t)interface;
1996 0, /* wIndex: interface, fill in later */
1899 hid_handle_report_descriptor(hid_state_t *hidp, int interface) argument
/illumos-gate/usr/src/uts/common/io/usb/clients/printer/
H A Dusbprn.c676 int interface; local
690 * configuration interface and one interface.
692 interface = dev_data->dev_curr_if;
696 for (alt = 0; alt < cfg_data->cfg_if[interface].if_n_alt; alt++) {
697 altif_data = &cfg_data->cfg_if[interface].if_alt[alt];
712 if (alt == cfg_data->cfg_if[interface].if_n_alt) {
720 if ((rval = usb_set_alt_if(dip, interface, alt, USB_FLAGS_SLEEP,
736 if ((ep_data = usb_lookup_ep_data(dip, dev_data, interface, alt, 0,
740 if ((ep_data = usb_lookup_ep_data(dip, dev_data, interface, al
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba10_calls.c96 uint_t interface,
102 dip, dev_datap, interface, alternate, type, direction));
266 uint_t what, /* 0, interface, endpoint number */
280 uint_t what, /* 0, interface, endpoint number */
330 uint_t interface,
341 dip, interface, alt_number, usb_flags, cb, cb_arg));
93 usba10_usb_get_ep_data( dev_info_t *dip, usb_client_dev_data_t *dev_datap, uint_t interface, uint_t alternate, uint_t type, uint_t direction) argument
328 usba10_usb_set_alt_if( dev_info_t *dip, uint_t interface, uint_t alt_number, usb_flags_t usb_flags, void (*cb)( usb_pipe_handle_t ph, usb_opaque_t arg, int rval, usb_cb_flags_t flags), usb_opaque_t cb_arg) argument
/illumos-gate/usr/src/uts/common/io/usb/usba10/
H A Dusba10.c124 uint_t interface,
130 dip, dev_datap, interface, alternate, type, direction));
294 uint_t what, /* 0, interface, endpoint number */
308 uint_t what, /* 0, interface, endpoint number */
358 uint_t interface,
369 dip, interface, alt_number, usb_flags, cb, cb_arg));
121 usb_get_ep_data( dev_info_t *dip, usb_client_dev_data_t *dev_datap, uint_t interface, uint_t alternate, uint_t type, uint_t direction) argument
356 usb_set_alt_if( dev_info_t *dip, uint_t interface, uint_t alt_number, usb_flags_t usb_flags, void (*cb)( usb_pipe_handle_t ph, usb_opaque_t arg, int rval, usb_cb_flags_t flags), usb_opaque_t cb_arg) argument

Completed in 107 milliseconds

12