Symbol: interface
lib/libusb/libusb.h
336
struct libusb_interface *interface;
lib/libusb/libusb.h
442
int libusb_kernel_driver_active(libusb_device_handle * devh, int interface);
lib/libusb/libusb.h
443
int libusb_get_driver_np(libusb_device_handle * devh, int interface, char *name, int namelen);
lib/libusb/libusb.h
444
int libusb_get_driver(libusb_device_handle * devh, int interface, char *name, int namelen);
lib/libusb/libusb.h
445
int libusb_detach_kernel_driver_np(libusb_device_handle * devh, int interface);
lib/libusb/libusb.h
446
int libusb_detach_kernel_driver(libusb_device_handle * devh, int interface);
lib/libusb/libusb.h
447
int libusb_attach_kernel_driver(libusb_device_handle * devh, int interface);
lib/libusb/libusb01.c
1007
usb_detach_kernel_driver_np(usb_dev_handle * dev, int interface)
lib/libusb/libusb01.c
1017
err = libusb20_dev_detach_kernel_driver(pdev, interface);
lib/libusb/libusb01.c
446
bcfg->interface = ps->b.currifcw;
lib/libusb/libusb01.c
449
ps->a.currifc = acfg->interface + x;
lib/libusb/libusb01.c
524
if (cf->interface != NULL) {
lib/libusb/libusb01.c
525
free(cf->interface);
lib/libusb/libusb01.c
526
cf->interface = NULL;
lib/libusb/libusb01.c
763
usb_claim_interface(usb_dev_handle * dev, int interface)
lib/libusb/libusb01.c
767
pdev->claimed_interface = interface;
lib/libusb/libusb01.c
773
usb_release_interface(usb_dev_handle * dev, int interface)
lib/libusb/libusb01.c
979
usb_get_driver_np(usb_dev_handle * dev, int interface, char *name, int namelen)
lib/libusb/libusb01.c
994
err = libusb20_dev_get_iface_desc(pdev, interface, name, namelen);
lib/libusb/libusb10.c
406
pinf = &pdconf->interface[i];
lib/libusb/libusb10.c
840
libusb_kernel_driver_active(struct libusb20_device *pdev, int interface)
lib/libusb/libusb10.c
845
if (libusb20_dev_kernel_driver_active(pdev, interface))
lib/libusb/libusb10.c
852
libusb_get_driver_np(struct libusb20_device *pdev, int interface,
lib/libusb/libusb10.c
855
return (libusb_get_driver(pdev, interface, name, namelen));
lib/libusb/libusb10.c
859
libusb_get_driver(struct libusb20_device *pdev, int interface,
lib/libusb/libusb10.c
873
pdev, interface, name, namelen);
lib/libusb/libusb10.c
887
libusb_detach_kernel_driver_np(struct libusb20_device *pdev, int interface)
lib/libusb/libusb10.c
889
return (libusb_detach_kernel_driver(pdev, interface));
lib/libusb/libusb10.c
893
libusb_detach_kernel_driver(struct libusb20_device *pdev, int interface)
lib/libusb/libusb10.c
901
pdev, interface);
lib/libusb/libusb10.c
907
libusb_attach_kernel_driver(struct libusb20_device *pdev, int interface)
lib/libusb/libusb10_desc.c
130
pinf = pconf->interface + i;
lib/libusb/libusb10_desc.c
173
pconfd->interface = (libusb_interface *) (pconfd + 1);
lib/libusb/libusb10_desc.c
175
ifd = (libusb_interface_descriptor *) (pconfd->interface + nif);
lib/libusb/libusb10_desc.c
200
pconfd->interface[i].altsetting = ifd;
lib/libusb/libusb10_desc.c
202
endd += pconf->interface[i].num_endpoints;
lib/libusb/libusb10_desc.c
205
for (j = 0; j < pconf->interface[i].num_altsetting; j++) {
lib/libusb/libusb10_desc.c
207
endd += pconf->interface[i].altsetting[j].num_endpoints;
lib/libusb/libusb10_desc.c
215
pinf = &pconf->interface[i];
lib/libusb/libusb10_desc.c
216
pconfd->interface[i].num_altsetting = pinf->num_altsetting + 1;
lib/libusb/libusb10_desc.c
217
for (j = 0; j < pconfd->interface[i].num_altsetting; j++) {
lib/libusb/libusb10_desc.c
219
pinf = &pconf->interface[i].altsetting[j - 1];
lib/libusb/libusb10_desc.c
220
ifd = &pconfd->interface[i].altsetting[j];
lib/libusb/libusb20_desc.c
156
lub_config->interface = lub_interface;
lib/libusb/libusb20_desc.h
584
struct libusb20_interface *interface;
lib/libusb/usb.h
157
struct usb_interface *interface;
lib/libusb/usb.h
289
int usb_claim_interface(usb_dev_handle * dev, int interface);
lib/libusb/usb.h
290
int usb_release_interface(usb_dev_handle * dev, int interface);
lib/libusb/usb.h
303
int usb_get_driver_np(usb_dev_handle * dev, int interface, char *name, int namelen);
lib/libusb/usb.h
304
int usb_detach_kernel_driver_np(usb_dev_handle * dev, int interface);
sbin/routed/defs.h
179
struct interface *rts_ifp;
sbin/routed/defs.h
243
struct interface *int_next, **int_prev;
sbin/routed/defs.h
244
struct interface *int_ahash, **int_ahash_prev;
sbin/routed/defs.h
245
struct interface *int_bhash, **int_bhash_prev;
sbin/routed/defs.h
246
struct interface *int_rlink, **int_rlink_prev;
sbin/routed/defs.h
247
struct interface *int_nhash, **int_nhash_prev;
sbin/routed/defs.h
425
extern struct interface *rip_sock_mcast; /* current multicast interface */
sbin/routed/defs.h
457
extern struct interface *ifnet; /* all interfaces */
sbin/routed/defs.h
458
extern struct interface *remote_if; /* remote interfaces */
sbin/routed/defs.h
480
extern void rip_on(struct interface *);
sbin/routed/defs.h
484
struct interface *, struct rip *, int);
sbin/routed/defs.h
488
extern void supply(struct sockaddr_in *, struct interface *,
sbin/routed/defs.h
521
extern void get_parms(struct interface *);
sbin/routed/defs.h
536
extern void trace_if(const char *, struct interface *);
sbin/routed/defs.h
540
struct interface *, struct rip *, int);
sbin/routed/defs.h
545
extern void set_rdisc_mg(struct interface *, int);
sbin/routed/defs.h
547
extern void if_bad_rdisc(struct interface *);
sbin/routed/defs.h
548
extern void if_ok_rdisc(struct interface *);
sbin/routed/defs.h
549
extern void read_rip(int, struct interface *);
sbin/routed/defs.h
592
extern naddr ripv1_mask_net(naddr, struct interface *);
sbin/routed/defs.h
593
extern naddr ripv1_mask_host(naddr,struct interface *);
sbin/routed/defs.h
596
extern struct interface *check_dup(naddr, naddr, naddr, int);
sbin/routed/defs.h
597
extern int check_remote(struct interface *);
sbin/routed/defs.h
598
extern int addrouteforif(struct interface *);
sbin/routed/defs.h
601
extern int if_ok(struct interface *, const char *);
sbin/routed/defs.h
602
extern void if_sick(struct interface *);
sbin/routed/defs.h
603
extern void if_bad(struct interface *);
sbin/routed/defs.h
604
extern void if_link(struct interface *);
sbin/routed/defs.h
605
extern struct interface *ifwithaddr(naddr, int, int);
sbin/routed/defs.h
606
extern struct interface *ifwithname(char *, naddr);
sbin/routed/defs.h
607
extern struct interface *ifwithindex(u_short, int);
sbin/routed/defs.h
608
extern struct interface *iflookup(naddr);
sbin/routed/defs.h
610
extern struct auth *find_auth(struct interface *);
sbin/routed/if.c
1074
ifp = (struct interface *)rtmalloc(sizeof(*ifp), "ifinit ifp");
sbin/routed/if.c
1254
check_net_syn(struct interface *ifp)
sbin/routed/if.c
1301
addrouteforif(struct interface *ifp)
sbin/routed/if.c
139
struct interface *
sbin/routed/if.c
144
struct interface *ifp, *possible = NULL;
sbin/routed/if.c
177
struct interface *
sbin/routed/if.c
181
struct interface *ifp;
sbin/routed/if.c
205
struct interface *
sbin/routed/if.c
208
struct interface *ifp;
sbin/routed/if.c
231
struct interface *
sbin/routed/if.c
234
struct interface *ifp, *maybe;
sbin/routed/if.c
293
struct interface *ifp) /* as seen on this interface */
sbin/routed/if.c
344
struct interface *ifp) /* as seen on this interface */
sbin/routed/if.c
36
struct interface *ifnet; /* all interfaces */
sbin/routed/if.c
379
struct interface *
sbin/routed/if.c
385
struct interface *ifp;
sbin/routed/if.c
412
check_remote(struct interface *ifp)
sbin/routed/if.c
442
ifdel(struct interface *ifp)
sbin/routed/if.c
445
struct interface *ifp1;
sbin/routed/if.c
45
struct interface *ahash_tbl[AHASH_LEN];
sbin/routed/if.c
49
struct interface *bhash_tbl[BHASH_LEN];
sbin/routed/if.c
51
struct interface *remote_if; /* remote interfaces */
sbin/routed/if.c
528
if_sick(struct interface *ifp)
sbin/routed/if.c
543
if_bad(struct interface *ifp)
sbin/routed/if.c
545
struct interface *ifp1;
sbin/routed/if.c
575
if_ok(struct interface *ifp,
sbin/routed/if.c
578
struct interface *ifp1;
sbin/routed/if.c
58
struct interface *nhash_tbl[NHASH_LEN];
sbin/routed/if.c
659
struct interface ifs, ifs0, *ifp, *ifp1;
sbin/routed/if.c
76
static struct interface**
sbin/routed/if.c
92
if_link(struct interface *ifp)
sbin/routed/if.c
94
struct interface **hifp;
sbin/routed/input.c
128
struct interface *sifp, /* interface of incoming socket */
sbin/routed/input.c
129
struct interface *aifp, /* "authenticated" interface */
sbin/routed/input.c
140
struct interface *ifp1;
sbin/routed/input.c
35
static void input(struct sockaddr_in *, struct interface *, struct interface *,
sbin/routed/input.c
38
static int ck_passwd(struct interface *, struct rip *, void *,
sbin/routed/input.c
46
struct interface *sifp)
sbin/routed/input.c
49
struct interface *aifp;
sbin/routed/input.c
756
struct interface *ifp1;
sbin/routed/input.c
907
ck_passwd(struct interface *aifp,
sbin/routed/main.c
539
struct interface *ifp;
sbin/routed/main.c
651
struct interface *ifp;
sbin/routed/main.c
684
rip_mcast_on(struct interface *ifp)
sbin/routed/main.c
708
rip_on(struct interface *ifp)
sbin/routed/main.c
75
struct interface *rip_sock_mcast; /* current multicast interface */
sbin/routed/main.c
95
struct interface *ifp;
sbin/routed/output.c
208
find_auth(struct interface *ifp)
sbin/routed/output.c
46
struct interface *ifp; /* usually output interface */
sbin/routed/output.c
658
struct interface *ifp, /* output interface */
sbin/routed/output.c
806
struct interface *ifp;
sbin/routed/output.c
878
struct interface *ifp;
sbin/routed/output.c
90
struct interface *ifp,
sbin/routed/parms.c
161
struct interface *ifp;
sbin/routed/parms.c
311
ifp = (struct interface *)rtmalloc(sizeof(*ifp), "gwkludge()");
sbin/routed/parms.c
46
get_parms(struct interface *ifp)
sbin/routed/rdisc.c
102
struct interface *ifp,
sbin/routed/rdisc.c
159
set_rdisc_mg(struct interface *ifp,
sbin/routed/rdisc.c
246
struct interface *ifp;
sbin/routed/rdisc.c
354
if_bad_rdisc(struct interface *ifp)
sbin/routed/rdisc.c
374
if_ok_rdisc(struct interface *ifp)
sbin/routed/rdisc.c
392
struct interface *ifp;
sbin/routed/rdisc.c
444
struct interface *ifp;
sbin/routed/rdisc.c
561
struct interface *ifp)
sbin/routed/rdisc.c
68
struct interface *rdisc_sock_mcast; /* current multicast interface */
sbin/routed/rdisc.c
682
struct interface *ifp,
sbin/routed/rdisc.c
76
struct interface *dr_ifp;
sbin/routed/rdisc.c
774
send_adv(struct interface *ifp,
sbin/routed/rdisc.c
810
struct interface *ifp;
sbin/routed/rdisc.c
850
struct interface *ifp;
sbin/routed/rdisc.c
888
static struct interface * /* 0 if bad */
sbin/routed/rdisc.c
891
struct interface *ifp,
sbin/routed/rdisc.c
949
struct interface *ifp;
sbin/routed/table.c
1128
struct interface *ifp;
sbin/routed/table.c
1854
struct interface *ifp, *ifp1;
sbin/routed/table.c
1965
struct interface *ifp;
sbin/routed/table.c
2037
struct interface *ifp;
sbin/routed/table.c
807
struct interface *ifp)
sbin/routed/table.c
870
struct interface *ifp;
sbin/routed/table.c
994
struct interface *ifp;
sbin/routed/trace.c
610
struct interface *ifp)
sbin/routed/trace.c
831
struct interface *ifp;
sbin/routed/trace.c
847
struct interface *ifp,
stand/boot/efi/libefi/libefi.c
52
OpenProtocolByHandle(EFI_HANDLE handle, EFI_GUID *protocol, void **interface)
stand/boot/efi/libefi/libefi.c
54
return (BS->OpenProtocol(handle, protocol, interface, IH, NULL,
sys/bus/u4b/uvc/uvc_drv.c
2680
int interface = 0;
sys/bus/u4b/uvc/uvc_drv.c
2687
interface = uaa->info.bIfaceIndex;
sys/bus/u4b/uvc/uvc_drv.c
2696
if (interface == 2) {
tools/tools/usbtest/usb_control_ep_test.c
645
for (m = 0; m != config->interface[n].num_altsetting; m++) {
tools/tools/usbtest/usb_msc_test.c
971
iface = (pcfg->interface + x);
tools/tools/usbtest/usb_msc_test.c
983
iface = (pcfg->interface + x);
usr.bin/netstat/if.c
187
if (interface != 0 && (strcmp(name, interface) != 0))
usr.bin/netstat/if.c
529
if (interface && strcmp(name, interface) == 0) {
usr.bin/netstat/main.c
206
char *interface; /* desired i/f for stats, or NULL for all i/fs */
usr.bin/netstat/main.c
282
for (cp = interface = optarg; isalpha(*cp); cp++)
usr.bin/netstat/netstat.h
56
extern char *interface; /* desired i/f for stats, or NULL for all i/fs */
usr.sbin/installer/dfuibe_installer/flow.c
1424
char interface[256];
usr.sbin/installer/dfuibe_installer/flow.c
1468
strlcpy(interface, dfui_response_get_action_id(r), 256);
usr.sbin/installer/dfuibe_installer/flow.c
1483
a->os_root, cmd_name(a, "IFCONFIG"), interface);
usr.sbin/installer/dfuibe_installer/fn_configure.c
1000
show_ifconfig(a->c, interface);
usr.sbin/installer/dfuibe_installer/fn_configure.c
1007
"anyway?"), interface)) {
usr.sbin/installer/dfuibe_installer/fn_configure.c
1021
asprintf(&string, "ifconfig_%s", interface);
usr.sbin/installer/dfuibe_installer/fn_configure.c
1097
interface, interface_ip, interface_netmask);
usr.sbin/installer/dfuibe_installer/fn_configure.c
1105
show_ifconfig(a->c, interface);
usr.sbin/installer/dfuibe_installer/fn_configure.c
1128
asprintf(&string, "ifconfig_%s", interface);
usr.sbin/installer/dfuibe_installer/fn_configure.c
933
char interface[256];
usr.sbin/installer/dfuibe_installer/fn_configure.c
977
strlcpy(interface, dfui_response_get_action_id(r), 256);
usr.sbin/installer/dfuibe_installer/fn_configure.c
988
"Would you like to enable DHCP for %s?"), interface)) {
usr.sbin/installer/dfuibe_installer/fn_configure.c
997
interface);
usr.sbin/pfctl/parse.y
1037
scrubrule : scrubaction dir logquick interface af proto fromto scrub_opts
usr.sbin/pfctl/parse.y
1447
altqif : ALTQ interface queue_opts QUEUE qassign {
usr.sbin/pfctl/parse.y
1471
queuespec : QUEUE STRING interface queue_opts qassign {
usr.sbin/pfctl/parse.y
1897
pfrule : action dir logquick interface route af proto fromto
usr.sbin/pfctl/parse.y
2615
interface : /* empty */ { $$ = NULL; }
usr.sbin/pfctl/parse.y
372
struct node_if *interface;
usr.sbin/pfctl/parse.y
3904
natrule : nataction interface af proto fromto tag tagged rtable
usr.sbin/pfctl/parse.y
4063
binatrule : no BINAT natpasslog interface af proto FROM host toipspec tag
usr.sbin/pfctl/parse.y
460
%type <v.interface> interface if_list if_item_not if_item
usr.sbin/pfctl/parse.y
4816
LOOP_THROUGH(struct node_if, interface, interfaces,
usr.sbin/pfctl/parse.y
4818
if (strlcpy(pa.ifname, interface->ifname,
usr.sbin/pfctl/parse.y
4822
if (interface->not) {
usr.sbin/pfctl/parse.y
4854
if (strlcat(qname, interface->ifname,
usr.sbin/pfctl/parse.y
4860
if (strlcpy(pb.ifname, interface->ifname,
usr.sbin/pfctl/parse.y
4888
if (strlcpy(n->ifname, interface->ifname,
usr.sbin/pfctl/parse.y
492
%type <v.interface> antispoof_ifspc antispoof_iflst antispoof_if
usr.sbin/pfctl/parse.y
4930
LOOP_THROUGH(struct node_if, interface, interfaces,
usr.sbin/pfctl/parse.y
4933
(interface->ifname[0] == 0 ||
usr.sbin/pfctl/parse.y
4934
(!interface->not && !strncmp(interface->ifname,
usr.sbin/pfctl/parse.y
4936
(interface->not && strncmp(interface->ifname,
usr.sbin/pfctl/parse.y
5017
(found == 1 && interface->ifname[0] == 0) ||
usr.sbin/pfctl/parse.y
5018
(found > 0 && interface->ifname[0] != 0))) {
usr.sbin/pfctl/parse.y
5020
&bwspec, interface->ifname[0] != 0,
usr.sbin/pfctl/parse.y
5081
LOOP_THROUGH(struct node_if, interface, interfaces,
usr.sbin/pfctl/parse.y
5100
(src_host->ifindex && *interface->ifname &&
usr.sbin/pfctl/parse.y
5101
src_host->ifindex != if_nametoindex(interface->ifname)) ||
usr.sbin/pfctl/parse.y
5102
(dst_host->ifindex && *interface->ifname &&
usr.sbin/pfctl/parse.y
5103
dst_host->ifindex != if_nametoindex(interface->ifname)))
usr.sbin/pfctl/parse.y
5110
if (*interface->ifname)
usr.sbin/pfctl/parse.y
5111
strlcpy(r->ifname, interface->ifname,
usr.sbin/pfctl/parse.y
5140
r->ifnot = interface->not;
usr.sbin/pfctl/parse.y
5248
LOOP_THROUGH(struct node_if, interface, interfaces,
usr.sbin/pfctl/parse.y
5250
printf(" %s", interface->ifname);
usr.sbin/pfctl/parse.y
5251
if (interface->not) {
usr.sbin/pfctl/parse.y
5256
interface->ifname, PFI_IFLAG_SKIP, 1);
usr.sbin/pfctl/parse.y
683
| SET SKIP interface {
usr.sbin/pfctl/parse.y
774
anchorrule : ANCHOR anchorname dir quick interface af proto fromto
usr.sbin/pfctl/parse.y
897
| NATANCHOR string interface af proto fromto rtable {
usr.sbin/pfctl/parse.y
918
| RDRANCHOR string interface af proto fromto rtable {
usr.sbin/pfctl/parse.y
960
| BINATANCHOR string interface af proto fromto rtable {
usr.sbin/pflogd/pflogd.c
115
cur_snaplen, interface, filename);
usr.sbin/pflogd/pflogd.c
230
hpcap = pcap_open_live(interface, snaplen, 1, PCAP_TO_MS, errbuf);
usr.sbin/pflogd/pflogd.c
623
interface = optarg;
usr.sbin/pflogd/pflogd.c
650
if (!if_exists(__DECONST(char *, interface))) {
usr.sbin/pflogd/pflogd.c
651
warn("Failed to initialize: %s", interface);
usr.sbin/pflogd/pflogd.c
652
logmsg(LOG_ERR, "Failed to initialize: %s", interface);
usr.sbin/pflogd/pflogd.c
67
const char *interface = PFLOGD_DEFAULT_IF;
usr.sbin/pflogd/pflogd.c
723
if (!if_exists(__DECONST(char *, interface))) {
usr.sbin/pflogd/pflogd.c
725
interface);
usr.sbin/slstat/slstat.c
102
strncpy(interface, argv[optind], IFNAMSIZ);
usr.sbin/slstat/slstat.c
123
if (strncmp(interface, ifmd.ifmd_name, IFNAMSIZ) == 0
usr.sbin/slstat/slstat.c
129
errx(1, "interface %s does not exist", interface);
usr.sbin/slstat/slstat.c
58
char interface[IFNAMSIZ];
usr.sbin/slstat/slstat.c
93
sprintf(interface, INTERFACE_PREFIX, unit);
usr.sbin/slstat/slstat.c
98
sprintf(interface, INTERFACE_PREFIX, unit);
usr.sbin/usbconfig/dump.c
433
dump_iface(pdev, pcfg->interface + x);
usr.sbin/usbconfig/dump.c
435
for (y = 0; y != (pcfg->interface + x)->num_altsetting; y++) {
usr.sbin/usbconfig/dump.c
438
(pcfg->interface + x)->altsetting + y);