Defined in 1 files as a variable:
Defined in 2 files as a struct:
Defined in 2 files as a member:
Referenced in 277 files:
- contrib/bsnmp/snmp_mibII/mibII.c, 4 times
- contrib/bsnmp/snmp_mibII/mibII_interfaces.c, line 72
- contrib/ipfilter/bpf-ipf.h, 4 times
- contrib/ipfilter/ipsend/sbpf.c, line 64
- contrib/ipfilter/ipsend/snit.c, line 66
- contrib/ipfilter/ipsend/sockraw.c, line 40
- contrib/ipfilter/tools/ipfsyncd.c, line 318
- contrib/libpcap/fad-gifc.c, 5 times
- contrib/libpcap/pcap-bpf.c, 6 times
- contrib/libpcap/pcap-linux.c, 14 times
- contrib/libpcap/pcap-netmap.c, line 134
- contrib/libpcap/pcap-snit.c, line 286
- contrib/libpcap/pcap-snoop.c, line 211
- contrib/libpcap/pcap.c, 2 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.cpp, line 176
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp, line 677
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp, line 391
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_solaris.cpp, line 130
- contrib/netbsd-tests/net/bpf/t_bpf.c, 3 times
- contrib/netbsd-tests/net/bpfilter/t_bpfilter.c, 2 times
- contrib/netbsd-tests/net/if/ifconf.c, 5 times
- contrib/netbsd-tests/net/if/t_compat.c, 7 times
- contrib/netbsd-tests/net/if_loop/t_pr.c, line 68
- contrib/ngatm/snmp_atm/snmp_atm.c, line 218
- contrib/ntp/include/ntif.h, line 87
- contrib/ntp/lib/isc/unix/ifiter_ioctl.c, 40 times
- contrib/ntp/ntpd/ntp_io.c, line 1623
- contrib/pf/pflogd/pflogd.c, line 241
- contrib/sendmail/src/conf.c, 5 times
- contrib/traceroute/ifaddrlist.c, 6 times
- contrib/wpa/src/ap/iapp.c, line 378
- contrib/wpa/src/ap/vlan_full.c, 4 times
- contrib/wpa/src/ap/vlan_ifconfig.c, line 22
- contrib/wpa/src/drivers/driver_atheros.c, line 1732
- contrib/wpa/src/drivers/driver_bsd.c, 4 times
- contrib/wpa/src/drivers/driver_hostap.c, 2 times
- contrib/wpa/src/drivers/driver_macsec_linux.c, line 1468
- contrib/wpa/src/drivers/driver_macsec_qca.c, line 194
- contrib/wpa/src/drivers/driver_nl80211_android.c, 2 times
- contrib/wpa/src/drivers/driver_openbsd.c, line 33
- contrib/wpa/src/drivers/driver_wired.c, line 171
- contrib/wpa/src/drivers/driver_wired_common.c, 3 times
- contrib/wpa/src/wps/wps_upnp.c, line 920
- contrib/wpa/src/wps/wps_upnp_ssdp.c, line 865
- crypto/heimdal/lib/roken/getifaddrs.c, 23 times
- crypto/openssh/misc.c, line 1038
- crypto/openssh/openbsd-compat/port-net.c, 2 times
- lib/libc/net/if_nametoindex.c, line 69
- lib/libifconfig/libifconfig.c, 15 times
- lib/libifconfig/libifconfig_carp.c, line 48
- lib/libifconfig/libifconfig_sfp.c, line 56
- libexec/bootpd/bootpd.c, line 1086
- libexec/bootpd/bootpgw/bootpgw.c, 2 times
- libexec/bootpd/getether.c, 7 times
- libexec/bootpd/getif.c, 12 times
- libexec/bootpd/getif.h, line 4
- libexec/bootpd/tools/bootptest/bootptest.c, line 316
- libexec/bootpd/trygetif.c, line 38
- libexec/rbootd/bpf.c, 5 times
- sbin/dhclient/dhcpd.h, line 211
- sbin/dhclient/dispatch.c, 4 times
- sbin/ifconfig/af_inet.c, 2 times
- sbin/ifconfig/af_link.c, 2 times
- sbin/ifconfig/ifclone.c, line 129
- sbin/ifconfig/ifconfig.c, 9 times
- sbin/ifconfig/ifconfig.h, 3 times
- sbin/ifconfig/iffib.c, line 51
- sbin/ifconfig/ifieee80211.c, line 5749
- sbin/ifconfig/iflagg.c, line 324
- sbin/ifconfig/ifmac.c, 2 times
- sbin/ifconfig/ifvlan.c, 3 times
- sbin/ifconfig/ifvxlan.c, line 188
- sbin/ifconfig/sfp.c, line 58
- sbin/nos-tun/nos-tun.c, line 86
- sbin/pfctl/pfctl_altq.c, 2 times
- sbin/routed/if.c, line 672
- sbin/sconfig/sconfig.c, line 158
- sbin/spppcontrol/spppcontrol.c, line 64
- sys/arm/allwinner/if_awg.c, 2 times
- sys/arm/allwinner/if_emac.c, 2 times
- sys/arm/ti/cpsw/if_cpsw.c, 2 times
- sys/arm64/broadcom/genet/if_genet.c, 2 times
- sys/compat/linux/linux_ioctl.c, 7 times
- sys/dev/ae/if_ae.c, 2 times
- sys/dev/age/if_age.c, 2 times
- sys/dev/al_eth/al_eth.c, 2 times
- sys/dev/alc/if_alc.c, 2 times
- sys/dev/ale/if_ale.c, 2 times
- sys/dev/altera/atse/if_atse.c, 4 times
- sys/dev/an/if_an.c, 2 times
- sys/dev/ath/if_ath_ioctl.c, line 239
- sys/dev/ath/if_athioctl.h, 3 times
- sys/dev/axgbe/if_axgbe.c, 2 times
- sys/dev/bce/if_bce.c, 2 times
- sys/dev/beri/virtio/network/if_vtbe.c, 2 times
- sys/dev/bfe/if_bfe.c, 2 times
- sys/dev/bge/if_bge.c, 2 times
- sys/dev/bnxt/if_bnxt.c, 2 times
- sys/dev/bxe/bxe.c, 2 times
- sys/dev/cadence/if_cgem.c, 2 times
- sys/dev/cas/if_cas.c, 2 times
- sys/dev/cxgb/cxgb_main.c, 2 times
- sys/dev/cxgbe/t4_main.c, 2 times
- sys/dev/cxgbe/t4_tracer.c, 2 times
- sys/dev/dc/if_dc.c, 2 times
- sys/dev/dme/if_dme.c, 2 times
- sys/dev/dpaa/if_dtsec.c, 2 times
- sys/dev/dwc/if_dwc.c, 2 times
- sys/dev/ena/ena.c, 2 times
- sys/dev/et/if_et.c, 2 times
- sys/dev/etherswitch/etherswitch.h, line 90
- sys/dev/ffec/if_ffec.c, 2 times
- sys/dev/firewire/if_fwe.c, 2 times
- sys/dev/firewire/if_fwip.c, 2 times
- sys/dev/fxp/if_fxp.c, 2 times
- sys/dev/gem/if_gem.c, 2 times
- sys/dev/gxemul/ether/if_gx.c, 2 times
- sys/dev/hme/if_hme.c, 2 times
- sys/dev/hyperv/netvsc/if_hn.c, 6 times
- sys/dev/if_ndis/if_ndis.c, 3 times
- sys/dev/iicbus/if_ic.c, 2 times
- sys/dev/iwi/if_iwi.c, line 2054
- sys/dev/iwi/if_iwi_ioctl.h, 2 times
- sys/dev/ixl/ixl_pf.h, line 356
- sys/dev/jme/if_jme.c, 2 times
- sys/dev/le/lance.c, 2 times
- sys/dev/lge/if_lge.c, 2 times
- sys/dev/liquidio/lio_ioctl.c, 2 times
- sys/dev/malo/if_maloioctl.h, line 73
- sys/dev/mge/if_mge.c, 2 times
- sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c, 2 times
- sys/dev/mlx5/mlx5_en/mlx5_en_main.c, 5 times
- sys/dev/msk/if_msk.c, 2 times
- sys/dev/mwl/if_mwl.c, line 4728
- sys/dev/mwl/if_mwlioctl.h, line 95
- sys/dev/mxge/if_mxge.c, 3 times
- sys/dev/my/if_my.c, 2 times
- sys/dev/neta/if_mvneta.c, 2 times
- sys/dev/netfpga10g/nf10bmac/if_nf10bmac.c, 2 times
- sys/dev/netmap/if_ptnet.c, 2 times
- sys/dev/nfe/if_nfe.c, 2 times
- sys/dev/nge/if_nge.c, 2 times
- sys/dev/ntb/if_ntb/if_ntb.c, 2 times
- sys/dev/oce/oce_if.c, 4 times
- sys/dev/ppbus/if_plip.c, 2 times
- sys/dev/qlnx/qlnxe/qlnx_os.c, 2 times
- sys/dev/qlxgb/qla_os.c, 2 times
- sys/dev/qlxgbe/ql_os.c, 2 times
- sys/dev/qlxge/qls_os.c, 2 times
- sys/dev/re/if_re.c, 2 times
- sys/dev/rl/if_rl.c, 2 times
- sys/dev/rt/if_rt.c, 2 times
- sys/dev/rtwn/rtl8812a/r12a_caps.c, 2 times
- sys/dev/sbni/if_sbni.c, 2 times
- sys/dev/sbni/if_sbnivar.h, 4 times
- sys/dev/sfxge/sfxge.c, 2 times
- sys/dev/sge/if_sge.c, 2 times
- sys/dev/sis/if_sis.c, 2 times
- sys/dev/sk/if_sk.c, 2 times
- sys/dev/smc/if_smc.c, 3 times
- sys/dev/smc/if_smcvar.h, line 63
- sys/dev/ste/if_ste.c, 2 times
- sys/dev/stge/if_stge.c, 2 times
- sys/dev/sume/if_sume.c, 2 times
- sys/dev/ti/if_ti.c, 2 times
- sys/dev/tsec/if_tsec.c, 2 times
- sys/dev/usb/net/if_axe.c, 2 times
- sys/dev/usb/net/if_axge.c, 2 times
- sys/dev/usb/net/if_muge.c, 2 times
- sys/dev/usb/net/if_smsc.c, 2 times
- sys/dev/usb/net/if_ure.c, 2 times
- sys/dev/usb/net/usb_ethernet.c, 2 times
- sys/dev/usb/wlan/if_rsu.c, 2 times
- sys/dev/vge/if_vge.c, 2 times
- sys/dev/virtio/network/if_vtnet.c, 2 times
- sys/dev/vnic/nicvf_main.c, 2 times
- sys/dev/vr/if_vr.c, 2 times
- sys/dev/vte/if_vte.c, 2 times
- sys/dev/wi/if_wavelan_ieee.h, 2 times
- sys/dev/wtap/if_wtapioctl.h, 2 times
- sys/dev/xen/netback/netback.c, 2 times
- sys/dev/xen/netfront/netfront.c, 2 times
- sys/dev/xilinx/if_xae.c, 2 times
- sys/dev/xl/if_xl.c, 2 times
- sys/fs/nfsclient/nfs_clvfsops.c, line 405
- sys/i386/include/if_wl_wavelan.h, 9 times
- sys/mips/atheros/ar531x/if_are.c, 2 times
- sys/mips/atheros/if_arge.c, 2 times
- sys/mips/cavium/if_octm.c, 2 times
- sys/mips/cavium/octe/octe.c, 2 times
- sys/mips/nlm/dev/net/xlpge.c, 2 times
- sys/net/bpf.c, 5 times
- sys/net/bpf.h, 2 times
- sys/net/debugnet.c, line 520
- sys/net/if.c, 16 times
- sys/net/if.h, 3 times
- sys/net/if_bridge.c, 3 times
- sys/net/if_disc.c, 2 times
- sys/net/if_edsc.c, 2 times
- sys/net/if_epair.c, 2 times
- sys/net/if_ethersubr.c, 2 times
- sys/net/if_fwsubr.c, 2 times
- sys/net/if_gif.c, 2 times
- sys/net/if_gif.h, 2 times
- sys/net/if_gre.c, 2 times
- sys/net/if_gre.h, 12 times
- sys/net/if_ipsec.c, 2 times
- sys/net/if_ipsec.h, 2 times
- sys/net/if_lagg.c, 4 times
- sys/net/if_loop.c, 2 times
- sys/net/if_me.c, 2 times
- sys/net/if_media.c, line 207
- sys/net/if_media.h, line 108
- sys/net/if_pfsync.h, 2 times
- sys/net/if_spppsubr.c, 4 times
- sys/net/if_stf.c, 3 times
- sys/net/if_tun.h, line 43
- sys/net/if_tuntap.c, 4 times
- sys/net/if_var.h, line 734
- sys/net/if_vlan.c, 2 times
- sys/net/if_vxlan.c, 2 times
- sys/net/iflib.c, 2 times
- sys/net80211/ieee80211_ioctl.c, 4 times
- sys/net80211/ieee80211_ioctl.h, line 601
- sys/netgraph/ng_eiface.c, 2 times
- sys/netgraph/ng_iface.c, 2 times
- sys/netinet/in.c, 4 times
- sys/netinet/in_gif.c, 2 times
- sys/netinet/ip_carp.c, line 1724
- sys/netinet/ip_carp.h, 4 times
- sys/netinet/ip_gre.c, 2 times
- sys/netinet6/in6.c, line 122
- sys/netpfil/pf/if_pfsync.c, 2 times
- sys/nfs/bootp_subr.c, 4 times
- sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c, 3 times
- sys/powerpc/ps3/if_glc.c, 2 times
- sys/powerpc/pseries/phyp_llan.c, line 553
- sys/security/mac/mac_framework.h, 3 times
- sys/security/mac/mac_net.c, 2 times
- sys/sys/sockio.h, 50 times
- tests/sys/net/if_epair.c, line 53
- tests/sys/net/routing/rtsock_common.h, 5 times
- tests/sys/netinet/ip_reass_test.c, line 140
- tools/regression/ethernet/ethermulti/ethermulti.c, 3 times
- tools/regression/netinet/msocket_ifnet_remove/msocket_ifnet_remove.c, 2 times
- tools/tools/ath/athaggrstats/athaggrstats.c, line 155
- tools/tools/ath/athradar/athradar.c, line 44
- tools/tools/ath/athspectral/athspectral.c, line 44
- tools/tools/ath/common/ctrl.c, 3 times
- tools/tools/mcgrab/mcgrab.cc, 9 times
- tools/tools/mctest/mctest.cc, 12 times
- tools/tools/mwl/mwlstats/mwlstats.c, line 248
- tools/tools/net80211/stumbler/stumbler.c, 2 times
- tools/tools/net80211/w00t/libw00t/w00t.c, 2 times
- tools/tools/net80211/wesside/wesside/wesside.c, 4 times
- tools/tools/net80211/wlaninject/wlaninject.c, 2 times
- tools/tools/net80211/wlanstats/wlanstats.c, line 394
- tools/tools/net80211/wlanwds/wlanwds.c, line 544
- tools/tools/netmap/pkt-gen.c, 8 times
- tools/tools/vimage/vimage.c, 10 times
- usr.sbin/ancontrol/ancontrol.c, 2 times
- usr.sbin/arp/arp.c, 13 times
- usr.sbin/bluetooth/btpand/tap.c, line 58
- usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c, 3 times
- usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c, 5 times
- usr.sbin/mtest/mtest.c, 2 times
- usr.sbin/ppp/iface.c, 4 times
- usr.sbin/ppp/tun.c, line 89
- usr.sbin/rarpd/rarpd.c, line 413
- usr.sbin/rtadvd/if.c, line 485
- usr.sbin/rtsold/if.c, 2 times
- usr.sbin/uhsoctl/uhsoctl.c, 2 times
- usr.sbin/usbdump/usbdump.c, line 819
- usr.sbin/wake/wake.c, line 89
- usr.sbin/wpa/ndis_events/ndis_events.c, line 173
- usr.sbin/wpa/wpa_supplicant/Packet32.c, 4 times
- usr.sbin/wpa/wpa_supplicant/Packet32.h, 2 times