Searched refs:iface (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/examples/
H A Dmkfilters.sh94 ($iface = $_) =~ s/^([a-zA-Z]+\d+).*/$1/;
95 $ifaces{$iface} = $iface;
100 ($inet{$iface} = $_) =~ s/.*inet ([^ ]+) \-\-\> ([^ ]+).*/$1/;
101 ($ppp{$iface} = $_) =~ s/.*inet ([^ ]+) \-\-\> ([^ ]+).*/$2/;
103 ($inet{$iface} = $_) =~ s/.*inet ([^ ]+).*/$1/;
109 $netmask{$iface} = $mask;
112 ($bcast{$iface} = $_) =~ s/.*broadcast ([^ ]+).*/$1/;
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipftest.c77 char *datain, *iface, *ifname, *logout; local
91 iface = NULL;
218 &iface, &dir)) > 0) {
219 if (iface == NULL || *iface == '\0')
220 iface = ifname;
221 ifp = get_unit(iface, IP_V(ip), ifs);
299 if (iface != ifname) {
300 free(iface);
301 iface
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_pipe_mgmt.c483 int iface = usb_get_if_number(dip); local
484 if (iface < 0) {
486 iface = 0;
501 if (usba_device->usb_shared_taskq_ref_count[iface] == 0) {
502 usba_device->usb_shared_taskq[iface] =
509 ASSERT(usba_device->usb_shared_taskq[iface] != NULL);
511 usba_device->usb_shared_taskq_ref_count[iface]++;
616 int iface = usb_get_if_number(ph_data->p_dip); local
617 if (iface < 0) {
619 iface
[all...]
H A Dusba.c3060 int i, ph_open_cnt, req_wrp_leaks, iface; local
3130 for (iface = 0; iface < usba_device->usb_n_ifs; iface++) {
3133 iface, usba_device->usb_client_flags[iface]);
3135 if (usba_device->usb_client_flags[iface] &
3166 if (usba_device->usb_client_flags[iface] &
3169 usb_client_attach_list[iface].dip;
3182 usb_client_attach_list[iface]
[all...]
H A Dusba_ugen.c1431 uchar_t cfgidx, cfgval, iface, alt, ep; local
1461 for (iface = 0; iface < dev_cfg->cfg_n_if; iface++) {
1462 if_data = &dev_cfg->cfg_if[iface];
1469 cfgval, cfgidx, iface, alt) !=
1488 uchar_t cfgval, uchar_t cfgidx, uchar_t iface, uchar_t alt)
1501 "cfgval=%d cfgidx=%d iface=%d alt=%d ep_index=%d",
1502 cfgval, cfgidx, iface, alt, ep_index);
1516 epp->ep_if = iface;
1487 ugen_epxs_data_init(ugen_state_t *ugenp, usb_ep_data_t *ep_data, uchar_t cfgval, uchar_t cfgidx, uchar_t iface, uchar_t alt) argument
1579 ugen_epxs_minor_nodes_create(ugen_state_t *ugenp, usb_ep_descr_t *ep_descr, uchar_t cfgval, uchar_t cfgidx, uchar_t iface, uchar_t alt) argument
1793 ugen_epxs_check_alt_switch(ugen_state_t *ugenp, uchar_t iface, uchar_t cfgidx) argument
[all...]
H A Dhcdi.c543 int iface; local
546 iface = usb_get_if_number(ph_data->p_dip);
547 if (iface < 0) {
549 iface = 0;
551 if (taskq_dispatch(usba_device->usb_shared_taskq[iface],
/illumos-gate/usr/src/test/os-tests/tests/spoof-ras/
H A Dspoof-ras.c65 spoof_get_lla(int s, const char *iface, struct lifreq *addrp, argument
68 if (strstr(iface, ":")) {
76 (void) strlcpy(addrp->lifr_name, iface, LIFNAMSIZ);
82 (void) strlcpy(llap->lifr_name, iface, LIFNAMSIZ);
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dabienv.c234 check_intlist(Intlist *list, char const *iface) argument
240 if (fnmatch(list->i_name, iface, 0) == 0)
/illumos-gate/usr/src/cmd/bnu/
H A Duucico.c101 char *iface; /* interface name */ local
173 iface = "UNIX";
228 iface = optarg;
293 if ( interface(iface) ) {
295 "%s: invalid interface %s\n", Progname, iface);
/illumos-gate/usr/src/uts/common/io/usb/clients/printer/
H A Dusbprn.c2536 int alt, rval, iface; local
2594 iface = usb_owns_device(dip) ? 0 : usb_get_if_number(dip);
2595 if ((rval = usb_set_alt_if(dip, iface, alt,

Completed in 681 milliseconds