crypto/heimdal/lib/roken/socket_wrapper.c
1692
unsigned int iface;
crypto/heimdal/lib/roken/socket_wrapper.c
1698
for(iface=0; iface <= MAX_WRAPPED_INTERFACES; iface++) {
crypto/heimdal/lib/roken/socket_wrapper.c
1700
socket_wrapper_dir(), type, iface, prt);
crypto/heimdal/lib/roken/socket_wrapper.c
259
unsigned int iface;
crypto/heimdal/lib/roken/socket_wrapper.c
260
if (sscanf(s, "%u", &iface) == 1) {
crypto/heimdal/lib/roken/socket_wrapper.c
261
if (iface >= 1 && iface <= MAX_WRAPPED_INTERFACES) {
crypto/heimdal/lib/roken/socket_wrapper.c
262
return iface;
crypto/heimdal/lib/roken/socket_wrapper.c
272
unsigned int iface;
crypto/heimdal/lib/roken/socket_wrapper.c
280
if (sscanf(p, SOCKET_FORMAT, &type, &iface, &prt) != 3) {
crypto/heimdal/lib/roken/socket_wrapper.c
285
if (iface == 0 || iface > MAX_WRAPPED_INTERFACES) {
crypto/heimdal/lib/roken/socket_wrapper.c
307
in2->sin_addr.s_addr = htonl((127<<24) | iface);
crypto/heimdal/lib/roken/socket_wrapper.c
345
unsigned int iface;
crypto/heimdal/lib/roken/socket_wrapper.c
375
iface = socket_wrapper_default_iface();
crypto/heimdal/lib/roken/socket_wrapper.c
380
iface = socket_wrapper_default_iface();
crypto/heimdal/lib/roken/socket_wrapper.c
385
iface = (addr & 0x000000FF);
crypto/heimdal/lib/roken/socket_wrapper.c
410
iface = SW_IPV6_ADDRESS;
crypto/heimdal/lib/roken/socket_wrapper.c
433
socket_wrapper_dir(), type, iface, prt);
crypto/heimdal/lib/roken/socket_wrapper.c
443
unsigned int iface;
crypto/heimdal/lib/roken/socket_wrapper.c
478
iface = socket_wrapper_default_iface();
crypto/heimdal/lib/roken/socket_wrapper.c
483
iface = socket_wrapper_default_iface();
crypto/heimdal/lib/roken/socket_wrapper.c
488
iface = socket_wrapper_default_iface();
crypto/heimdal/lib/roken/socket_wrapper.c
493
iface = (addr & 0x000000FF);
crypto/heimdal/lib/roken/socket_wrapper.c
517
iface = SW_IPV6_ADDRESS;
crypto/heimdal/lib/roken/socket_wrapper.c
534
socket_wrapper_dir(), type, iface, prt);
crypto/heimdal/lib/roken/socket_wrapper.c
542
socket_wrapper_dir(), type, iface, prt);
lib/libusb/libusb01.c
787
uint8_t iface;
lib/libusb/libusb01.c
789
iface = pdev->claimed_interface;
lib/libusb/libusb01.c
791
err = libusb20_dev_set_alt_index((void *)dev, iface, alternate);
libexec/pppoed/pppoed.c
130
epath = (char *)alloca(strlen(iface) + 2);
libexec/pppoed/pppoed.c
131
sprintf(epath, "%s:", iface);
libexec/pppoed/pppoed.c
87
ConfigureNode(const char *prog, const char *iface, const char *provider,
sbin/dhclient/dispatch.c
118
iface->index = foo->sdl_index;
sbin/dhclient/dispatch.c
119
iface->hw_address.hlen = foo->sdl_alen;
sbin/dhclient/dispatch.c
120
iface->hw_address.htype = HTYPE_ETHER; /* XXX */
sbin/dhclient/dispatch.c
121
memcpy(iface->hw_address.haddr,
sbin/dhclient/dispatch.c
124
if (!iface->ifp) {
sbin/dhclient/dispatch.c
128
iface->ifp = tif;
sbin/dhclient/dispatch.c
133
if (!iface->ifp)
sbin/dhclient/dispatch.c
134
error("%s: not found", iface->name);
sbin/dhclient/dispatch.c
137
if_register_receive(iface);
sbin/dhclient/dispatch.c
138
if_register_send(iface);
sbin/dhclient/dispatch.c
139
add_protocol(iface->name, iface->rfdesc, got_one, iface);
sbin/dhclient/dispatch.c
79
discover_interfaces(struct interface_info *iface)
sbin/dhclient/dispatch.c
93
if (strcmp(iface->name, ifa->ifa_name))
sbin/ifconfig/ifconfig_netlink.c
136
struct iface **ifaces;
sbin/ifconfig/ifconfig_netlink.c
163
struct iface *iface = snl_allocz(ss, sizeof(*iface));
sbin/ifconfig/ifconfig_netlink.c
165
if (!snl_parse_nlmsg(ss, hdr, &snl_rtm_link_parser, &iface->link))
sbin/ifconfig/ifconfig_netlink.c
167
if (iface->link.ifi_index >= ifmap->size) {
sbin/ifconfig/ifconfig_netlink.c
170
while (new_size <= iface->link.ifi_index + 1)
sbin/ifconfig/ifconfig_netlink.c
173
struct iface **ifaces= snl_allocz(ss, new_size * sizeof(void *));
sbin/ifconfig/ifconfig_netlink.c
178
ifmap->ifaces[iface->link.ifi_index] = iface;
sbin/ifconfig/ifconfig_netlink.c
180
iface->idx = ifmap->count;
sbin/ifconfig/ifconfig_netlink.c
247
struct iface *iface = ifmap->ifaces[ifindex];
sbin/ifconfig/ifconfig_netlink.c
248
ifa->next = iface->ifa;
sbin/ifconfig/ifconfig_netlink.c
250
iface->ifa = ifa;
sbin/ifconfig/ifconfig_netlink.c
251
iface->ifa_count++;
sbin/ifconfig/ifconfig_netlink.c
256
match_iface(struct ifconfig_args *args, struct iface *iface)
sbin/ifconfig/ifconfig_netlink.c
258
if_link_t *link = &iface->link;
sbin/ifconfig/ifconfig_netlink.c
291
for (struct ifa *ifa = iface->ifa; ifa != NULL; ifa = ifa->next) {
sbin/ifconfig/ifconfig_netlink.c
303
const struct iface *a = *((const void * const *)_a);
sbin/ifconfig/ifconfig_netlink.c
304
const struct iface *b = *((const void * const *)_b);
sbin/ifconfig/ifconfig_netlink.c
321
sort_iface_ifaddrs(struct snl_state *ss, struct iface *iface)
sbin/ifconfig/ifconfig_netlink.c
323
if (iface->ifa_count == 0)
sbin/ifconfig/ifconfig_netlink.c
326
struct ifa **sorted_ifaddrs = snl_allocz(ss, iface->ifa_count * sizeof(void *));
sbin/ifconfig/ifconfig_netlink.c
327
struct ifa *ifa = iface->ifa;
sbin/ifconfig/ifconfig_netlink.c
329
for (uint32_t i = 0; i < iface->ifa_count; i++) {
sbin/ifconfig/ifconfig_netlink.c
336
qsort(sorted_ifaddrs, iface->ifa_count, sizeof(void *), cmp_ifaddr);
sbin/ifconfig/ifconfig_netlink.c
338
iface->ifa = ifa;
sbin/ifconfig/ifconfig_netlink.c
339
for (uint32_t i = 1; i < iface->ifa_count; i++) {
sbin/ifconfig/ifconfig_netlink.c
368
status_nl(if_ctx *ctx, struct iface *iface)
sbin/ifconfig/ifconfig_netlink.c
370
if_link_t *link = &iface->link;
sbin/ifconfig/ifconfig_netlink.c
395
sort_iface_ifaddrs(ctx->io_ss, iface);
sbin/ifconfig/ifconfig_netlink.c
397
for (struct ifa *ifa = iface->ifa; ifa != NULL; ifa = ifa->next) {
sbin/ifconfig/ifconfig_netlink.c
461
struct iface **sorted_ifaces = snl_allocz(&ss, ifmap->count * sizeof(void *));
sbin/ifconfig/ifconfig_netlink.c
473
struct iface *iface = sorted_ifaces[i];
sbin/ifconfig/ifconfig_netlink.c
475
if (!match_iface(args, iface))
sbin/ifconfig/ifconfig_netlink.c
478
ctx->ifname = iface->link.ifla_ifname;
sbin/ifconfig/ifconfig_netlink.c
483
fputs(iface->link.ifla_ifname, stdout);
sbin/ifconfig/ifconfig_netlink.c
485
status_nl(ctx, iface);
sbin/ipf/ipftest/ipftest.c
195
while ((i = (*r->r_readip)(m, &iface, &dir)) > 0) {
sbin/ipf/ipftest/ipftest.c
197
if ((iface == NULL) || (*iface == '\0'))
sbin/ipf/ipftest/ipftest.c
198
iface = ifname;
sbin/ipf/ipftest/ipftest.c
201
ifp = get_unit(iface, IP_V(ip));
sbin/ipf/ipftest/ipftest.c
287
if (iface != ifname) {
sbin/ipf/ipftest/ipftest.c
288
free(iface);
sbin/ipf/ipftest/ipftest.c
289
iface = ifname;
sbin/ipf/ipftest/ipftest.c
63
char *datain, *iface, *ifname, *logout;
sbin/ipf/ipftest/ipftest.c
77
iface = NULL;
sbin/ipf/iplang/iplang.h
12
struct iface *if_next;
sbin/ipf/iplang/iplang.h
18
struct iface *snd_if;
sbin/ipf/iplang/iplang_y.y
207
line: iface
sbin/ipf/iplang/iplang_y.y
214
iface: ifhdr '{' ifaceopts '}' ';' { check_interface(); }
sbin/ipfw/tables.c
1921
printf("%s %s\n", tent->k.iface, pval);
sbin/pfctl/pfctl.c
1005
pfctl_key_kill_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
1019
if (iface != NULL &&
sbin/pfctl/pfctl.c
1020
strlcpy(kill.ifname, iface, sizeof(kill.ifname)) >=
sbin/pfctl/pfctl.c
1022
pfctl_errx(opts, 1, "invalid interface: %s", iface);
sbin/pfctl/pfctl.c
1972
const char *iface;
sbin/pfctl/pfctl.c
1990
pfctl_show_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
1996
if (iface != NULL)
sbin/pfctl/pfctl.c
1997
strlcpy(filter.ifname, iface, IFNAMSIZ);
sbin/pfctl/pfctl.c
2004
arg.iface = iface;
sbin/pfctl/pfctl.c
648
pfctl_clear_iface_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
655
if (iface != NULL && strlcpy(kill.ifname, iface,
sbin/pfctl/pfctl.c
657
pfctl_errx(opts, 1, "invalid interface: %s", iface);
sbin/pfctl/pfctl.c
796
pfctl_net_kill_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
812
if (iface != NULL && strlcpy(kill.ifname, iface,
sbin/pfctl/pfctl.c
814
pfctl_errx(opts, 1, "invalid interface: %s", iface);
sbin/pfctl/pfctl.c
886
pfctl_gateway_kill_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
903
if (iface != NULL && strlcpy(kill.ifname, iface,
sbin/pfctl/pfctl.c
905
pfctl_errx(opts, 1, "invalid interface: %s", iface);
sbin/pfctl/pfctl.c
937
pfctl_label_kill_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl.c
948
if (iface != NULL && strlcpy(kill.ifname, iface,
sbin/pfctl/pfctl.c
950
pfctl_errx(opts, 1, "invalid interface: %s", iface);
sbin/pfctl/pfctl.c
967
pfctl_id_kill_states(int dev, const char *iface, int opts)
sbin/pfctl/pfctl_qstats.c
109
if (iface != NULL && strcmp(node->altq.ifname, iface))
sbin/pfctl/pfctl_qstats.c
125
if (iface != NULL && strcmp(node->altq.ifname, iface))
sbin/pfctl/pfctl_qstats.c
93
pfctl_show_altq(int dev, const char *iface, int opts, int verbose2)
sys/compat/linuxkpi/common/src/linux_usb.c
1274
usb_linux_cleanup_interface(struct usb_device *dev, struct usb_interface *iface)
sys/compat/linuxkpi/common/src/linux_usb.c
1281
uhi = iface->altsetting;
sys/compat/linuxkpi/common/src/linux_usb.c
1282
uhi_end = iface->altsetting + iface->num_altsetting;
sys/dev/acpica/acpi.c
4929
acpi_parse_interfaces(char *str, struct acpi_interface *iface)
sys/dev/acpica/acpi.c
4957
iface->data = malloc(sizeof(*iface->data) * j, M_TEMP, M_WAITOK);
sys/dev/acpica/acpi.c
4958
iface->num = j;
sys/dev/acpica/acpi.c
4964
iface->data[j] = p + i;
sys/dev/acpica/acpi.c
4973
acpi_free_interfaces(struct acpi_interface *iface)
sys/dev/acpica/acpi.c
4976
free(iface->data[0], M_TEMP);
sys/dev/acpica/acpi.c
4977
free(iface->data, M_TEMP);
sys/dev/aq/aq2_fw.c
152
iface = "A0";
sys/dev/aq/aq2_fw.c
155
iface = "B0";
sys/dev/aq/aq2_fw.c
158
iface = "unknown";
sys/dev/aq/aq2_fw.c
163
iface, hw->fw_version.major_version,
sys/dev/aq/aq2_fw.c
87
const char *iface;
sys/dev/atopcase/atopcase.c
178
struct atopcase_iface_info_payload *iface = payload;
sys/dev/atopcase/atopcase.c
179
CPOFF(ac->name, iface->name_len, iface->name_off);
sys/dev/cfi/cfi_core.c
200
uint16_t iface, vend;
sys/dev/cfi/cfi_core.c
267
iface = cfi_read_qry(sc, CFI_QRY_IFACE) |
sys/dev/cfi/cfi_core.c
275
iface++;
sys/dev/cfi/cfi_core.c
277
error = (iface & sc->sc_width) ? 0 : EINVAL;
sys/dev/cfi/cfi_reg.h
63
u_char iface[2];
sys/dev/cfi/cfi_reg.h
86
#define CFI_QRY_IFACE offsetof(struct cfi_qry, iface)
sys/dev/ipmi/ipmi_pci.c
202
int error, iface, type;
sys/dev/ipmi/ipmi_pci.c
210
iface = SMIC_MODE;
sys/dev/ipmi/ipmi_pci.c
213
iface = KCS_MODE;
sys/dev/ipmi/ipmi_pci.c
216
iface = BT_MODE;
sys/dev/ipmi/ipmi_pci.c
244
switch (iface) {
sys/dev/sound/usb/uaudio.c
1014
id = usbd_get_interface_descriptor(uaa->iface);
sys/dev/sound/usb/uaudio.c
954
struct usb_interface *iface;
sys/dev/sound/usb/uaudio.c
957
iface = usbd_get_iface(sc->sc_udev, iface_index);
sys/dev/sound/usb/uaudio.c
958
if (iface == NULL || iface->idesc == NULL)
sys/dev/sound/usb/uaudio.c
962
if (iface->alt_index == 0) {
sys/dev/sound/usb/uaudio.c
965
iface->idesc->bAlternateSetting);
sys/dev/usb/input/uhid_snes.c
551
idesc = usbd_get_interface_descriptor(uaa->iface);
sys/dev/usb/input/ukbd.c
1264
sc->sc_iface = uaa->iface;
sys/dev/usb/input/usbhid.c
738
struct usb_interface *iface = uaa->iface;
sys/dev/usb/input/usbhid.c
747
iface != NULL && iface->idesc != NULL) {
sys/dev/usb/input/usbhid.c
749
usbd_get_config_descriptor(udev), iface->idesc);
sys/dev/usb/input/wsp.c
757
struct usb_interface *iface;
sys/dev/usb/input/wsp.c
765
iface = usbd_get_iface(uaa->device, i);
sys/dev/usb/input/wsp.c
766
if (iface == NULL || i == 3)
sys/dev/usb/input/wsp.c
768
id = iface->idesc;
sys/dev/usb/net/if_cdce.c
512
struct usb_interface *iface;
sys/dev/usb/net/if_cdce.c
518
iface = usbd_get_iface(udev, 0);
sys/dev/usb/net/if_cdce.c
519
if (iface == NULL)
sys/dev/usb/net/if_cdce.c
521
id = iface->idesc;
sys/dev/usb/net/if_cdce.c
607
struct usb_interface *iface;
sys/dev/usb/net/if_cdce.c
639
iface = usbd_get_iface(uaa->device, i);
sys/dev/usb/net/if_cdce.c
641
if (iface) {
sys/dev/usb/net/if_cdce.c
642
id = usbd_get_interface_descriptor(iface);
sys/dev/usb/net/if_umb.c
370
if ((id = usbd_get_interface_descriptor(uaa->iface)) == NULL)
sys/dev/usb/net/if_umb.c
410
struct usb_interface *iface;
sys/dev/usb/net/if_umb.c
433
id = usbd_get_interface_descriptor(uaa->iface);
sys/dev/usb/net/if_umb.c
477
iface = usbd_get_iface(sc->sc_udev, i);
sys/dev/usb/net/if_umb.c
478
id = usbd_get_interface_descriptor(iface);
sys/dev/usb/net/if_umb.c
483
sc->sc_data_iface = iface;
sys/dev/usb/net/if_umb.c
498
id = usbd_get_interface_descriptor(uaa->iface);
sys/dev/usb/net/if_usie.c
236
struct usb_interface *iface;
sys/dev/usb/net/if_usie.c
244
iface = usbd_get_iface(udev, 0);
sys/dev/usb/net/if_usie.c
245
if (iface == NULL)
sys/dev/usb/net/if_usie.c
248
id = iface->idesc;
sys/dev/usb/net/if_usie.c
298
struct usb_interface *iface;
sys/dev/usb/net/if_usie.c
353
iface = usbd_get_iface(uaa->device, ifidx);
sys/dev/usb/net/if_usie.c
354
if (iface == NULL)
sys/dev/usb/net/if_usie.c
357
id = usbd_get_interface_descriptor(iface);
sys/dev/usb/net/uhso.c
1035
uhso_attach_muxserial(struct uhso_softc *sc, struct usb_interface *iface,
sys/dev/usb/net/uhso.c
1048
iface->idesc->bInterfaceNumber, UDESC_CS_INTERFACE, 0xff, 0, 0);
sys/dev/usb/net/uhso.c
1084
&iface->idesc->bInterfaceNumber, sc->sc_xfer,
sys/dev/usb/net/uhso.c
1265
uhso_attach_bulkserial(struct uhso_softc *sc, struct usb_interface *iface,
sys/dev/usb/net/uhso.c
1273
&iface->idesc->bInterfaceNumber, sc->sc_xfer,
sys/dev/usb/net/uhso.c
1278
&iface->idesc->bInterfaceNumber, sc->sc_xfer,
sys/dev/usb/net/uhso.c
1551
uhso_attach_ifnet(struct uhso_softc *sc, struct usb_interface *iface, int type)
sys/dev/usb/net/uhso.c
1560
&iface->idesc->bInterfaceNumber, sc->sc_if_xfer,
sys/dev/usb/net/uhso.c
566
id = usbd_get_interface_descriptor(uaa->iface);
sys/dev/usb/net/uhso.c
728
struct usb_interface *iface;
sys/dev/usb/net/uhso.c
734
iface = usbd_get_iface(udev, 0);
sys/dev/usb/net/uhso.c
735
if (iface == NULL)
sys/dev/usb/net/uhso.c
737
id = iface->idesc;
sys/dev/usb/net/uhso.c
892
struct usb_interface *iface;
sys/dev/usb/net/uhso.c
903
iface = usbd_get_iface(sc->sc_udev, index);
sys/dev/usb/net/uhso.c
906
error = uhso_attach_ifnet(sc, iface, type);
sys/dev/usb/net/uhso.c
917
if (iface->idesc->bNumEndpoints < 3) {
sys/dev/usb/net/uhso.c
926
error = uhso_attach_muxserial(sc, iface, type);
sys/dev/usb/net/uhso.c
942
error = uhso_attach_bulkserial(sc, iface, type);
sys/dev/usb/serial/u3g.c
1025
iface = usbd_get_iface(uaa->device, i);
sys/dev/usb/serial/u3g.c
1026
id = usbd_get_interface_descriptor(iface);
sys/dev/usb/serial/u3g.c
814
struct usb_interface *iface;
sys/dev/usb/serial/u3g.c
822
iface = usbd_get_iface(udev, 0);
sys/dev/usb/serial/u3g.c
823
if (iface == NULL)
sys/dev/usb/serial/u3g.c
825
id = iface->idesc;
sys/dev/usb/serial/u3g.c
960
struct usb_interface *iface;
sys/dev/usb/serial/u3g.c
988
iface = usbd_get_iface(uaa->device, i);
sys/dev/usb/serial/u3g.c
989
if (iface == NULL)
sys/dev/usb/serial/u3g.c
991
id = usbd_get_interface_descriptor(iface);
sys/dev/usb/serial/uchcom.c
313
struct usb_interface *iface;
sys/dev/usb/serial/uchcom.c
348
iface = usbd_get_iface(uaa->device, UCHCOM_SECOND_IFACE_INDEX);
sys/dev/usb/serial/uchcom.c
349
if (iface) {
sys/dev/usb/serial/uchcom.c
350
id = usbd_get_interface_descriptor(iface);
sys/dev/usb/serial/ufoma.c
1026
struct usb_interface *iface;
sys/dev/usb/serial/ufoma.c
1031
id = usbd_get_interface_descriptor(uaa->iface);
sys/dev/usb/serial/ufoma.c
1059
iface = usbd_get_iface(uaa->device, i);
sys/dev/usb/serial/ufoma.c
1061
if (iface) {
sys/dev/usb/serial/ufoma.c
1062
id = usbd_get_interface_descriptor(iface);
sys/dev/usb/serial/ufoma.c
342
id = usbd_get_interface_descriptor(uaa->iface);
sys/dev/usb/serial/ufoma.c
389
id = usbd_get_interface_descriptor(uaa->iface);
sys/dev/usb/serial/ugensa.c
194
struct usb_interface *iface;
sys/dev/usb/serial/ugensa.c
206
iface = usbd_get_iface(uaa->device, iface_index);
sys/dev/usb/serial/ugensa.c
207
if (iface == NULL || iface->idesc->bInterfaceClass != UICLASS_VENDOR)
sys/dev/usb/serial/ulpt.c
550
id = usbd_get_interface_descriptor(uaa->iface);
sys/dev/usb/serial/umodem.c
409
struct usb_interface *iface;
sys/dev/usb/serial/umodem.c
412
iface = usbd_get_iface(uaa->device, i);
sys/dev/usb/serial/umodem.c
414
if (iface) {
sys/dev/usb/serial/umodem.c
415
id = usbd_get_interface_descriptor(iface);
sys/dev/usb/serial/umodem.c
473
struct usb_interface *iface;
sys/dev/usb/serial/umodem.c
475
iface = usbd_get_iface(uaa->device, iface_index);
sys/dev/usb/serial/umodem.c
478
if (iface == NULL)
sys/dev/usb/serial/umodem.c
481
id = usbd_get_interface_descriptor(iface);
sys/dev/usb/serial/uplcom.c
373
struct usb_interface *iface;
sys/dev/usb/serial/uplcom.c
474
iface = usbd_get_iface(uaa->device, UPLCOM_SECOND_IFACE_INDEX);
sys/dev/usb/serial/uplcom.c
475
if (iface) {
sys/dev/usb/serial/uplcom.c
476
id = usbd_get_interface_descriptor(iface);
sys/dev/usb/storage/cfumass.c
326
id = usbd_get_interface_descriptor(uaa->iface);
sys/dev/usb/storage/umass.c
714
struct usb_interface *iface;
sys/dev/usb/storage/umass.c
720
iface = usbd_get_iface(udev, 0);
sys/dev/usb/storage/umass.c
721
if (iface == NULL)
sys/dev/usb/storage/umass.c
724
id = iface->idesc;
sys/dev/usb/storage/umass.c
794
umass_get_proto(struct usb_interface *iface)
sys/dev/usb/storage/umass.c
802
id = usbd_get_interface_descriptor(iface);
sys/dev/usb/storage/umass.c
851
uint32_t proto = umass_get_proto(uaa->iface);
sys/dev/usb/storage/umass.c
987
id = usbd_get_interface_descriptor(uaa->iface);
sys/dev/usb/storage/ustorage_fs.c
337
id = usbd_get_interface_descriptor(uaa->iface);
sys/dev/usb/storage/ustorage_fs.c
391
id = usbd_get_interface_descriptor(uaa->iface);
sys/dev/usb/usb_debug.c
137
usb_dump_iface(struct usb_interface *iface)
sys/dev/usb/usb_debug.c
139
printf("usb_dump_iface: iface=%p\n", iface);
sys/dev/usb/usb_debug.c
140
if (iface == NULL) {
sys/dev/usb/usb_debug.c
144
iface, iface->idesc, iface->alt_index);
sys/dev/usb/usb_debug.h
59
void usb_dump_iface(struct usb_interface *iface);
sys/dev/usb/usb_dev.h
58
struct usb_interface *iface;
sys/dev/usb/usb_device.c
1052
struct usb_interface *iface = usbd_get_iface(udev, iface_index);
sys/dev/usb/usb_device.c
1059
if (iface == NULL) {
sys/dev/usb/usb_device.c
1063
if (iface->alt_index == alt_index) {
sys/dev/usb/usb_device.c
1083
if (iface->alt_index != alt_index) {
sys/dev/usb/usb_device.c
1090
iface->idesc->bAlternateSetting);
sys/dev/usb/usb_device.c
1282
struct usb_interface *iface;
sys/dev/usb/usb_device.c
1310
iface = usbd_get_iface(udev, i);
sys/dev/usb/usb_device.c
1311
if (iface == NULL) {
sys/dev/usb/usb_device.c
1315
usb_detach_device_sub(udev, &iface->subdev,
sys/dev/usb/usb_device.c
1316
&iface->pnpinfo, flag);
sys/dev/usb/usb_device.c
1331
struct usb_interface *iface;
sys/dev/usb/usb_device.c
1335
iface = uaa->iface;
sys/dev/usb/usb_device.c
1336
if (iface->parent_iface_index != USB_IFACE_INDEX_ANY) {
sys/dev/usb/usb_device.c
1340
dev = iface->subdev;
sys/dev/usb/usb_device.c
1350
iface->subdev = NULL;
sys/dev/usb/usb_device.c
1376
iface->subdev = uaa->temp_dev;
sys/dev/usb/usb_device.c
1378
if (device_probe_and_attach(iface->subdev) == 0) {
sys/dev/usb/usb_device.c
1384
device_set_ivars(iface->subdev, NULL);
sys/dev/usb/usb_device.c
1387
err = DEVICE_SUSPEND(iface->subdev);
sys/dev/usb/usb_device.c
1389
device_printf(iface->subdev, "Suspend failed\n");
sys/dev/usb/usb_device.c
1394
iface->subdev = NULL;
sys/dev/usb/usb_device.c
1413
struct usb_interface *iface;
sys/dev/usb/usb_device.c
1419
iface = usbd_get_iface(udev, iface_index);
sys/dev/usb/usb_device.c
1420
if (iface != NULL)
sys/dev/usb/usb_device.c
1421
iface->parent_iface_index = parent_index;
sys/dev/usb/usb_device.c
1459
struct usb_interface *iface;
sys/dev/usb/usb_device.c
1510
iface = usbd_get_iface(udev, i);
sys/dev/usb/usb_device.c
1511
if (iface == NULL) {
sys/dev/usb/usb_device.c
1520
if (iface->idesc == NULL) {
sys/dev/usb/usb_device.c
1524
uaa.iface = iface;
sys/dev/usb/usb_device.c
1527
iface->idesc->bInterfaceClass;
sys/dev/usb/usb_device.c
1529
iface->idesc->bInterfaceSubClass;
sys/dev/usb/usb_device.c
1531
iface->idesc->bInterfaceProtocol;
sys/dev/usb/usb_device.c
1534
iface->idesc->bInterfaceNumber;
sys/dev/usb/usb_device.c
1603
struct usb_interface *iface;
sys/dev/usb/usb_device.c
1627
iface = usbd_get_iface(udev, i);
sys/dev/usb/usb_device.c
1628
if (iface == NULL) {
sys/dev/usb/usb_device.c
1632
usb_suspend_resume_sub(udev, iface->subdev, do_suspend);
sys/dev/usb/usb_device.c
2390
struct usb_interface *iface = udev->ifaces + iface_index;
sys/dev/usb/usb_device.c
2394
return (iface);
sys/dev/usb/usb_device.c
2419
struct usb_interface *iface;
sys/dev/usb/usb_device.c
2426
iface = usbd_get_iface(udev, iface_index);
sys/dev/usb/usb_device.c
2427
if (iface == NULL) {
sys/dev/usb/usb_device.c
2430
id = usbd_get_interface_descriptor(iface);
sys/dev/usb/usb_device.c
2672
usbd_get_interface_descriptor(struct usb_interface *iface)
sys/dev/usb/usb_device.c
2674
if (iface == NULL)
sys/dev/usb/usb_device.c
2676
return (iface->idesc);
sys/dev/usb/usb_device.c
2680
usbd_get_interface_altindex(struct usb_interface *iface)
sys/dev/usb/usb_device.c
2682
return (iface->alt_index);
sys/dev/usb/usb_device.c
2701
struct usb_interface *iface;
sys/dev/usb/usb_device.c
2748
iface = usbd_get_iface(udev, i);
sys/dev/usb/usb_device.c
2749
if (iface == NULL)
sys/dev/usb/usb_device.c
2751
if (iface->idesc == NULL)
sys/dev/usb/usb_device.c
2783
iface->idesc->bInterfaceNumber,
sys/dev/usb/usb_device.c
2784
iface->idesc->bNumEndpoints,
sys/dev/usb/usb_device.c
2785
iface->idesc->bInterfaceClass,
sys/dev/usb/usb_device.c
2786
iface->idesc->bInterfaceSubClass,
sys/dev/usb/usb_device.c
2787
iface->idesc->bInterfaceProtocol);
sys/dev/usb/usb_device.c
3041
struct usb_interface *iface;
sys/dev/usb/usb_device.c
3043
iface = usbd_get_iface(udev, iface_index);
sys/dev/usb/usb_device.c
3044
if (iface == NULL)
sys/dev/usb/usb_device.c
3047
if (iface->pnpinfo != NULL) {
sys/dev/usb/usb_device.c
3048
free(iface->pnpinfo, M_USBDEV);
sys/dev/usb/usb_device.c
3049
iface->pnpinfo = NULL;
sys/dev/usb/usb_device.c
3055
iface->pnpinfo = strdup(pnpinfo, M_USBDEV);
sys/dev/usb/usb_device.c
3056
if (iface->pnpinfo == NULL)
sys/dev/usb/usb_device.c
820
struct usb_interface *iface;
sys/dev/usb/usb_device.c
899
iface = udev->ifaces + ips.iface_index;
sys/dev/usb/usb_device.c
917
iface->num_altsetting = ips.iface_index_alt + 1;
sys/dev/usb/usb_device.c
930
iface->idesc = id;
sys/dev/usb/usb_device.c
932
iface->alt_index = alt_index;
sys/dev/usb/usb_device.c
935
iface->parent_iface_index =
sys/dev/usb/usb_device.c
982
udev->ifaces = malloc(sizeof(*iface) * udev->ifaces_max,
sys/dev/usb/usb_generic.c
1864
struct usb_interface *iface;
sys/dev/usb/usb_generic.c
1866
iface = usbd_get_iface(f->udev, f->iface_index);
sys/dev/usb/usb_generic.c
1867
if (iface && iface->idesc) {
sys/dev/usb/usb_generic.c
1868
*idesc = *(iface->idesc);
sys/dev/usb/usb_generic.c
2245
struct usb_interface *iface;
sys/dev/usb/usb_generic.c
2279
iface = usbd_get_iface(f->udev,
sys/dev/usb/usb_generic.c
2281
if (iface && iface->idesc) {
sys/dev/usb/usb_generic.c
2282
u.ai->uai_alt_index = iface->alt_index;
sys/dev/usb/usb_generic.c
2384
iface = usbd_get_iface(f->udev, n);
sys/dev/usb/usb_generic.c
2385
if (iface != NULL && iface->subdev != NULL &&
sys/dev/usb/usb_generic.c
2386
device_is_alive(iface->subdev))
sys/dev/usb/usb_generic.c
806
struct usb_interface *iface;
sys/dev/usb/usb_generic.c
821
iface = usbd_get_iface(udev, ugd->ugd_iface_index);
sys/dev/usb/usb_generic.c
822
if ((iface == NULL) || (iface->idesc == NULL)) {
sys/dev/usb/usb_generic.c
828
if ((iface->subdev != NULL) &&
sys/dev/usb/usb_generic.c
829
device_is_attached(iface->subdev) &&
sys/dev/usb/usb_generic.c
830
(ptr = device_get_nameunit(iface->subdev)) &&
sys/dev/usb/usb_generic.c
831
(desc = device_get_desc(iface->subdev))) {
sys/dev/usb/usb_handle_request.c
192
struct usb_interface *iface, uint8_t alt_index)
sys/dev/usb/usb_handle_request.c
200
if (alt_index >= usbd_get_no_alts(udev->cdesc, iface->idesc))
sys/dev/usb/usb_handle_request.c
221
struct usb_interface *iface;
sys/dev/usb/usb_handle_request.c
247
iface = usbd_get_iface(udev, iface_index);
sys/dev/usb/usb_handle_request.c
248
if ((iface == NULL) ||
sys/dev/usb/usb_handle_request.c
249
(iface->idesc == NULL)) {
sys/dev/usb/usb_handle_request.c
261
(iface->subdev != NULL) &&
sys/dev/usb/usb_handle_request.c
262
device_is_attached(iface->subdev)) {
sys/dev/usb/usb_handle_request.c
266
error = USB_HANDLE_REQUEST(iface->subdev,
sys/dev/usb/usb_handle_request.c
270
iface_parent = usbd_get_iface(udev, iface->parent_iface_index);
sys/dev/usb/usb_handle_request.c
284
(iface_parent->subdev != iface->subdev) &&
sys/dev/usb/usb_handle_request.c
322
iface, req.wValue[0]);
sys/dev/usb/usb_handle_request.c
335
iface->alt_index = req.wValue[0];
sys/dev/usb/usb_handle_request.c
346
*ppdata = &iface->alt_index;
sys/dev/usb/usb_hid.c
116
struct usb_interface *iface = usbd_get_iface(udev, iface_index);
sys/dev/usb/usb_hid.c
120
if ((iface == NULL) || (iface->idesc == NULL)) {
sys/dev/usb/usb_hid.c
124
(usbd_get_config_descriptor(udev), iface->idesc);
sys/dev/usb/usb_hub.c
1621
struct usb_interface *iface;
sys/dev/usb/usb_hub.c
1635
iface = usbd_get_iface(udev, i);
sys/dev/usb/usb_hub.c
1636
if (iface &&
sys/dev/usb/usb_hub.c
1637
(iface->subdev == child)) {
sys/dev/usb/usb_hub.c
1726
struct usb_interface *iface;
sys/dev/usb/usb_hub.c
1742
iface = usbd_get_iface(res.udev, res.iface_index);
sys/dev/usb/usb_hub.c
1743
if (iface && iface->idesc) {
sys/dev/usb/usb_hub.c
1763
iface->idesc->bInterfaceClass,
sys/dev/usb/usb_hub.c
1764
iface->idesc->bInterfaceSubClass,
sys/dev/usb/usb_hub.c
1765
iface->idesc->bInterfaceProtocol,
sys/dev/usb/usb_hub.c
1766
iface->pnpinfo ? " " : "",
sys/dev/usb/usb_hub.c
1767
iface->pnpinfo ? iface->pnpinfo : "");
sys/dev/usb/usb_msctest.c
601
struct usb_interface *iface;
sys/dev/usb/usb_msctest.c
624
iface = usbd_get_iface(udev, iface_index);
sys/dev/usb/usb_msctest.c
625
if (iface == NULL)
sys/dev/usb/usb_msctest.c
628
id = iface->idesc;
sys/dev/usb/usb_request.c
1420
struct usb_interface *iface = usbd_get_iface(udev, iface_index);
sys/dev/usb/usb_request.c
1423
if ((iface == NULL) || (iface->idesc == NULL))
sys/dev/usb/usb_request.c
1429
req.wIndex[0] = iface->idesc->bInterfaceNumber;
sys/dev/usb/usb_request.c
1446
struct usb_interface *iface = usbd_get_iface(udev, iface_index);
sys/dev/usb/usb_request.c
1450
if ((iface == NULL) || (iface->idesc == NULL))
sys/dev/usb/usb_request.c
1457
req.wIndex[0] = iface->idesc->bInterfaceNumber;
sys/dev/usb/usb_request.c
1461
if (err == USB_ERR_STALLED && iface->num_altsetting == 1) {
sys/dev/usb/usb_request.c
1789
struct usb_interface *iface = usbd_get_iface(udev, iface_index);
sys/dev/usb/usb_request.c
1792
if ((iface == NULL) || (iface->idesc == NULL)) {
sys/dev/usb/usb_request.c
1796
iface, report, iface->idesc->bInterfaceNumber);
sys/dev/usb/usb_request.c
1801
req.wIndex[0] = iface->idesc->bInterfaceNumber;
sys/dev/usb/usb_request.c
1818
struct usb_interface *iface = usbd_get_iface(udev, iface_index);
sys/dev/usb/usb_request.c
1821
if ((iface == NULL) || (iface->idesc == NULL)) {
sys/dev/usb/usb_request.c
1829
req.wIndex[0] = iface->idesc->bInterfaceNumber;
sys/dev/usb/usb_request.c
1846
struct usb_interface *iface = usbd_get_iface(udev, iface_index);
sys/dev/usb/usb_request.c
1849
if ((iface == NULL) || (iface->idesc == NULL)) {
sys/dev/usb/usb_request.c
1857
req.wIndex[0] = iface->idesc->bInterfaceNumber;
sys/dev/usb/usb_request.c
1874
struct usb_interface *iface = usbd_get_iface(udev, iface_index);
sys/dev/usb/usb_request.c
1877
if ((iface == NULL) || (iface->idesc == NULL)) {
sys/dev/usb/usb_request.c
1885
req.wIndex[0] = iface->idesc->bInterfaceNumber;
sys/dev/usb/usb_request.c
1902
struct usb_interface *iface = usbd_get_iface(udev, iface_index);
sys/dev/usb/usb_request.c
1905
if ((iface == NULL) || (iface->idesc == NULL)) {
sys/dev/usb/usb_request.c
1911
req.wIndex[0] = iface->idesc->bInterfaceNumber;
sys/dev/usb/usbdi.h
430
struct usb_interface *iface; /* current interface */
sys/dev/usb/usbdi.h
574
struct usb_interface *iface);
sys/dev/usb/usbdi.h
608
uint8_t usbd_get_interface_altindex(struct usb_interface *iface);
sys/dev/usb/video/uvideo.c
1266
struct usb_interface *iface;
sys/dev/usb/video/uvideo.c
1320
iface = usbd_get_iface(sc->sc_udev, iface_num);
sys/dev/usb/video/uvideo.c
1321
if (iface == NULL) {
sys/dev/usb/video/uvideo.c
1327
id = usbd_get_interface_descriptor(iface);
sys/dev/usb/video/uvideo.c
1830
uvideo_vs_parse_desc_alt(struct uvideo_softc *sc, int vs_nr, int iface,
sys/dev/usb/video/uvideo.c
1871
if (id->bInterfaceNumber != iface)
sys/dev/usb/video/uvideo.c
1910
vs->iface_index = iface;
sys/dev/usb/wlan/if_mtw.c
390
struct usb_interface *iface;
sys/dev/usb/wlan/if_mtw.c
396
iface = usbd_get_iface(udev, 0);
sys/dev/usb/wlan/if_mtw.c
397
if (iface == NULL)
sys/dev/usb/wlan/if_mtw.c
399
id = iface->idesc;
sys/dev/usb/wlan/if_rsu.c
441
struct usb_interface *iface;
sys/dev/usb/wlan/if_rsu.c
452
iface = usbd_get_iface(sc->sc_udev, 0);
sys/dev/usb/wlan/if_rsu.c
453
sc->sc_nendpoints = iface->idesc->bNumEndpoints;
sys/dev/usb/wlan/if_run.c
729
struct usb_interface *iface;
sys/dev/usb/wlan/if_run.c
735
iface = usbd_get_iface(udev, 0);
sys/dev/usb/wlan/if_run.c
736
if (iface == NULL)
sys/dev/usb/wlan/if_run.c
738
id = iface->idesc;
sys/net/altq/altq_cdnr.h
103
struct cdnr_interface iface;
sys/net/altq/altq_cdnr.h
109
struct cdnr_interface iface;
sys/net/altq/altq_cdnr.h
117
struct cdnr_interface iface;
sys/net/altq/altq_cdnr.h
129
struct cdnr_interface iface;
sys/net/altq/altq_cdnr.h
137
struct cdnr_interface iface;
sys/net/altq/altq_cdnr.h
146
struct cdnr_interface iface;
sys/net/altq/altq_cdnr.h
158
struct cdnr_interface iface;
sys/net/altq/altq_cdnr.h
166
struct cdnr_interface iface;
sys/net/altq/altq_cdnr.h
175
struct cdnr_interface iface;
sys/net/altq/altq_cdnr.h
186
struct cdnr_interface iface;
sys/net/altq/altq_cdnr.h
81
struct cdnr_interface iface;
sys/net/altq/altq_cdnr.h
88
struct cdnr_interface iface;
sys/net/altq/altq_cdnr.h
94
struct cdnr_interface iface;
sys/net/if_bridge.c
3000
#define CARP_CHECK_WE_ARE_DST(iface) \
sys/net/if_bridge.c
3001
((iface)->if_carp && (*carp_forus_p)((iface), eh->ether_dhost))
sys/net/if_bridge.c
3002
#define CARP_CHECK_WE_ARE_SRC(iface) \
sys/net/if_bridge.c
3003
((iface)->if_carp && (*carp_forus_p)((iface), eh->ether_shost))
sys/net/if_bridge.c
3005
#define CARP_CHECK_WE_ARE_DST(iface) false
sys/net/if_bridge.c
3006
#define CARP_CHECK_WE_ARE_SRC(iface) false
sys/net/if_bridge.c
3021
#define GRAB_OUR_PACKETS(iface) \
sys/net/if_bridge.c
3022
if ((iface)->if_type == IFT_GIF) \
sys/net/if_bridge.c
3025
if (memcmp(IF_LLADDR(iface), eh->ether_dhost, ETHER_ADDR_LEN) == 0 || \
sys/net/if_bridge.c
3026
CARP_CHECK_WE_ARE_DST(iface)) { \
sys/net/if_bridge.c
3035
m->m_pkthdr.rcvif = iface; \
sys/net/if_bridge.c
3036
if ((iface) == ifp) { \
sys/net/if_bridge.c
3053
if ((iface) != bifp) \
sys/net/if_bridge.c
3054
ETHER_BPF_MTAP(iface, m); \
sys/net/if_bridge.c
3068
if (memcmp(IF_LLADDR(iface), eh->ether_shost, ETHER_ADDR_LEN) == 0 || \
sys/net/if_bridge.c
3069
CARP_CHECK_WE_ARE_SRC(iface)) { \
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
659
struct usb_interface *iface[2];
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
669
iface[0] = usbd_get_iface(uaa->device, iface_index[0]);
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
670
iface[1] = usbd_get_iface(uaa->device, iface_index[1]);
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
679
if (iface[0] == NULL || iface[1] == NULL ||
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
680
iface[0]->idesc == NULL || iface[1]->idesc == NULL) {
sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c
758
i = (id->bInterfaceNumber == iface[1]->idesc->bInterfaceNumber);
sys/netgraph/netflow/ng_netflow.c
1036
iface_p iface = NG_HOOK_PRIVATE(hook);
sys/netgraph/netflow/ng_netflow.c
1038
if (iface != NULL) {
sys/netgraph/netflow/ng_netflow.c
1039
if (iface->hook == hook)
sys/netgraph/netflow/ng_netflow.c
1040
iface->hook = NULL;
sys/netgraph/netflow/ng_netflow.c
1041
if (iface->out == hook)
sys/netgraph/netflow/ng_netflow.c
1042
iface->out = NULL;
sys/netgraph/netflow/ng_netflow.c
285
iface_p iface;
sys/netgraph/netflow/ng_netflow.c
302
iface = &priv->ifaces[ifnum];
sys/netgraph/netflow/ng_netflow.c
305
NG_HOOK_SET_PRIVATE(hook, iface);
sys/netgraph/netflow/ng_netflow.c
306
iface->hook = hook;
sys/netgraph/netflow/ng_netflow.c
313
iface->info.ifinfo_dlt = DLT_EN10MB;
sys/netgraph/netflow/ng_netflow.c
317
iface_p iface;
sys/netgraph/netflow/ng_netflow.c
334
iface = &priv->ifaces[ifnum];
sys/netgraph/netflow/ng_netflow.c
337
NG_HOOK_SET_PRIVATE(hook, iface);
sys/netgraph/netflow/ng_netflow.c
338
iface->out = hook;
sys/netgraph/netflow/ng_netflow.c
421
struct ng_netflow_iface *iface;
sys/netgraph/netflow/ng_netflow.c
428
if (set->iface >= NG_NETFLOW_MAXIFACES)
sys/netgraph/netflow/ng_netflow.c
430
iface = &priv->ifaces[set->iface];
sys/netgraph/netflow/ng_netflow.c
433
if (iface->hook == NULL)
sys/netgraph/netflow/ng_netflow.c
438
iface->info.ifinfo_dlt = DLT_EN10MB;
sys/netgraph/netflow/ng_netflow.c
441
iface->info.ifinfo_dlt = DLT_RAW;
sys/netgraph/netflow/ng_netflow.c
451
struct ng_netflow_iface *iface;
sys/netgraph/netflow/ng_netflow.c
458
if (set->iface >= NG_NETFLOW_MAXIFACES)
sys/netgraph/netflow/ng_netflow.c
460
iface = &priv->ifaces[set->iface];
sys/netgraph/netflow/ng_netflow.c
463
if (iface->hook == NULL)
sys/netgraph/netflow/ng_netflow.c
466
iface->info.ifinfo_index = set->index;
sys/netgraph/netflow/ng_netflow.c
495
if (set->iface >= NG_NETFLOW_MAXIFACES)
sys/netgraph/netflow/ng_netflow.c
498
priv->ifaces[set->iface].info.conf = set->conf;
sys/netgraph/netflow/ng_netflow.c
589
const iface_p iface = NG_HOOK_PRIVATE(hook);
sys/netgraph/netflow/ng_netflow.c
616
if (hook == iface->hook) {
sys/netgraph/netflow/ng_netflow.c
617
if ((iface->info.conf & NG_NETFLOW_CONF_INGRESS) == 0)
sys/netgraph/netflow/ng_netflow.c
619
out = iface->out;
sys/netgraph/netflow/ng_netflow.c
620
} else if (hook == iface->out) {
sys/netgraph/netflow/ng_netflow.c
621
if ((iface->info.conf & NG_NETFLOW_CONF_EGRESS) == 0)
sys/netgraph/netflow/ng_netflow.c
623
out = iface->hook;
sys/netgraph/netflow/ng_netflow.c
627
if ((!bypass) && (iface->info.conf &
sys/netgraph/netflow/ng_netflow.c
632
if ((iface->info.conf & NG_NETFLOW_CONF_ONCE) ||
sys/netgraph/netflow/ng_netflow.c
650
if (iface->info.conf &
sys/netgraph/netflow/ng_netflow.c
662
flags = iface->info.conf & NG_NETFLOW_FLOW_FLAGS;
sys/netgraph/netflow/ng_netflow.c
669
iface->info.ifinfo_packets++;
sys/netgraph/netflow/ng_netflow.c
696
switch (iface->info.ifinfo_dlt) {
sys/netgraph/netflow/ng_netflow.c
932
if (hook == iface->out || iface->info.ifinfo_index == 0) {
sys/netgraph/netflow/ng_netflow.c
936
src_if_index = iface->info.ifinfo_index;
sys/netgraph/netflow/ng_netflow.h
124
uint16_t iface; /* which iface dlt change */
sys/netgraph/netflow/ng_netflow.h
130
uint16_t iface; /* which iface index change */
sys/netgraph/netflow/ng_netflow.h
153
uint16_t iface; /* which iface config change */
sys/netgraph/ng_iface.c
205
NETGRAPH_INIT(iface, &typestruct);
sys/netgraph/ng_iface.c
95
static SYSCTL_NODE(_net_graph, OID_AUTO, iface, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
sys/netinet/ip_fw.h
1036
char iface[IF_NAMESIZE]; /* interface name */
sys/netinet/ip_fw.h
903
char iface[IF_NAMESIZE]; /* interface name */
sys/netinet/netdump/netdump_client.c
474
COPY_SIZED(iface);
sys/netpfil/ipfw/ip_fw_compat.c
145
char iface[IF_NAMESIZE]; /* interface name */
sys/netpfil/ipfw/ip_fw_iface.c
329
ic->iface = iif;
sys/netpfil/ipfw/ip_fw_iface.c
351
ic->iface = tmp;
sys/netpfil/ipfw/ip_fw_iface.c
361
ic->iface = iif;
sys/netpfil/ipfw/ip_fw_iface.c
379
iif = ic->iface;
sys/netpfil/ipfw/ip_fw_iface.c
397
iif = ic->iface;
sys/netpfil/ipfw/ip_fw_iface.c
412
iif = ic->iface;
sys/netpfil/ipfw/ip_fw_iface.c
413
ic->iface = NULL;
sys/netpfil/ipfw/ip_fw_private.h
398
struct ipfw_iface *iface;
sys/netpfil/ipfw/ip_fw_table_algo.c
2219
ife->no.name = ife->ic.iface->ifname;
sys/netpfil/ipfw/ip_fw_table_algo.c
2257
iif = tmp->ic.iface;
sys/netpfil/ipfw/ip_fw_table_algo.c
2330
ifindex = ife->ic.iface->ifindex;
sys/netpfil/ipfw/ip_fw_table_algo.c
2404
ifindex = ife->ic.iface->ifindex;
sys/netpfil/ipfw/ip_fw_table_algo.c
2542
ifname = tent->k.iface;
tools/tools/ipw/ipwstats.c
241
get_statistics(const char *iface)
tools/tools/ipw/ipwstats.c
248
if (sscanf(iface, "ipw%u", &ifaceno) != 1)
tools/tools/ipw/ipwstats.c
249
errx(EX_DATAERR, "Invalid interface name '%s'", iface);
tools/tools/iwi/iwistats.c
107
get_statistics(const char *iface)
tools/tools/iwi/iwistats.c
115
if (sscanf(iface, "iwi%u", &ifaceno) != 1)
tools/tools/iwi/iwistats.c
116
errx(EX_DATAERR, "Invalid interface name '%s'", iface);
tools/tools/net80211/w00t/ap/ap.c
847
char *iface = "wlan0";
tools/tools/net80211/w00t/ap/ap.c
865
iface = optarg;
tools/tools/net80211/w00t/ap/ap.c
899
if ((p.tx = open_tx(iface)) == -1)
tools/tools/net80211/w00t/ap/ap.c
901
if ((p.rx = open_rx(iface)) == -1)
tools/tools/net80211/w00t/assoc/assoc.c
711
char *iface = "wlan0";
tools/tools/net80211/w00t/assoc/assoc.c
744
iface = optarg;
tools/tools/net80211/w00t/assoc/assoc.c
772
if (open_rxtx(iface, &p.rx, &p.tx) == -1)
tools/tools/net80211/w00t/expand/expand.c
422
char *iface = "wlan0";
tools/tools/net80211/w00t/expand/expand.c
451
if ((p.rx = open_rx(iface)) == -1)
tools/tools/net80211/w00t/expand/expand.c
453
if ((p.tx = open_tx(iface)) == -1)
tools/tools/net80211/w00t/libw00t/w00t.c
125
int open_tx(char *iface)
tools/tools/net80211/w00t/libw00t/w00t.c
127
return open_bpf(iface, DLT_IEEE802_11_RADIO);
tools/tools/net80211/w00t/libw00t/w00t.c
130
int open_rx(char *iface)
tools/tools/net80211/w00t/libw00t/w00t.c
132
return open_bpf(iface, DLT_IEEE802_11_RADIO);
tools/tools/net80211/w00t/libw00t/w00t.c
135
int open_rxtx(char *iface, int *rx, int *tx)
tools/tools/net80211/w00t/libw00t/w00t.c
137
*rx = open_bpf(iface, DLT_IEEE802_11_RADIO);
tools/tools/net80211/w00t/libw00t/w00t.c
244
int open_tap(char *iface)
tools/tools/net80211/w00t/libw00t/w00t.c
248
snprintf(buf, sizeof(buf), "/dev/%s", iface);
tools/tools/net80211/w00t/libw00t/w00t.c
252
int set_iface_mac(char *iface, char *mac)
tools/tools/net80211/w00t/libw00t/w00t.c
262
strcpy(ifr.ifr_name, iface);
tools/tools/net80211/w00t/libw00t/w00t.h
34
int open_tx(char *iface);
tools/tools/net80211/w00t/libw00t/w00t.h
35
int open_rx(char *iface);
tools/tools/net80211/w00t/libw00t/w00t.h
36
int open_rxtx(char *iface, int *rx, int *tx);
tools/tools/net80211/w00t/libw00t/w00t.h
45
int open_tap(char *iface);
tools/tools/net80211/w00t/libw00t/w00t.h
46
int set_iface_mac(char *iface, char *mac);
tools/tools/net80211/w00t/prga/prga.c
603
char *iface = "wlan0";
tools/tools/net80211/w00t/prga/prga.c
635
if ((p.rx = open_rx(iface)) == -1)
tools/tools/net80211/w00t/prga/prga.c
637
if ((p.tx = open_tx(iface)) == -1)
tools/tools/net80211/w00t/redir/redir.c
632
char *iface = "wlan0";
tools/tools/net80211/w00t/redir/redir.c
689
if ((p.rx = open_rx(iface)) == -1)
tools/tools/net80211/w00t/redir/redir.c
691
if ((p.tx = open_tx(iface)) == -1)
tools/tools/net80211/wlaninject/wlaninject.c
527
char *iface = "wlan0";
tools/tools/net80211/wlaninject/wlaninject.c
553
iface = optarg;
tools/tools/net80211/wlaninject/wlaninject.c
752
iface, chan, rate2str(params.ibp_rate0));
tools/tools/net80211/wlaninject/wlaninject.c
753
setup_if(iface, chan);
tools/tools/net80211/wlaninject/wlaninject.c
754
fd = open_bpf(iface);
tools/tools/usbtest/usb_modem_test.c
438
uint8_t iface;
tools/tools/usbtest/usb_modem_test.c
449
find_usb_endpoints(pdev, 255, 255, 255, 0, &iface, &in_ep, &out_ep, 0);
tools/tools/usbtest/usb_modem_test.c
451
find_usb_endpoints(pdev, 2, 2, 1, 0, &iface, &in_ep, &out_ep, 1);
tools/tools/usbtest/usb_modem_test.c
459
libusb20_dev_get_desc(pdev), iface);
tools/tools/usbtest/usb_modem_test.c
466
if (libusb20_dev_detach_kernel_driver(pdev, iface)) {
tools/tools/usbtest/usb_modem_test.c
484
p->usb_iface = iface;
tools/tools/usbtest/usb_msc_test.c
1010
uint8_t iface;
tools/tools/usbtest/usb_msc_test.c
1024
find_usb_endpoints(pdev, 8, 6, 0x50, 0, &iface, &in_ep, &out_ep, 0);
tools/tools/usbtest/usb_msc_test.c
1032
libusb20_dev_get_desc(pdev), iface);
tools/tools/usbtest/usb_msc_test.c
1039
if (libusb20_dev_detach_kernel_driver(pdev, iface)) {
tools/tools/usbtest/usb_msc_test.c
1057
usb_iface = iface;
tools/tools/usbtest/usb_msc_test.c
952
struct libusb20_interface *iface;
tools/tools/usbtest/usb_msc_test.c
968
iface = (pcfg->interface + x);
tools/tools/usbtest/usb_msc_test.c
970
if ((iface->desc.bInterfaceClass == class) &&
tools/tools/usbtest/usb_msc_test.c
971
(iface->desc.bInterfaceSubClass == subclass ||
tools/tools/usbtest/usb_msc_test.c
973
(iface->desc.bInterfaceProtocol == protocol ||
tools/tools/usbtest/usb_msc_test.c
980
iface = (pcfg->interface + x);
tools/tools/usbtest/usb_msc_test.c
984
for (z = 0; z != iface->num_endpoints; z++) {
tools/tools/usbtest/usb_msc_test.c
985
ep = iface->endpoints + z;
usr.bin/netstat/common.h
54
int iface;
usr.bin/netstat/route.c
214
wid.iface, wid.iface, "Netif",
usr.bin/netstat/route.c
223
wid.iface, wid.iface, "Netif",
usr.bin/netstat/route.c
236
wid.iface = WID_IF_DEFAULT;
usr.bin/netstat/route.c
353
xo_emit("{t:interface-name/%*s}", wid.iface, prettyname);
usr.bin/netstat/route.c
356
xo_emit("{t:interface-name/%*.*s}", wid.iface, wid.iface,
usr.bin/netstat/route_netlink.c
218
xo_emit("{t:interface-name/%*s}", wid.iface, prettyname);
usr.bin/netstat/route_netlink.c
221
xo_emit("{t:interface-name/%*.*s}", wid.iface, wid.iface,
usr.bin/talk/get_iface.c
48
get_iface(struct in_addr *dst, struct in_addr *iface)
usr.bin/talk/get_iface.c
95
memcpy(iface, &local.sin_addr, sizeof local.sin_addr);
usr.sbin/ppp/bundle.c
1066
arg->bundle->iface->name, arg->bundle->bandwidth);
usr.sbin/ppp/bundle.c
1884
bundle->iface->mtu = 0;
usr.sbin/ppp/bundle.c
1899
bundle->iface->mtu = dl->physical->link.lcp.his_mru;
usr.sbin/ppp/bundle.c
1909
bundle->iface->mtu = bundle->ncp.mp.peer_mrru;
usr.sbin/ppp/bundle.c
1913
} else if (!bundle->iface->mtu)
usr.sbin/ppp/bundle.c
1914
bundle->iface->mtu = DEF_MRU;
usr.sbin/ppp/bundle.c
1918
bundle->radius.mtu < bundle->iface->mtu) {
usr.sbin/ppp/bundle.c
1921
bundle->iface->mtu = bundle->radius.mtu;
usr.sbin/ppp/bundle.c
1927
bundle->iface->mtu, bundle->iface->mtu - maxoverhead);
usr.sbin/ppp/bundle.c
1928
bundle->iface->mtu -= maxoverhead;
usr.sbin/ppp/bundle.c
706
if (bundle.iface != NULL) { /* Already allocated ! */
usr.sbin/ppp/bundle.c
766
bundle.iface = iface_Create(ifname);
usr.sbin/ppp/bundle.c
767
if (bundle.iface == NULL) {
usr.sbin/ppp/bundle.c
849
iface_Free(bundle.iface);
usr.sbin/ppp/bundle.c
850
bundle.iface = NULL;
usr.sbin/ppp/bundle.c
890
iface_Clear(bundle.iface, &bundle.ncp, 0, IFACE_CLEAR_ALL);
usr.sbin/ppp/bundle.c
901
iface_ClearFlags(bundle->iface->name, IFF_UP);
usr.sbin/ppp/bundle.c
917
iface_Clear(bundle->iface, &bundle->ncp, 0, IFACE_CLEAR_ALL);
usr.sbin/ppp/bundle.c
938
iface_Destroy(bundle->iface);
usr.sbin/ppp/bundle.c
939
bundle->iface = NULL;
usr.sbin/ppp/bundle.h
73
struct iface;
usr.sbin/ppp/bundle.h
86
struct iface *iface; /* Interface information */
usr.sbin/ppp/command.c
3200
if (!iface_Name(arg->bundle->iface, arg->argv[n]))
usr.sbin/ppp/command.c
3203
log_SetTun(arg->bundle->unit, arg->bundle->iface->name);
usr.sbin/ppp/command.c
3254
return !iface_Add(arg->bundle->iface, &arg->bundle->ncp, &ifa, &peer, how);
usr.sbin/ppp/command.c
3278
ok = iface_Delete(arg->bundle->iface, &arg->bundle->ncp, &ifa);
usr.sbin/ppp/command.c
3314
iface_Clear(arg->bundle->iface, &arg->bundle->ncp, family, how);
usr.sbin/ppp/command.c
562
nargv[arg] = subst(nargv[arg], "INTERFACE", bundle->iface->name);
usr.sbin/ppp/ether.c
462
const char *iface, *provider;
usr.sbin/ppp/ether.c
475
iface = p->name.full + PPPOE_NODE_TYPE_LEN + 1;
usr.sbin/ppp/ether.c
477
provider = strchr(iface, ':');
usr.sbin/ppp/ether.c
479
ifacelen = provider - iface;
usr.sbin/ppp/ether.c
483
ifacelen = strlen(iface);
usr.sbin/ppp/ether.c
523
sprintf(path, "%.*s:", (int)ifacelen, iface);
usr.sbin/ppp/iface.c
136
iface = NULL;
usr.sbin/ppp/iface.c
139
while (ptr < end && iface == NULL) {
usr.sbin/ppp/iface.c
145
iface = (struct iface *)malloc(sizeof *iface);
usr.sbin/ppp/iface.c
146
if (iface == NULL) {
usr.sbin/ppp/iface.c
151
iface->name = strdup(name);
usr.sbin/ppp/iface.c
152
iface->descr = NULL;
usr.sbin/ppp/iface.c
153
iface->index = ifm->ifm_index;
usr.sbin/ppp/iface.c
154
iface->flags = ifm->ifm_flags;
usr.sbin/ppp/iface.c
155
iface->mtu = 0;
usr.sbin/ppp/iface.c
156
iface->addrs = 0;
usr.sbin/ppp/iface.c
157
iface->addr = NULL;
usr.sbin/ppp/iface.c
166
if (iface != NULL && ifam->ifam_addrs & RTA_IFA) {
usr.sbin/ppp/iface.c
178
realloc(iface->addr, (iface->addrs + 1) * sizeof iface->addr[0]);
usr.sbin/ppp/iface.c
181
iface->addr = addr;
usr.sbin/ppp/iface.c
183
addr += iface->addrs;
usr.sbin/ppp/iface.c
184
iface->addrs++;
usr.sbin/ppp/iface.c
198
return iface;
usr.sbin/ppp/iface.c
354
iface_Name(struct iface *iface, const char *name)
usr.sbin/ppp/iface.c
371
strlcpy(ifr.ifr_name, iface->name, sizeof(ifr.ifr_name));
usr.sbin/ppp/iface.c
380
free(iface->name);
usr.sbin/ppp/iface.c
381
iface->name = newname;
usr.sbin/ppp/iface.c
390
struct iface *iface;
usr.sbin/ppp/iface.c
434
iface = arg->bundle->iface;
usr.sbin/ppp/iface.c
435
strlcpy(ifr.ifr_name, iface->name, sizeof(ifr.ifr_name));
usr.sbin/ppp/iface.c
445
free(iface->descr);
usr.sbin/ppp/iface.c
446
iface->descr = descr;
usr.sbin/ppp/iface.c
452
iface_Clear(struct iface *iface, struct ncp *ncp, int family, int how)
usr.sbin/ppp/iface.c
457
if (iface->addrs) {
usr.sbin/ppp/iface.c
460
for (n = 0; n < iface->addrs; n++) {
usr.sbin/ppp/iface.c
461
af = ncprange_family(&iface->addr[n].ifa);
usr.sbin/ppp/iface.c
463
if (!iface->addr[n].system && (how & IFACE_SYSTEM))
usr.sbin/ppp/iface.c
489
else if (iface_addr_Zap(iface->name, iface->addr + n, *s)) {
usr.sbin/ppp/iface.c
490
ncp_IfaceAddrDeleted(ncp, iface->addr + n);
usr.sbin/ppp/iface.c
491
bcopy(iface->addr + n + 1, iface->addr + n,
usr.sbin/ppp/iface.c
492
(iface->addrs - n - 1) * sizeof *iface->addr);
usr.sbin/ppp/iface.c
493
iface->addrs--;
usr.sbin/ppp/iface.c
509
iface_Add(struct iface *iface, struct ncp *ncp, const struct ncprange *ifa,
usr.sbin/ppp/iface.c
524
for (n = 0; n < iface->addrs; n++) {
usr.sbin/ppp/iface.c
525
if (ncprange_contains(&iface->addr[n].ifa, &ncplocal) ||
usr.sbin/ppp/iface.c
526
ncpaddr_equal(&iface->addr[n].peer, peer)) {
usr.sbin/ppp/iface.c
533
if (ncprange_equal(&iface->addr[n].ifa, ifa) &&
usr.sbin/ppp/iface.c
534
ncpaddr_equal(&iface->addr[n].peer, peer)) {
usr.sbin/ppp/iface.c
536
ncp_IfaceAddrAdded(ncp, iface->addr + n);
usr.sbin/ppp/iface.c
540
removed = iface_addr_Zap(iface->name, iface->addr + n, s);
usr.sbin/ppp/iface.c
542
ncp_IfaceAddrDeleted(ncp, iface->addr + n);
usr.sbin/ppp/iface.c
543
ncprange_copy(&iface->addr[n].ifa, ifa);
usr.sbin/ppp/iface.c
544
ncpaddr_copy(&iface->addr[n].peer, peer);
usr.sbin/ppp/iface.c
545
if (!iface_addr_Add(iface->name, iface->addr + n, s)) {
usr.sbin/ppp/iface.c
547
bcopy(iface->addr + n + 1, iface->addr + n,
usr.sbin/ppp/iface.c
548
(iface->addrs - n - 1) * sizeof *iface->addr);
usr.sbin/ppp/iface.c
549
iface->addrs--;
usr.sbin/ppp/iface.c
556
ncp_IfaceAddrAdded(ncp, iface->addr + n);
usr.sbin/ppp/iface.c
562
(iface->addr, (iface->addrs + 1) * sizeof iface->addr[0]);
usr.sbin/ppp/iface.c
568
iface->addr = addr;
usr.sbin/ppp/iface.c
573
if (!iface_addr_Add(iface->name, &newaddr, s)) {
usr.sbin/ppp/iface.c
581
bcopy(iface->addr, iface->addr + 1, iface->addrs * sizeof *iface->addr);
usr.sbin/ppp/iface.c
583
n = iface->addrs;
usr.sbin/ppp/iface.c
585
iface->addrs++;
usr.sbin/ppp/iface.c
586
memcpy(iface->addr + n, &newaddr, sizeof(*iface->addr));
usr.sbin/ppp/iface.c
589
ncp_IfaceAddrAdded(ncp, iface->addr + n);
usr.sbin/ppp/iface.c
595
iface_Delete(struct iface *iface, struct ncp *ncp, const struct ncpaddr *del)
usr.sbin/ppp/iface.c
606
for (n = res = 0; n < iface->addrs; n++) {
usr.sbin/ppp/iface.c
607
ncprange_getaddr(&iface->addr[n].ifa, &found);
usr.sbin/ppp/iface.c
609
if (iface_addr_Zap(iface->name, iface->addr + n, s)) {
usr.sbin/ppp/iface.c
610
ncp_IfaceAddrDeleted(ncp, iface->addr + n);
usr.sbin/ppp/iface.c
611
bcopy(iface->addr + n + 1, iface->addr + n,
usr.sbin/ppp/iface.c
612
(iface->addrs - n - 1) * sizeof *iface->addr);
usr.sbin/ppp/iface.c
613
iface->addrs--;
usr.sbin/ppp/iface.c
688
iface_Free(struct iface *iface)
usr.sbin/ppp/iface.c
690
free(iface->name);
usr.sbin/ppp/iface.c
691
free(iface->descr);
usr.sbin/ppp/iface.c
692
free(iface->addr);
usr.sbin/ppp/iface.c
693
free(iface);
usr.sbin/ppp/iface.c
697
iface_Destroy(struct iface *iface)
usr.sbin/ppp/iface.c
702
if (iface != NULL) {
usr.sbin/ppp/iface.c
706
strlcpy(ifr.ifr_name, iface->name, sizeof(ifr.ifr_name));
usr.sbin/ppp/iface.c
709
iface->name, strerror(errno));
usr.sbin/ppp/iface.c
711
iface_Free(iface);
usr.sbin/ppp/iface.c
743
struct iface *iface = arg->bundle->iface, *current;
usr.sbin/ppp/iface.c
751
current = iface_Create(iface->name);
usr.sbin/ppp/iface.c
752
flags = iface->flags = current->flags;
usr.sbin/ppp/iface.c
755
prompt_Printf(arg->prompt, "%s (idx %d) <", iface->name, iface->index);
usr.sbin/ppp/iface.c
758
prompt_Printf(arg->prompt, "%s%s", flags == iface->flags ? "" : ",",
usr.sbin/ppp/iface.c
765
prompt_Printf(arg->prompt, "%s0x%x", flags == iface->flags ? "" : ",",
usr.sbin/ppp/iface.c
769
prompt_Printf(arg->prompt, "> mtu %lu has %d address%s:\n", iface->mtu,
usr.sbin/ppp/iface.c
770
iface->addrs, iface->addrs == 1 ? "" : "es");
usr.sbin/ppp/iface.c
772
for (f = 0; f < iface->addrs; f++) {
usr.sbin/ppp/iface.c
773
ncprange_getaddr(&iface->addr[f].ifa, &ncpaddr);
usr.sbin/ppp/iface.c
774
switch (ncprange_family(&iface->addr[f].ifa)) {
usr.sbin/ppp/iface.c
777
if (ncpaddr_family(&iface->addr[f].peer) == AF_UNSPEC)
usr.sbin/ppp/iface.c
780
prompt_Printf(arg->prompt, "%s", ncpaddr_ntoa(&iface->addr[f].peer));
usr.sbin/ppp/iface.c
781
ncprange_getip4mask(&iface->addr[f].ifa, &mask);
usr.sbin/ppp/iface.c
788
if (ncpaddr_family(&iface->addr[f].peer) != AF_UNSPEC)
usr.sbin/ppp/iface.c
790
ncpaddr_ntoa(&iface->addr[f].peer));
usr.sbin/ppp/iface.c
791
ncprange_getwidth(&iface->addr[f].ifa, &width);
usr.sbin/ppp/iface.c
792
if (ncpaddr_family(&iface->addr[f].peer) == AF_UNSPEC)
usr.sbin/ppp/iface.c
794
if ((scopeid = ncprange_scopeid(&iface->addr[f].ifa)) != -1)
usr.sbin/ppp/iface.c
88
struct iface *
usr.sbin/ppp/iface.c
98
struct iface *iface;
usr.sbin/ppp/iface.h
57
extern struct iface *iface_Create(const char *name);
usr.sbin/ppp/iface.h
58
extern void iface_Clear(struct iface *, struct ncp *, int, int);
usr.sbin/ppp/iface.h
59
extern int iface_Name(struct iface *, const char *);
usr.sbin/ppp/iface.h
61
extern int iface_Add(struct iface *, struct ncp *, const struct ncprange *,
usr.sbin/ppp/iface.h
63
extern int iface_Delete(struct iface *, struct ncp *, const struct ncpaddr *);
usr.sbin/ppp/iface.h
67
extern void iface_Free(struct iface *);
usr.sbin/ppp/iface.h
68
extern void iface_Destroy(struct iface *);
usr.sbin/ppp/ipcp.c
1006
if (n == iface->addrs) {
usr.sbin/ppp/ipcp.c
1032
for (n = 0; n < iface->addrs; n++)
usr.sbin/ppp/ipcp.c
1033
if (ncprange_contains(&ipcp->cfg.peer_range, &iface->addr[n].peer)) {
usr.sbin/ppp/ipcp.c
1035
ncpaddr_getip4addr(&iface->addr[n].peer, (u_int32_t *)dec->nakend);
usr.sbin/ppp/ipcp.c
1039
if (n == iface->addrs)
usr.sbin/ppp/ipcp.c
523
struct iface *iface = ipcp->fsm.bundle->iface;
usr.sbin/ppp/ipcp.c
534
for (n = 0; n < iface->addrs; n++) {
usr.sbin/ppp/ipcp.c
535
if (!ncpaddr_getip4(&iface->addr[n].peer, &peer))
usr.sbin/ppp/ipcp.c
542
if (n == iface->addrs)
usr.sbin/ppp/ipcp.c
570
for (n = 0; n < iface->addrs; n++) {
usr.sbin/ppp/ipcp.c
571
ncprange_getaddr(&iface->addr[n].ifa, &ipaddr);
usr.sbin/ppp/ipcp.c
577
if (n == iface->addrs)
usr.sbin/ppp/ipcp.c
687
if (!iface_Add(bundle->iface, &bundle->ncp, &myrange, &hisncpaddr,
usr.sbin/ppp/ipcp.c
692
iface_Clear(bundle->iface, &bundle->ncp, AF_INET,
usr.sbin/ppp/ipcp.c
915
if (!iface_SetFlags(ipcp->fsm.bundle->iface->name, IFF_UP)) {
usr.sbin/ppp/ipcp.c
917
ipcp->fsm.bundle->iface->name);
usr.sbin/ppp/ipcp.c
981
struct iface *iface = bundle->iface;
usr.sbin/ppp/ipcp.c
997
for (n = 0; n < iface->addrs; n++) {
usr.sbin/ppp/ipcp.c
998
if (!ncpaddr_getip4(&iface->addr[n].peer, &peer))
usr.sbin/ppp/ipv6cp.c
231
if (!iface_Add(bundle->iface, &bundle->ncp, &myrange, &ipv6cp->hisaddr,
usr.sbin/ppp/ipv6cp.c
236
iface_Clear(bundle->iface, &bundle->ncp, AF_INET6,
usr.sbin/ppp/ipv6cp.c
398
if (!iface_SetFlags(ipv6cp->fsm.bundle->iface->name, IFF_UP)) {
usr.sbin/ppp/ipv6cp.c
400
" flag on %s\n", ipv6cp->fsm.bundle->iface->name);
usr.sbin/ppp/main.c
431
prompt_Printf(prompt, "Using interface: %s\n", bundle->iface->name);
usr.sbin/ppp/radius.c
868
slot = p->dl->bundle->iface->index;
usr.sbin/ppp/route.c
389
log_Printf(LogDEBUG, "route_IfDelete (%d)\n", bundle->iface->index);
usr.sbin/ppp/route.c
429
if (rtm->rtm_index == bundle->iface->index &&
usr.sbin/ppp/route.c
479
log_Printf(LogDEBUG, "route_UpdateMTU (%d)\n", bundle->iface->index);
usr.sbin/ppp/route.c
513
sa[RTAX_GATEWAY] && rtm->rtm_index == bundle->iface->index) {
usr.sbin/ppp/route.c
518
ncprange_ntoa(&dst), bundle->iface->mtu);
usr.sbin/ppp/route.c
774
add_scope((struct sockaddr *)&sadst, bundle->iface->index);
usr.sbin/ppp/route.c
787
add_scope((struct sockaddr *)&sagw, bundle->iface->index);
usr.sbin/ppp/route.c
892
rtmes.m_rtm.rtm_rmx.rmx_mtu = bundle->iface->mtu;
usr.sbin/ppp/tcpmss.c
178
MAXMSS4(bundle->iface->mtu));
usr.sbin/ppp/tcpmss.c
208
MAXMSS6(bundle->iface->mtu));
usr.sbin/ppp/tun.c
109
info.mtu = bundle->iface->mtu;
usr.sbin/ppp/tun.c
98
ifr.ifr_mtu = bundle->iface->mtu;
usr.sbin/route6d/route6d.c
1702
int iface = 0, rtable = 0;
usr.sbin/route6d/route6d.c
1760
iface++;
usr.sbin/route6d/route6d.c
1764
iface++;
usr.sbin/route6d/route6d.c
1824
iface++;
usr.sbin/route6d/route6d.c
1913
iface++;
usr.sbin/route6d/route6d.c
1919
if (iface) {
usr.sbin/usbconfig/dump.c
340
struct libusb20_interface *iface)
usr.sbin/usbconfig/dump.c
345
idesc = &iface->desc;
usr.sbin/usbconfig/dump.c
347
dump_extra(&iface->extra, " " " " " ");
usr.sbin/usbconfig/dump.c
349
for (z = 0; z != iface->num_endpoints; z++) {
usr.sbin/usbconfig/dump.c
351
dump_endpoint(pdev, iface->endpoints + z);
usr.sbin/usbconfig/usbconfig.c
458
if (libusb20_dev_set_alt_index(pdev, opt->iface,
usr.sbin/usbconfig/usbconfig.c
499
if (libusb20_dev_detach_kernel_driver(pdev, opt->iface)) {
usr.sbin/usbconfig/usbconfig.c
504
if (libusb20_dev_attach_kernel_driver(pdev, opt->iface)) {
usr.sbin/usbconfig/usbconfig.c
58
uint16_t iface;
usr.sbin/usbconfig/usbconfig.c
609
opt->iface = num_id(optarg, "iface");