Symbol: interface
dist/pf/sbin/pfctl/parse.y
1293
altqif : ALTQ interface queue_opts QUEUE qassign {
dist/pf/sbin/pfctl/parse.y
1317
queuespec : QUEUE STRING interface queue_opts qassign {
dist/pf/sbin/pfctl/parse.y
1661
pfrule : action dir logquick interface route af proto fromto
dist/pf/sbin/pfctl/parse.y
2300
interface : /* empty */ { $$ = NULL; }
dist/pf/sbin/pfctl/parse.y
3499
natrule : nataction interface af proto fromto tag tagged rtable
dist/pf/sbin/pfctl/parse.y
350
struct node_if *interface;
dist/pf/sbin/pfctl/parse.y
3665
binatrule : no BINAT natpasslog interface af proto FROM host TO ipspec tag
dist/pf/sbin/pfctl/parse.y
428
%type <v.interface> interface if_list if_item_not if_item
dist/pf/sbin/pfctl/parse.y
4408
LOOP_THROUGH(struct node_if, interface, interfaces,
dist/pf/sbin/pfctl/parse.y
4410
if (strlcpy(pa.ifname, interface->ifname,
dist/pf/sbin/pfctl/parse.y
4414
if (interface->not) {
dist/pf/sbin/pfctl/parse.y
4446
if (strlcat(qname, interface->ifname,
dist/pf/sbin/pfctl/parse.y
4452
if (strlcpy(pb.ifname, interface->ifname,
dist/pf/sbin/pfctl/parse.y
4479
if (strlcpy(n->ifname, interface->ifname,
dist/pf/sbin/pfctl/parse.y
4521
LOOP_THROUGH(struct node_if, interface, interfaces,
dist/pf/sbin/pfctl/parse.y
4524
(interface->ifname[0] == 0 ||
dist/pf/sbin/pfctl/parse.y
4525
(!interface->not && !strncmp(interface->ifname,
dist/pf/sbin/pfctl/parse.y
4527
(interface->not && strncmp(interface->ifname,
dist/pf/sbin/pfctl/parse.y
457
%type <v.interface> antispoof_ifspc antispoof_iflst antispoof_if
dist/pf/sbin/pfctl/parse.y
4611
(found == 1 && interface->ifname[0] == 0) ||
dist/pf/sbin/pfctl/parse.y
4612
(found > 0 && interface->ifname[0] != 0))) {
dist/pf/sbin/pfctl/parse.y
4614
&bwspec, interface->ifname[0] != 0,
dist/pf/sbin/pfctl/parse.y
4676
LOOP_THROUGH(struct node_if, interface, interfaces,
dist/pf/sbin/pfctl/parse.y
4695
(src_host->ifindex && *interface->ifname &&
dist/pf/sbin/pfctl/parse.y
4696
src_host->ifindex != if_nametoindex(interface->ifname)) ||
dist/pf/sbin/pfctl/parse.y
4697
(dst_host->ifindex && *interface->ifname &&
dist/pf/sbin/pfctl/parse.y
4698
dst_host->ifindex != if_nametoindex(interface->ifname)))
dist/pf/sbin/pfctl/parse.y
4705
if (*interface->ifname)
dist/pf/sbin/pfctl/parse.y
4706
strlcpy(r->ifname, interface->ifname,
dist/pf/sbin/pfctl/parse.y
4735
r->ifnot = interface->not;
dist/pf/sbin/pfctl/parse.y
4843
LOOP_THROUGH(struct node_if, interface, interfaces,
dist/pf/sbin/pfctl/parse.y
4845
printf(" %s", interface->ifname);
dist/pf/sbin/pfctl/parse.y
4846
if (interface->not) {
dist/pf/sbin/pfctl/parse.y
4851
interface->ifname, PFI_IFLAG_SKIP, 1);
dist/pf/sbin/pfctl/parse.y
625
| SET SKIP interface {
dist/pf/sbin/pfctl/parse.y
692
anchorrule : ANCHOR anchorname dir quick interface af proto fromto
dist/pf/sbin/pfctl/parse.y
765
| NATANCHOR string interface af proto fromto rtable {
dist/pf/sbin/pfctl/parse.y
786
| RDRANCHOR string interface af proto fromto rtable {
dist/pf/sbin/pfctl/parse.y
828
| BINATANCHOR string interface af proto fromto rtable {
dist/pf/sbin/pfctl/parse.y
905
scrubrule : scrubaction dir logquick interface af proto fromto scrub_opts
dist/pf/sbin/pflogd/pflogd.c
134
cur_snaplen, interface, filename);
dist/pf/sbin/pflogd/pflogd.c
250
hpcap = pcap_open_live(interface, snaplen, 1, PCAP_TO_MS, errbuf);
dist/pf/sbin/pflogd/pflogd.c
649
interface = optarg;
dist/pf/sbin/pflogd/pflogd.c
676
if (!if_exists(interface)) {
dist/pf/sbin/pflogd/pflogd.c
677
warn("Failed to initialize: %s", interface);
dist/pf/sbin/pflogd/pflogd.c
678
logmsg(LOG_ERR, "Failed to initialize: %s", interface);
dist/pf/sbin/pflogd/pflogd.c
73
const char *interface = PFLOGD_DEFAULT_IF;
dist/pf/sbin/pflogd/pflogd.c
747
if (!if_exists(interface)) {
dist/pf/sbin/pflogd/pflogd.c
749
interface);
sbin/routed/defs.h
206
struct interface *rts_ifp;
sbin/routed/defs.h
270
struct interface *int_next, **int_prev;
sbin/routed/defs.h
271
struct interface *int_ahash, **int_ahash_prev;
sbin/routed/defs.h
272
struct interface *int_bhash, **int_bhash_prev;
sbin/routed/defs.h
273
struct interface *int_rlink, **int_rlink_prev;
sbin/routed/defs.h
274
struct interface *int_nhash, **int_nhash_prev;
sbin/routed/defs.h
456
extern struct interface *rip_sock_mcast; /* current multicast interface */
sbin/routed/defs.h
488
extern struct interface *ifnet; /* all interfaces */
sbin/routed/defs.h
489
extern struct interface *remote_if; /* remote interfaces */
sbin/routed/defs.h
510
extern void rip_on(struct interface *);
sbin/routed/defs.h
514
struct interface *, struct rip *, int);
sbin/routed/defs.h
518
extern void supply(struct sockaddr_in *, struct interface *,
sbin/routed/defs.h
551
extern void get_parms(struct interface *);
sbin/routed/defs.h
566
extern void trace_if(const char *, struct interface *);
sbin/routed/defs.h
570
struct interface *, struct rip *, int);
sbin/routed/defs.h
575
extern void set_rdisc_mg(struct interface *, int);
sbin/routed/defs.h
577
extern void if_bad_rdisc(struct interface *);
sbin/routed/defs.h
578
extern void if_ok_rdisc(struct interface *);
sbin/routed/defs.h
579
extern void read_rip(int, struct interface *);
sbin/routed/defs.h
622
extern naddr ripv1_mask_net(naddr, struct interface *);
sbin/routed/defs.h
623
extern naddr ripv1_mask_host(naddr,struct interface *);
sbin/routed/defs.h
627
extern struct interface *check_dup(naddr, naddr, naddr, int);
sbin/routed/defs.h
628
extern int check_remote(struct interface *);
sbin/routed/defs.h
629
extern int addrouteforif(struct interface *);
sbin/routed/defs.h
632
extern int if_ok(struct interface *, const char *);
sbin/routed/defs.h
633
extern void if_sick(struct interface *);
sbin/routed/defs.h
634
extern void if_bad(struct interface *);
sbin/routed/defs.h
635
extern void if_link(struct interface *);
sbin/routed/defs.h
636
extern struct interface *ifwithaddr(naddr, int, int);
sbin/routed/defs.h
637
extern struct interface *ifwithname(char *, naddr);
sbin/routed/defs.h
638
extern struct interface *ifwithindex(u_short, int);
sbin/routed/defs.h
639
extern struct interface *iflookup(naddr);
sbin/routed/defs.h
641
extern struct auth *find_auth(struct interface *);
sbin/routed/if.c
104
if_link(struct interface *ifp)
sbin/routed/if.c
106
struct interface **hifp;
sbin/routed/if.c
1120
ifp = (struct interface *)rtmalloc(sizeof(*ifp), "ifinit ifp");
sbin/routed/if.c
1300
check_net_syn(struct interface *ifp)
sbin/routed/if.c
1347
addrouteforif(struct interface *ifp)
sbin/routed/if.c
151
struct interface *
sbin/routed/if.c
156
struct interface *ifp, *possible = 0;
sbin/routed/if.c
189
struct interface *
sbin/routed/if.c
193
struct interface *ifp;
sbin/routed/if.c
217
struct interface *
sbin/routed/if.c
221
struct interface *ifp;
sbin/routed/if.c
244
struct interface *
sbin/routed/if.c
247
struct interface *ifp, *maybe;
sbin/routed/if.c
307
struct interface *ifp) /* as seen on this interface */
sbin/routed/if.c
358
struct interface *ifp) /* as seen on this interface */
sbin/routed/if.c
393
struct interface *
sbin/routed/if.c
399
struct interface *ifp;
sbin/routed/if.c
427
check_remote(struct interface *ifp)
sbin/routed/if.c
457
ifdel(struct interface *ifp)
sbin/routed/if.c
460
struct interface *ifp1;
sbin/routed/if.c
48
struct interface *ifnet; /* all interfaces */
sbin/routed/if.c
547
if_sick(struct interface *ifp)
sbin/routed/if.c
562
if_bad(struct interface *ifp)
sbin/routed/if.c
564
struct interface *ifp1;
sbin/routed/if.c
57
struct interface *ahash_tbl[AHASH_LEN];
sbin/routed/if.c
594
if_ok(struct interface *ifp,
sbin/routed/if.c
597
struct interface *ifp1;
sbin/routed/if.c
61
struct interface *bhash_tbl[BHASH_LEN];
sbin/routed/if.c
63
struct interface *remote_if; /* remote interfaces */
sbin/routed/if.c
696
struct interface ifs, ifs0, *ifp, *ifp1;
sbin/routed/if.c
70
struct interface *nhash_tbl[NHASH_LEN];
sbin/routed/if.c
88
static struct interface**
sbin/routed/input.c
140
struct interface *sifp, /* interface of incoming socket */
sbin/routed/input.c
141
struct interface *aifp, /* "authenticated" interface */
sbin/routed/input.c
152
struct interface *ifp1;
sbin/routed/input.c
47
static void input(struct sockaddr_in *, struct interface *, struct interface *,
sbin/routed/input.c
50
static int ck_passwd(struct interface *, struct rip *, void *,
sbin/routed/input.c
58
struct interface *sifp)
sbin/routed/input.c
61
struct interface *aifp;
sbin/routed/input.c
786
struct interface *ifp1;
sbin/routed/input.c
937
ck_passwd(struct interface *aifp,
sbin/routed/main.c
112
struct interface *ifp;
sbin/routed/main.c
565
struct interface *ifp;
sbin/routed/main.c
687
struct interface *ifp;
sbin/routed/main.c
720
rip_mcast_on(struct interface *ifp)
sbin/routed/main.c
748
rip_on(struct interface *ifp)
sbin/routed/main.c
92
struct interface *rip_sock_mcast; /* current multicast interface */
sbin/routed/output.c
103
struct interface *ifp,
sbin/routed/output.c
229
find_auth(struct interface *ifp)
sbin/routed/output.c
59
struct interface *ifp; /* usually output interface */
sbin/routed/output.c
685
struct interface *ifp, /* output interface */
sbin/routed/output.c
837
struct interface *ifp;
sbin/routed/output.c
920
struct interface *ifp;
sbin/routed/parms.c
176
struct interface *ifp;
sbin/routed/parms.c
326
ifp = (struct interface *)rtmalloc(sizeof(*ifp), "gwkludge()");
sbin/routed/parms.c
59
get_parms(struct interface *ifp)
sbin/routed/rdisc.c
116
struct interface *ifp,
sbin/routed/rdisc.c
173
set_rdisc_mg(struct interface *ifp,
sbin/routed/rdisc.c
264
struct interface *ifp;
sbin/routed/rdisc.c
372
if_bad_rdisc(struct interface *ifp)
sbin/routed/rdisc.c
392
if_ok_rdisc(struct interface *ifp)
sbin/routed/rdisc.c
410
struct interface *ifp;
sbin/routed/rdisc.c
462
struct interface *ifp;
sbin/routed/rdisc.c
579
struct interface *ifp)
sbin/routed/rdisc.c
700
struct interface *ifp,
sbin/routed/rdisc.c
799
send_adv(struct interface *ifp,
sbin/routed/rdisc.c
80
struct interface *rdisc_sock_mcast; /* current multicast interface */
sbin/routed/rdisc.c
835
struct interface *ifp;
sbin/routed/rdisc.c
875
struct interface *ifp;
sbin/routed/rdisc.c
88
struct interface *dr_ifp;
sbin/routed/rdisc.c
913
static struct interface * /* 0 if bad */
sbin/routed/rdisc.c
916
struct interface *ifp,
sbin/routed/rdisc.c
974
struct interface *ifp;
sbin/routed/table.c
1019
struct interface *ifp;
sbin/routed/table.c
1161
struct interface *ifp;
sbin/routed/table.c
1926
struct interface *ifp, *ifp1;
sbin/routed/table.c
2042
struct interface *ifp;
sbin/routed/table.c
2114
struct interface *ifp;
sbin/routed/table.c
830
struct interface *ifp)
sbin/routed/table.c
893
struct interface *ifp;
sbin/routed/trace.c
639
struct interface *ifp)
sbin/routed/trace.c
874
struct interface *ifp;
sbin/routed/trace.c
890
struct interface *ifp,
sys/arch/arm/imx/imxusb.c
223
imxehci_select_interface(struct imxehci_softc *sc, enum imx_usb_if interface)
sys/arch/arm/imx/imxusb.c
230
switch (interface) {
sys/arch/arm/xilinx/zynq_usb.c
190
zynqusb_select_interface(struct zynqehci_softc *sc, enum zynq_usb_if interface)
sys/arch/arm/xilinx/zynq_usb.c
197
switch (interface) {
sys/arch/i386/pci/gcscide.c
156
pcireg_t interface;
sys/arch/i386/pci/gcscide.c
179
interface = PCI_INTERFACE(pa->pa_class);
sys/arch/i386/pci/gcscide.c
183
if (pciide_chansetup(sc, 0, interface) == 0)
sys/arch/i386/pci/gcscide.c
186
pciide_mapchan(pa, &sc->pciide_channels[0], interface,
sys/arch/prep/pnpbus/pnpbus.c
359
pna->interface = id->Interface;
sys/arch/prep/pnpbus/pnpbusvar.h
107
uint8_t interface; /* PNP interface */
sys/arch/x68k/stand/loadbsd/loadbsd.c
173
unsigned interface = 0, unit_if = 0;
sys/arch/x68k/stand/loadbsd/loadbsd.c
185
if (!(s = lookupif(s, &interface, &unit_if)))
sys/arch/x68k/stand/loadbsd/loadbsd.c
192
interface = 0;
sys/arch/x68k/stand/loadbsd/loadbsd.c
263
if (interface == 0)
sys/arch/x68k/stand/loadbsd/loadbsd.c
264
get_current_scsi_interface(&interface, &unit_if);
sys/arch/x68k/stand/loadbsd/loadbsd.c
266
dev = X68K_MAKESCSIBOOTDEV(major, interface, unit_if,
sys/arch/x68k/stand/loadbsd/loadbsd.c
275
devstr, major, interface, unit_if, unit, lun, partition, dev);
sys/dev/acpi/smbus_acpi.c
94
uint16_t interface;
sys/dev/nand/nand.c
295
nand_init_interface(struct nand_interface *interface)
sys/dev/nand/nand.c
297
interface->select = &nand_default_select;
sys/dev/nand/nand.c
298
interface->command = NULL;
sys/dev/nand/nand.c
299
interface->address = NULL;
sys/dev/nand/nand.c
300
interface->read_buf_1 = NULL;
sys/dev/nand/nand.c
301
interface->read_buf_2 = NULL;
sys/dev/nand/nand.c
302
interface->read_1 = NULL;
sys/dev/nand/nand.c
303
interface->read_2 = NULL;
sys/dev/nand/nand.c
304
interface->write_buf_1 = NULL;
sys/dev/nand/nand.c
305
interface->write_buf_2 = NULL;
sys/dev/nand/nand.c
306
interface->write_1 = NULL;
sys/dev/nand/nand.c
307
interface->write_2 = NULL;
sys/dev/nand/nand.c
308
interface->busy = NULL;
sys/dev/nand/nand.c
314
interface->program_page = &nand_default_program_page;
sys/dev/nand/nand.c
315
interface->read_page = &nand_default_read_page;
sys/dev/nand/nand.c
318
interface->ecc_compute = &nand_default_ecc_compute;
sys/dev/nand/nand.c
319
interface->ecc_correct = &nand_default_ecc_correct;
sys/dev/nand/nand.c
320
interface->ecc_prepare = NULL;
sys/dev/nand/nand.c
321
interface->ecc.necc_code_size = 3;
sys/dev/nand/nand.c
322
interface->ecc.necc_block_size = 256;
sys/dev/nand/nand.c
323
interface->ecc.necc_type = NAND_ECC_TYPE_SW;
sys/dev/pci/acardide.c
117
pcireg_t interface;
sys/dev/pci/acardide.c
127
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/acardide.c
129
interface = PCIIDE_INTERFACE_BUS_MASTER_DMA |
sys/dev/pci/acardide.c
168
if (pciide_chansetup(sc, i, interface) == 0)
sys/dev/pci/acardide.c
170
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/aceride.c
116
pcireg_t cr, interface;
sys/dev/pci/aceride.c
187
interface = PCI_INTERFACE(pci_conf_read(sc->sc_pc, sc->sc_tag,
sys/dev/pci/aceride.c
215
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/aceride.c
217
if ((interface & PCIIDE_CHAN_EN(channel)) == 0) {
sys/dev/pci/aceride.c
224
pciide_mapchan(pa, cp, interface,
sys/dev/pci/artsata.c
228
pcireg_t interface)
sys/dev/pci/artsata.c
316
pcireg_t interface;
sys/dev/pci/artsata.c
319
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/artsata.c
373
if (artisea_chansetup(sc, channel, interface) == 0)
sys/dev/pci/artsata.c
384
pcireg_t interface;
sys/dev/pci/artsata.c
390
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/artsata.c
392
if (interface == 0) {
sys/dev/pci/artsata.c
431
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/artsata.c
433
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/cmdide.c
134
int interface;
sys/dev/pci/cmdide.c
142
interface = PCIIDE_INTERFACE_SETTABLE(0) |
sys/dev/pci/cmdide.c
146
interface |= PCIIDE_INTERFACE_PCI(0) |
sys/dev/pci/cmdide.c
149
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/cmdide.c
166
(interface & PCIIDE_INTERFACE_SETTABLE(channel)) ?
sys/dev/pci/cmdide.c
168
(interface & PCIIDE_INTERFACE_PCI(channel)) ?
sys/dev/pci/cmdide.c
184
pciide_mapchan(pa, cp, interface, cmd_pci_intr);
sys/dev/pci/cmdide.c
530
int interface, i, reg;
sys/dev/pci/cmdide.c
536
interface = PCIIDE_INTERFACE_SETTABLE(0) |
sys/dev/pci/cmdide.c
538
interface |= PCIIDE_INTERFACE_PCI(0) |
sys/dev/pci/cmdide.c
541
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/cmdide.c
556
(interface & PCIIDE_INTERFACE_SETTABLE(channel)) ?
sys/dev/pci/cmdide.c
558
(interface & PCIIDE_INTERFACE_PCI(channel)) ?
sys/dev/pci/cmdide.c
561
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/cypide.c
113
if (interface & PCIIDE_INTERFACE_BUS_MASTER_DMA) {
sys/dev/pci/cypide.c
154
(interface & PCIIDE_INTERFACE_SETTABLE(0)) ?
sys/dev/pci/cypide.c
156
if (interface & PCIIDE_INTERFACE_PCI(0)) {
sys/dev/pci/cypide.c
94
pcireg_t interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/hptide.c
112
pcireg_t interface;
sys/dev/pci/hptide.c
158
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/hptide.c
160
interface = PCIIDE_INTERFACE_BUS_MASTER_DMA |
sys/dev/pci/hptide.c
169
interface |= PCIIDE_INTERFACE_PCI(1);
sys/dev/pci/hptide.c
238
if (pciide_chansetup(sc, i, interface) == 0)
sys/dev/pci/hptide.c
240
if (interface & PCIIDE_INTERFACE_PCI(i)) {
sys/dev/pci/iteide.c
101
pcireg_t interface;
sys/dev/pci/iteide.c
105
interface = PCIIDE_INTERFACE_BUS_MASTER_DMA |
sys/dev/pci/iteide.c
149
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/iteide.c
152
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/ixpide.c
102
pcireg_t interface;
sys/dev/pci/ixpide.c
126
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/ixpide.c
133
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/ixpide.c
135
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/jmide.c
311
pcireg_t interface;
sys/dev/pci/jmide.c
335
interface = PCIIDE_INTERFACE_PCI(0) | PCIIDE_INTERFACE_PCI(1);
sys/dev/pci/jmide.c
339
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/jmide.c
362
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/nside.c
129
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/nside.c
130
interface &= ~PCIIDE_CHANSTATUS_EN; /* Reserved on PC87415 */
sys/dev/pci/nside.c
134
if (interface & (PCIIDE_INTERFACE_PCI(0) | PCIIDE_INTERFACE_PCI(1)))
sys/dev/pci/nside.c
144
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/nside.c
147
pciide_mapchan(pa, cp, interface, natsemi_pci_intr);
sys/dev/pci/nside.c
95
pcireg_t interface, ctl;
sys/dev/pci/optiide.c
107
pcireg_t interface;
sys/dev/pci/optiide.c
149
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/optiide.c
156
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/optiide.c
165
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/pci_subr.c
713
pci_interface_t interface;
sys/dev/pci/pci_subr.c
720
interface = PCI_INTERFACE(class_reg);
sys/dev/pci/pci_subr.c
744
if (interface == interfacep->val)
sys/dev/pci/pci_subr.c
766
if (interface != 0)
sys/dev/pci/pci_subr.c
768
interface);
sys/dev/pci/pci_subr.c
829
pci_interface_t interface;
sys/dev/pci/pci_subr.c
840
interface = PCI_INTERFACE(rval);
sys/dev/pci/pci_subr.c
943
if (interface == interfacep->val)
sys/dev/pci/pci_subr.c
960
interfacep->name, interface);
sys/dev/pci/pci_subr.c
962
printf(" Interface: 0x%02x\n", interface);
sys/dev/pci/pciide_common.c
1044
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/pciide_common.c
1047
if (interface & PCIIDE_INTERFACE_PCI(channel))
sys/dev/pci/pciide_common.c
1063
if (interface & PCIIDE_INTERFACE_PCI(channel)) {
sys/dev/pci/pciide_common.c
908
pciide_chansetup(struct pciide_softc *sc, int channel, pcireg_t interface)
sys/dev/pci/pciide_common.c
918
(interface & PCIIDE_INTERFACE_SETTABLE(channel)) ?
sys/dev/pci/pciide_common.c
920
(interface & PCIIDE_INTERFACE_PCI(channel)) ?
sys/dev/pci/pciide_common.c
928
pcireg_t interface, int (*pci_intr)(void *))
sys/dev/pci/pciide_common.c
932
if (interface & PCIIDE_INTERFACE_PCI(wdc_cp->ch_channel))
sys/dev/pci/pciide_common.c
982
pcireg_t interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/pciide_common.c
995
if (interface & PCIIDE_INTERFACE_BUS_MASTER_DMA) {
sys/dev/pci/pcireg.h
157
#define PCI_CLASS_CODE(mainclass, subclass, interface) \
sys/dev/pci/pcireg.h
160
(((interface) & PCI_INTERFACE_MASK) << PCI_INTERFACE_SHIFT))
sys/dev/pci/pdcide.c
184
pcireg_t interface, st, mode;
sys/dev/pci/pdcide.c
206
interface = PCIIDE_INTERFACE_SETTABLE(0) | PCIIDE_INTERFACE_SETTABLE(1);
sys/dev/pci/pdcide.c
208
interface |= PCIIDE_INTERFACE_PCI(0) | PCIIDE_INTERFACE_PCI(1);
sys/dev/pci/pdcide.c
308
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/pdcide.c
317
pciide_mapchan(pa, cp, interface,
sys/dev/pci/piixide.c
432
pcireg_t interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/piixide.c
534
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/piixide.c
545
pcireg_t interface;
sys/dev/pci/piixide.c
551
interface = PCI_INTERFACE(pci_conf_read(sc->sc_pc,
sys/dev/pci/piixide.c
554
channel, idetim, interface);
sys/dev/pci/piixide.c
557
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/piixide.c
927
pcireg_t interface, cmdsts;
sys/dev/pci/piixide.c
962
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/piixide.c
969
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/piixide.c
971
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/rccide.c
116
pcireg_t interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/rccide.c
162
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/rccide.c
167
pciide_mapchan(pa, cp, interface,
sys/dev/pci/rccide.c
171
pciide_mapchan(pa, cp, interface,
sys/dev/pci/rdcide.c
131
pcireg_t interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/rdcide.c
173
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/rdcide.c
182
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/satalink.c
423
pcireg_t interface, scs_cmd, cfgctl;
sys/dev/pci/satalink.c
526
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/satalink.c
528
interface = PCIIDE_INTERFACE_BUS_MASTER_DMA |
sys/dev/pci/satalink.c
535
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/satalink.c
537
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/schide.c
121
pcireg_t interface;
sys/dev/pci/schide.c
151
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/schide.c
158
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/schide.c
160
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/siside.c
228
pcireg_t interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/siside.c
326
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/siside.c
335
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/siside.c
515
pcireg_t interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/siside.c
521
if (interface == 0) {
sys/dev/pci/siside.c
524
interface = PCIIDE_INTERFACE_BUS_MASTER_DMA |
sys/dev/pci/siside.c
556
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/siside.c
558
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/slide.c
132
pcireg_t interface, idecr;
sys/dev/pci/slide.c
167
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/slide.c
174
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/slide.c
183
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/stpcide.c
119
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/stpcide.c
121
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/stpcide.c
92
pcireg_t interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/svwsata.c
110
pcireg_t interface;
sys/dev/pci/svwsata.c
179
interface = PCIIDE_INTERFACE_BUS_MASTER_DMA |
sys/dev/pci/svwsata.c
186
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/toshide.c
118
pcireg_t interface;
sys/dev/pci/toshide.c
151
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/toshide.c
158
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/toshide.c
161
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/viaide.c
1067
pcireg_t interface;
sys/dev/pci/viaide.c
1070
interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/viaide.c
1075
if (interface == 0) {
sys/dev/pci/viaide.c
1078
interface = PCIIDE_INTERFACE_BUS_MASTER_DMA |
sys/dev/pci/viaide.c
1087
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/viaide.c
1117
pciide_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/viaide.c
495
pcireg_t interface = PCI_INTERFACE(pa->pa_class);
sys/dev/pci/viaide.c
716
if (interface == 0) {
sys/dev/pci/viaide.c
719
interface = PCIIDE_INTERFACE_BUS_MASTER_DMA |
sys/dev/pci/viaide.c
757
if (pciide_chansetup(sc, channel, interface) == 0)
sys/dev/pci/viaide.c
766
via_mapchan(pa, cp, interface, pciide_pci_intr);
sys/dev/pci/viaide.c
772
pcireg_t interface, int (*pci_intr)(void *))
sys/dev/pci/viaide.c
780
if (interface & PCIIDE_INTERFACE_PCI(wdc_cp->ch_channel)) {
sys/dev/sdmmc/sdmmc.c
479
saa.interface = sf->interface;
sys/dev/sdmmc/sdmmc.c
549
sa->interface != SD_IO_SFIC_NO_STANDARD) {
sys/dev/sdmmc/sdmmc.c
552
x += !!(sa->interface != SD_IO_SFIC_NO_STANDARD);
sys/dev/sdmmc/sdmmc.c
560
if (sa->interface != SD_IO_SFIC_NO_STANDARD)
sys/dev/sdmmc/sdmmc.c
562
sf->interface);
sys/dev/sdmmc/sdmmc_io.c
254
sf->interface = FBR_STD_FUNC_IF_CODE(reg);
sys/dev/sdmmc/sdmmc_io.c
255
if (sf->interface == 0x0f)
sys/dev/sdmmc/sdmmc_io.c
256
sf->interface =
sys/dev/sdmmc/sdmmcvar.h
202
int interface; /* SD/MMC:0, SDIO:standard interface */
sys/dev/sdmmc/sdmmcvar.h
323
int interface;
sys/kern/sys_aio.c
193
aio_fini(bool interface)
sys/kern/sys_aio.c
198
if (interface) {
sys/kern/sys_mqueue.c
159
mqueue_sysfini(bool interface)
sys/kern/sys_mqueue.c
162
if (interface) {
sys/kern/uipc_sem.c
244
ksem_sysfini(bool interface)
sys/kern/uipc_sem.c
248
if (interface) {
sys/net/if_stats.c
46
SDT_PROBE_DEFINE3(sdt, net, interface, stat,
sys/net/if_stats.h
103
SDT_PROBE3(sdt, net, interface, stat, ifp, x, v);
sys/net/if_stats.h
111
SDT_PROBE3(sdt, net, interface, stat, ifp, x1, v1);
sys/net/if_stats.h
112
SDT_PROBE3(sdt, net, interface, stat, ifp, x2, v2);
sys/net/if_stats.h
121
SDT_PROBE3(sdt, net, interface, stat, ifp, x, -v);
sys/net/if_stats.h
128
SDT_PROBE3(sdt, net, interface, stat, ifp, x, -v);
sys/net/if_stats.h
60
SDT_PROBE_DECLARE(sdt, net, interface, stat);
sys/net/if_stats.h
68
SDT_PROBE3(sdt, net, interface, stat, ifp, x, +1);
sys/net/if_stats.h
75
SDT_PROBE3(sdt, net, interface, stat, ifp, x, +1);
sys/net/if_stats.h
82
SDT_PROBE3(sdt, net, interface, stat, ifp, x, -1);
sys/net/if_stats.h
89
SDT_PROBE3(sdt, net, interface, stat, ifp, x, -1);
sys/net/if_stats.h
96
SDT_PROBE3(sdt, net, interface, stat, ifp, x, v);
usr.bin/netstat/if.c
1174
if ((interface != NULL && !strcmp(name, interface)) ||
usr.bin/netstat/if.c
1175
(interface == NULL &&
usr.bin/netstat/if.c
1209
if (interface == NULL)
usr.bin/netstat/if.c
1210
interface = ip_cur.ift_name;
usr.bin/netstat/if.c
254
if (interface != NULL && strcmp(name, interface) != 0)
usr.bin/netstat/if.c
289
if (interface != NULL && strcmp(name, interface) != 0)
usr.bin/netstat/if.c
380
if (interface != NULL && strcmp(name, interface) != 0)
usr.bin/netstat/if.c
788
getprogname(), interface);
usr.bin/netstat/if.c
868
interesting = (interface == NULL) ? iftot : NULL;
usr.bin/netstat/if.c
874
if (interface && strcmp(ifnet.if_xname, interface) == 0)
usr.bin/netstat/if.c
883
getprogname(), interface);
usr.bin/netstat/main.c
462
interface = optarg;
usr.bin/netstat/main.c
565
nsbpf_dump(interface);
usr.bin/netstat/main.c
96
char *interface;
usr.bin/netstat/netstat.h
63
extern char *interface; /* desired i/f for stats, or NULL for all i/fs */
usr.bin/rump_dhcpclient/bpf.c
137
send_raw_packet(const struct interface *iface, int protocol,
usr.bin/rump_dhcpclient/bpf.c
161
get_raw_packet(struct interface *iface, int protocol,
usr.bin/rump_dhcpclient/bpf.c
53
open_socket(struct interface *iface, int protocol)
usr.bin/rump_dhcpclient/configure.c
126
n_route(struct rt *rt, const struct interface *iface)
usr.bin/rump_dhcpclient/configure.c
151
c_route(struct rt *ort, struct rt *nrt, const struct interface *iface)
usr.bin/rump_dhcpclient/configure.c
173
d_route(struct rt *rt, const struct interface *iface, int metric)
usr.bin/rump_dhcpclient/configure.c
207
add_subnet_route(struct rt *rt, const struct interface *iface)
usr.bin/rump_dhcpclient/configure.c
227
get_routes(const struct interface *iface)
usr.bin/rump_dhcpclient/configure.c
258
massage_host_routes(struct rt *rt, const struct interface *iface)
usr.bin/rump_dhcpclient/configure.c
270
add_destination_route(struct rt *rt, const struct interface *iface)
usr.bin/rump_dhcpclient/configure.c
288
add_router_host_route(struct rt *rt, const struct interface *ifp)
usr.bin/rump_dhcpclient/configure.c
341
const struct interface *ifp;
usr.bin/rump_dhcpclient/configure.c
394
delete_address(struct interface *iface)
usr.bin/rump_dhcpclient/configure.c
416
configure(struct interface *iface)
usr.bin/rump_dhcpclient/configure.h
33
int send_interface(int, const struct interface *);
usr.bin/rump_dhcpclient/configure.h
34
int run_script(const struct interface *);
usr.bin/rump_dhcpclient/configure.h
36
int configure(struct interface *);
usr.bin/rump_dhcpclient/dhcp.c
534
const struct interface *iface,
usr.bin/rump_dhcpclient/dhcp.h
193
ssize_t make_message(struct dhcp_message **, const struct interface *,
usr.bin/rump_dhcpclient/dhcp.h
197
ssize_t write_lease(const struct interface *, const struct dhcp_message *);
usr.bin/rump_dhcpclient/dhcp.h
198
struct dhcp_message *read_lease(const struct interface *);
usr.bin/rump_dhcpclient/dhcpcd.h
111
struct interface *next;
usr.bin/rump_dhcpclient/dhcpcd.h
120
extern struct interface *ifaces;
usr.bin/rump_dhcpclient/if-bsd.c
135
if_address(const struct interface *iface, const struct in_addr *address,
usr.bin/rump_dhcpclient/if-bsd.c
172
if_route(const struct interface *iface, const struct in_addr *dest,
usr.bin/rump_dhcpclient/if-bsd.c
73
if_init(_unused struct interface *iface)
usr.bin/rump_dhcpclient/if-bsd.c
80
if_conf(_unused struct interface *iface)
usr.bin/rump_dhcpclient/main.c
109
send_request(struct interface *ifp)
usr.bin/rump_dhcpclient/main.c
127
get_network(struct interface *ifp, uint8_t **rawp,
usr.bin/rump_dhcpclient/main.c
187
get_offer(struct interface *ifp)
usr.bin/rump_dhcpclient/main.c
213
get_ack(struct interface *ifp)
usr.bin/rump_dhcpclient/main.c
231
struct interface *ifp;
usr.bin/rump_dhcpclient/main.c
49
struct interface *ifaces;
usr.bin/rump_dhcpclient/main.c
60
get_hwaddr(struct interface *ifp)
usr.bin/rump_dhcpclient/main.c
93
send_discover(struct interface *ifp)
usr.bin/rump_dhcpclient/net.c
183
struct interface *
usr.bin/rump_dhcpclient/net.c
187
struct interface *iface = NULL;
usr.bin/rump_dhcpclient/net.c
229
carrier_status(struct interface *iface)
usr.bin/rump_dhcpclient/net.c
266
up_interface(struct interface *iface)
usr.bin/rump_dhcpclient/net.h
106
int up_interface(struct interface *);
usr.bin/rump_dhcpclient/net.h
107
int if_conf(struct interface *);
usr.bin/rump_dhcpclient/net.h
108
int if_init(struct interface *);
usr.bin/rump_dhcpclient/net.h
112
int if_address(const struct interface *,
usr.bin/rump_dhcpclient/net.h
124
int if_route(const struct interface *, const struct in_addr *,
usr.bin/rump_dhcpclient/net.h
136
int open_udp_socket(struct interface *);
usr.bin/rump_dhcpclient/net.h
143
int open_socket(struct interface *, int);
usr.bin/rump_dhcpclient/net.h
144
ssize_t send_packet(const struct interface *, struct in_addr,
usr.bin/rump_dhcpclient/net.h
146
ssize_t send_raw_packet(const struct interface *, int,
usr.bin/rump_dhcpclient/net.h
148
ssize_t get_raw_packet(struct interface *, int, void *, ssize_t);
usr.bin/rump_dhcpclient/net.h
153
int carrier_status(struct interface *);
usr.bin/rump_dhcpclient/net.h
155
int get_hwaddr(struct interface *);
usr.bin/rump_dhcpclient/net.h
85
const struct interface *iface;
usr.bin/rump_dhcpclient/net.h
96
struct interface *init_interface(const char *);
usr.bin/rump_dhcpclient/net.h
97
struct interface *discover_interfaces(int, char * const *);
usr.bin/rump_dhcpclient/net.h
98
void free_interface(struct interface *);
usr.sbin/altq/altqstat/altqstat.c
104
interface = input;
usr.sbin/altq/altqstat/altqstat.c
115
interface = optarg;
usr.sbin/altq/altqstat/altqstat.c
142
if (quip_openserver() < 0 && interface == NULL)
usr.sbin/altq/altqstat/altqstat.c
160
interface = quip_selectinterface(interface);
usr.sbin/altq/altqstat/altqstat.c
161
if (interface == NULL)
usr.sbin/altq/altqstat/altqstat.c
164
qtype = ifname2qdisc(interface, qname);
usr.sbin/altq/altqstat/altqstat.c
166
errx(1, "altq is not attached on %s!", interface);
usr.sbin/altq/altqstat/altqstat.c
175
argv[0], qdisc_name, interface);
usr.sbin/altq/altqstat/altqstat.c
187
(*stat_loop)(qdiscfd, interface, count, (int)ival);
usr.sbin/altq/altqstat/altqstat.c
53
char *interface = NULL;
usr.sbin/altq/altqstat/quip_client.c
309
static char interface[64];
usr.sbin/altq/altqstat/quip_client.c
323
if (sscanf(cp, "%x %63s", &if_index, interface) != 2)
usr.sbin/altq/altqstat/quip_client.c
327
return (interface);
usr.sbin/altq/altqstat/quip_client.c
329
if (strcmp(ifname, interface) == 0)
usr.sbin/altq/altqstat/quip_client.c
331
return (interface);
usr.sbin/cnwctl/cnwctl.c
123
strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name));
usr.sbin/cnwctl/cnwctl.c
131
strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name));
usr.sbin/cnwctl/cnwctl.c
142
strncpy(cnws.ifr.ifr_name, interface,
usr.sbin/cnwctl/cnwctl.c
150
strncpy(cnwis.ifr.ifr_name, interface,
usr.sbin/cnwctl/cnwctl.c
163
strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name));
usr.sbin/cnwctl/cnwctl.c
166
printf("%s:\n 0x%03x domain\n", interface, ifr.ifr_domain);
usr.sbin/cnwctl/cnwctl.c
63
const char *interface;
usr.sbin/cnwctl/cnwctl.c
74
interface = "cnw0";
usr.sbin/cnwctl/cnwctl.c
84
interface = optarg;
usr.sbin/map-mbone/mapper.c
63
struct interface *next;
usr.sbin/map-mbone/mapper.c
74
struct interface *interfaces; /* Else, neighbor data */
usr.sbin/mopd/common/device.c
141
char interface[IFNAME_SIZE];
usr.sbin/mopd/common/device.c
163
snprintf(interface, sizeof(interface), "ent%d\0", unit);
usr.sbin/mopd/common/device.c
165
snprintf(interface, sizeof(interface), "%s%d\0", dev, unit);
usr.sbin/mopd/common/device.c
168
snprintf(interface, sizeof(interface), "%s", ifname);
usr.sbin/mopd/common/device.c
175
if (strcmp(p->if_name,interface) == 0) {
usr.sbin/mopd/common/device.c
181
syslog(LOG_INFO, "Initialized %s", interface);
usr.sbin/mopd/common/device.c
185
trans = pfTrans(interface);
usr.sbin/mopd/common/device.c
192
deviceOpen(interface,MOP_K_PROTO_RC,TRANS_ETHER);
usr.sbin/mopd/common/device.c
195
deviceOpen(interface,MOP_K_PROTO_RC,TRANS_8023);
usr.sbin/mopd/common/device.c
198
deviceOpen(interface,MOP_K_PROTO_RC,TRANS_ETHER);
usr.sbin/mopd/common/device.c
199
deviceOpen(interface,MOP_K_PROTO_RC,TRANS_8023);
usr.sbin/mopd/common/device.c
202
deviceOpen(interface,MOP_K_PROTO_RC,TRANS_ETHER+TRANS_8023);
usr.sbin/mopd/common/device.c
212
deviceOpen(interface,MOP_K_PROTO_DL,TRANS_ETHER);
usr.sbin/mopd/common/device.c
215
deviceOpen(interface,MOP_K_PROTO_DL,TRANS_8023);
usr.sbin/mopd/common/device.c
218
deviceOpen(interface,MOP_K_PROTO_DL,TRANS_ETHER);
usr.sbin/mopd/common/device.c
219
deviceOpen(interface,MOP_K_PROTO_DL,TRANS_8023);
usr.sbin/mopd/common/device.c
222
deviceOpen(interface,MOP_K_PROTO_DL,TRANS_ETHER+TRANS_8023);
usr.sbin/mopd/common/pf-linux2.c
101
perror(interface);
usr.sbin/mopd/common/pf-linux2.c
123
strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name));
usr.sbin/mopd/common/pf-linux2.c
126
strncpy(socklist[s].sa.sa_data, interface, sizeof(socklist[s].sa.sa_data));
usr.sbin/mopd/common/pf-linux2.c
127
socklist[s].iflen = strlen(interface);
usr.sbin/mopd/common/pf-linux2.c
151
pfEthAddr(int s, char *interface, u_char *addr)
usr.sbin/mopd/common/pf-linux2.c
153
strncpy(ifr.ifr_name, interface, sizeof (ifr.ifr_name) -1);
usr.sbin/mopd/common/pf-linux2.c
170
pfAddMulti(int s, char *interface, u_char *addr)
usr.sbin/mopd/common/pf-linux2.c
174
strncpy(ifr.ifr_name, interface, sizeof (ifr.ifr_name) - 1);
usr.sbin/mopd/common/pf-linux2.c
204
pfDelMulti(int s, char *interface, u_char *addr)
usr.sbin/mopd/common/pf-linux2.c
208
strncpy(ifr.ifr_name, interface, sizeof (ifr.ifr_name) - 1);
usr.sbin/mopd/common/pf-linux2.c
302
pfTrans(char *interface)
usr.sbin/mopd/common/pf-linux2.c
89
pfInit(char *interface, int mode, u_short protocol, int typ)
usr.sbin/mopd/common/pf.c
111
(void) strncpy(ifr.ifr_name, interface, sizeof ifr.ifr_name);
usr.sbin/mopd/common/pf.c
149
pfAddMulti(int s, const char *interface, const char *addr)
usr.sbin/mopd/common/pf.c
154
strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name));
usr.sbin/mopd/common/pf.c
182
pfDelMulti(int s, const char *interface, const char *addr)
usr.sbin/mopd/common/pf.c
187
strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name));
usr.sbin/mopd/common/pf.c
61
pfTrans(const char *interface)
usr.sbin/mopd/common/pf.c
71
pfInit(const char *interface, int mode, u_short protocol, int typ)
usr.sbin/mopd/mopprobe/mopprobe.c
56
char *interface;
usr.sbin/mopd/mopprobe/mopprobe.c
70
interface = argv[optind++];
usr.sbin/mopd/mopprobe/mopprobe.c
72
if ((AllFlag != 0) == (interface != NULL))
usr.sbin/mopd/mopprobe/mopprobe.c
78
deviceInitOne(interface);
usr.sbin/mopd/moptrace/moptrace.c
103
deviceInitOne(interface);
usr.sbin/mopd/moptrace/moptrace.c
69
char *interface;
usr.sbin/mopd/moptrace/moptrace.c
93
interface = argv[optind++];
usr.sbin/mopd/moptrace/moptrace.c
95
if ((AllFlag && interface) ||
usr.sbin/mopd/moptrace/moptrace.c
96
(!AllFlag && interface == 0) ||
usr.sbin/mrouted/cfparse.y
109
| PHYINT interface {
usr.sbin/mrouted/cfparse.y
129
| TUNNEL interface addrname {
usr.sbin/mrouted/cfparse.y
340
interface : ADDR { $$ = $1; }
usr.sbin/mrouted/cfparse.y
94
%type <addr> interface addrname
usr.sbin/mrouted/snmp.c
523
int interface;
usr.sbin/mrouted/snmp.c
528
if (Interface_Scan_Next(&interface, (char *)0, NULL, &in_ifaddr) == 0)
usr.sbin/mrouted/snmp.c
533
*ifIndex = interface;
usr.sbin/ndbootd/config/ndbootd-bpf.c
105
ndbootd_raw_open(struct ndbootd_interface * interface)
usr.sbin/ndbootd/config/ndbootd-bpf.c
167
if (ioctl(network_fd, BIOCSETIF, interface->ndbootd_interface_ifreq) < 0) {
usr.sbin/ndbootd/config/ndbootd-bpf.c
169
interface->ndbootd_interface_ifreq->ifr_name, strerror(errno)));
usr.sbin/ndbootd/config/ndbootd-bpf.c
195
interface->ndbootd_interface_fd = network_fd;
usr.sbin/ndbootd/config/ndbootd-bpf.c
199
interface->_ndbootd_interface_raw_private = interface_bpf;
usr.sbin/ndbootd/config/ndbootd-bpf.c
206
ndbootd_raw_read(struct ndbootd_interface * interface, void *packet_buffer, size_t packet_buffer_size)
usr.sbin/ndbootd/config/ndbootd-bpf.c
214
interface_bpf = (struct _ndbootd_interface_bpf *) interface->_ndbootd_interface_raw_private;
usr.sbin/ndbootd/config/ndbootd-bpf.c
217
set[0].fd = interface->ndbootd_interface_fd;
usr.sbin/ndbootd/config/ndbootd-bpf.c
245
buffer_end = read(interface->ndbootd_interface_fd,
usr.sbin/ndbootd/config/ndbootd-bpf.c
285
interface->ndbootd_interface_ether,
usr.sbin/ndbootd/config/ndbootd-bpf.c
310
ndbootd_raw_write(struct ndbootd_interface * interface, void *packet_buffer, size_t packet_buffer_size)
usr.sbin/ndbootd/config/ndbootd-bpf.c
312
return (write(interface->ndbootd_interface_fd, packet_buffer, packet_buffer_size));
usr.sbin/ndbootd/ndbootd.c
211
struct ndbootd_interface *interface;
usr.sbin/ndbootd/ndbootd.c
251
interface = ndbootd_new0(struct ndbootd_interface, 1);
usr.sbin/ndbootd/ndbootd.c
268
free(interface);
usr.sbin/ndbootd/ndbootd.c
274
memcpy(interface->ndbootd_interface_ether, LLADDR(sadl), sadl->sdl_alen);
usr.sbin/ndbootd/ndbootd.c
284
interface->ndbootd_interface_ifreq = (struct ifreq *) ndbootd_memdup(&ifr, SIZEOF_IFREQ(&ifr));
usr.sbin/ndbootd/ndbootd.c
285
interface->ndbootd_interface_fd = -1;
usr.sbin/ndbootd/ndbootd.c
287
return (interface);
usr.sbin/ndbootd/ndbootd.c
312
struct ndbootd_interface *interface;
usr.sbin/ndbootd/ndbootd.c
437
if ((interface = _ndbootd_find_interface(interface_name)) == NULL) {
usr.sbin/ndbootd/ndbootd.c
442
_NDBOOTD_DEBUG((fp, "opening interface %s", interface->ndbootd_interface_ifreq->ifr_name));
usr.sbin/ndbootd/ndbootd.c
445
if (ndbootd_raw_open(interface)) {
usr.sbin/ndbootd/ndbootd.c
447
_ndbootd_argv0, interface->ndbootd_interface_ifreq->ifr_name, strerror(errno));
usr.sbin/ndbootd/ndbootd.c
451
interface->ndbootd_interface_ifreq->ifr_name,
usr.sbin/ndbootd/ndbootd.c
452
inet_ntoa(((struct sockaddr_in *) & interface->ndbootd_interface_ifreq->ifr_addr)->sin_addr),
usr.sbin/ndbootd/ndbootd.c
453
((unsigned char *) interface->ndbootd_interface_ether)[0],
usr.sbin/ndbootd/ndbootd.c
454
((unsigned char *) interface->ndbootd_interface_ether)[1],
usr.sbin/ndbootd/ndbootd.c
455
((unsigned char *) interface->ndbootd_interface_ether)[2],
usr.sbin/ndbootd/ndbootd.c
456
((unsigned char *) interface->ndbootd_interface_ether)[3],
usr.sbin/ndbootd/ndbootd.c
457
((unsigned char *) interface->ndbootd_interface_ether)[4],
usr.sbin/ndbootd/ndbootd.c
458
((unsigned char *) interface->ndbootd_interface_ether)[5]));
usr.sbin/ndbootd/ndbootd.c
485
if (fd != interface->ndbootd_interface_fd) {
usr.sbin/ndbootd/ndbootd.c
529
packet_length = ndbootd_raw_read(interface, packet_buffer, sizeof(packet_buffer));
usr.sbin/ndbootd/ndbootd.c
627
!= ((struct sockaddr_in *) & interface->ndbootd_interface_ifreq->ifr_addr)->sin_addr.s_addr) {
usr.sbin/ndbootd/ndbootd.c
914
memcpy(ether_packet->ether_shost, interface->ndbootd_interface_ether, ETHER_ADDR_LEN);
usr.sbin/ndbootd/ndbootd.c
919
ip_packet->ip_src = ((struct sockaddr_in *) & interface->ndbootd_interface_ifreq->ifr_addr)->sin_addr;
usr.sbin/ndbootd/ndbootd.c
985
if (ndbootd_raw_write(interface, packet_buffer,
usr.sbin/npf/npftest/npftest.c
198
char *benchmark, *config, *interface, *stream, *testname;
usr.sbin/npf/npftest/npftest.c
209
interface = NULL;
usr.sbin/npf/npftest/npftest.c
230
interface = optarg;
usr.sbin/npf/npftest/npftest.c
264
if ((benchmark != NULL) == test && (stream && !interface)) {
usr.sbin/npf/npftest/npftest.c
281
if (interface && (ifp = rumpns_npf_test_getif(interface)) == 0) {
usr.sbin/wgconfig/wgconfig.c
206
ioctl_get(const char *interface)
usr.sbin/wgconfig/wgconfig.c
221
strlcpy(ifd.ifd_name, interface, sizeof(ifd.ifd_name));
usr.sbin/wgconfig/wgconfig.c
279
cmd_show_all(const char *interface, int argc, char *argv[])
usr.sbin/wgconfig/wgconfig.c
286
prop_dict = ioctl_get(interface);
usr.sbin/wgconfig/wgconfig.c
288
printf("interface: %s\n", interface);
usr.sbin/wgconfig/wgconfig.c
330
cmd_show_peer(const char *interface, int argc, char *argv[])
usr.sbin/wgconfig/wgconfig.c
347
prop_dict = ioctl_get(interface);
usr.sbin/wgconfig/wgconfig.c
377
cmd_show_private_key(const char *interface, int argc, char *argv[])
usr.sbin/wgconfig/wgconfig.c
382
prop_dict = ioctl_get(interface);
usr.sbin/wgconfig/wgconfig.c
391
ioctl_set(const char *interface, int cmd, char *propstr)
usr.sbin/wgconfig/wgconfig.c
397
strlcpy(ifd.ifd_name, interface, sizeof(ifd.ifd_name));
usr.sbin/wgconfig/wgconfig.c
439
cmd_set_private_key(const char *interface, int argc, char *argv[])
usr.sbin/wgconfig/wgconfig.c
460
ioctl_set(interface, WG_IOCTL_SET_PRIVATE_KEY, buf);
usr.sbin/wgconfig/wgconfig.c
486
cmd_set_listen_port(const char *interface, int argc, char *argv[])
usr.sbin/wgconfig/wgconfig.c
508
ioctl_set(interface, WG_IOCTL_SET_LISTEN_PORT, buf);
usr.sbin/wgconfig/wgconfig.c
705
cmd_add_peer(const char *interface, int argc, char *argv[])
usr.sbin/wgconfig/wgconfig.c
740
ioctl_set(interface, WG_IOCTL_ADD_PEER, buf);
usr.sbin/wgconfig/wgconfig.c
746
cmd_delete_peer(const char *interface, int argc, char *argv[])
usr.sbin/wgconfig/wgconfig.c
768
ioctl_set(interface, WG_IOCTL_DELETE_PEER, buf);
usr.sbin/wgconfig/wgconfig.c
790
const char *interface;
usr.sbin/wgconfig/wgconfig.c
801
interface = argv[1];
usr.sbin/wgconfig/wgconfig.c
802
if (strlen(interface) > IFNAMSIZ)
usr.sbin/wgconfig/wgconfig.c
805
return cmd_show_all(interface, 0, NULL);
usr.sbin/wgconfig/wgconfig.c
820
return cmd->func(interface, argc, argv);