/freebsd-13-stable/lib/libc/net/ |
H A D | if_nameindex.c | 51 * unsigned int if_index; 61 * an if_index of 0 and an if_name of NULL. The function returns a NULL 127 ifni2->if_index = 138 ifni2->if_index = 0;
|
/freebsd-13-stable/sys/netinet6/ |
H A D | scope6.c | 106 sid->s6id_list[IPV6_ADDR_SCOPE_INTFACELOCAL] = ifp->if_index; 107 sid->s6id_list[IPV6_ADDR_SCOPE_LINKLOCAL] = ifp->if_index; 175 idlist->s6id_list[i] != ifp->if_index) { 266 ifp->if_index; 268 ifp->if_index; 415 zoneid = ifp->if_index; 479 return (ifp->if_index); 510 return (ifp->if_index);
|
H A D | nd6.h | 125 u_short if_index; member in struct:in6_defrouter 138 u_short if_index; member in struct:in6_prefix
|
H A D | send.c | 303 sendsrc.send_ifidx = ifp->if_index;
|
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | netdevice.h | 61 dev_get_by_index(struct vnet *vnet, int if_index) argument 68 retval = ifnet_byindex_ref(if_index);
|
/freebsd-13-stable/contrib/wpa/src/ap/ |
H A D | vlan_full.c | 138 int if_index; local 150 if_index = if_nametoindex(if_name); 152 if (if_index == 0) { 161 args[1] = if_index; 193 int if_index; local 210 if_index = if_nametoindex(if_name); 212 if (if_index == 0) { 221 args[1] = if_index;
|
/freebsd-13-stable/sys/netinet/ |
H A D | sctp_bsd_addr.c | 253 ifn->if_index, 340 ifa->ifa_ifp->if_index, ifa->ifa_ifp->if_type, ifa->ifa_ifp->if_xname, 344 ifa->ifa_ifp->if_index,
|
/freebsd-13-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_iface.c | 116 handle_ifattach(ch, iif, ifp->if_index); 118 handle_ifdetach(ch, iif, ifp->if_index); 193 ifindex = ifp->if_index;
|
/freebsd-13-stable/sys/net/ |
H A D | if_debug.c | 65 IF_DB_PRINTF("%u", if_index);
|
H A D | if_mib.c | 73 CTLFLAG_VNET | CTLFLAG_RD, &VNET_NAME(if_index), 0,
|
H A D | rtsock.c | 968 rtm->rtm_index = ifp->if_index; 974 rtm->rtm_index = ifp->if_index; 1129 rtm->rtm_index = nh->nh_ifp->if_index; 1912 ifm->ifm_index = ifp->if_index; 1950 ifam->ifam_index = ifp->if_index; 2024 rtm->rtm_index = info->rti_ifp->if_index; 2071 ifmam->ifmam_index = ifp->if_index; 2089 ifan->ifan_index = ifp->if_index; 2277 rtm->rtm_index = nh->nh_ifp->if_index; 2301 ifm32->ifm_index = ifp->if_index; [all...] |
H A D | if_var.h | 303 u_short if_index; /* numeric abbreviation for this if */ member in struct:ifnet 304 short if_index_reserved; /* spare space to grow if_index */ 625 VNET_DECLARE(int, if_index); 630 #define V_if_index VNET(if_index)
|
H A D | if_epair.c | 816 netisr_get_cpuid(sca->ifp->if_index); 818 netisr_get_cpuid(scb->ifp->if_index); 855 if (ifp->if_index > next_index) 856 next_index = ifp->if_index;
|
H A D | if.c | 296 VNET_DEFINE(int, if_index); 311 * if_index, if_indexlim, and ifindex_table) are protected by an sxlock. 385 /* Catch if_index overflow. */ 617 ifp->if_index = idx; 651 ifnet_setbyindex(ifp->if_index, ifp); 722 KASSERT(ifp == ifnet_byindex(ifp->if_index), 725 ifindex_free_locked(ifp->if_index); 865 if (ifp->if_index == 0 || ifp != ifnet_byindex(ifp->if_index)) 922 sdl->sdl_index = ifp->if_index; [all...] |
/freebsd-13-stable/sys/dev/usb/gadget/ |
H A D | g_modem.c | 168 .if_index = 0, 180 .if_index = 1, 192 .if_index = 1,
|
H A D | g_audio.c | 173 .if_index = 1, 185 .if_index = 1, 197 .if_index = 2, 209 .if_index = 2,
|
/freebsd-13-stable/sys/netgraph/bluetooth/drivers/ubt/ |
H A D | ng_ubt.c | 292 .if_index = 0, 302 .if_index = 0, 312 .if_index = 0, 322 .if_index = 0, 337 .if_index = 1, 348 .if_index = 1, 359 .if_index = 1, 370 .if_index = 1,
|
/freebsd-13-stable/sys/netgraph/bluetooth/drivers/ubtbcmfw/ |
H A D | ubtbcmfw.c | 135 .if_index = UBTBCMFW_IFACE_IDX, 146 .if_index = UBTBCMFW_IFACE_IDX,
|
/freebsd-13-stable/sys/dev/usb/net/ |
H A D | if_cdce.c | 134 .if_index = 0, 147 .if_index = 0, 160 .if_index = 1, 172 .if_index = 1, 187 .if_index = 0, 200 .if_index = 0, 213 .if_index = 1, 225 .if_index = 1,
|
/freebsd-13-stable/sys/net/route/ |
H A D | nhop_ctl.c | 210 sdl->sdl_index = ifp->if_index; 834 pnhe->ifindex = nh->nh_ifp->if_index; 835 pnhe->aifindex = nh->nh_aifp->if_index;
|
H A D | nhop.c | 218 ifindex = nh->nh_ifp->if_index & 0xFFFF;
|
/freebsd-13-stable/sys/dev/cxgbe/tom/ |
H A D | t4_tom_l2t.c | 376 hash = l2_hash(d, sa, ifp->if_index); 425 hash = l2_hash(d, sa, ifp->if_index);
|
/freebsd-13-stable/sys/dev/usb/serial/ |
H A D | umodem.c | 236 .if_index = 0, 247 .if_index = 0, 258 .if_index = 1, 269 .if_index = 1,
|
/freebsd-13-stable/usr.sbin/rtsold/ |
H A D | cap_sendmsg.c | 160 if (ifindex != p->if_index)
|
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_addr.c | 152 dev_addr->bound_dev_if = dev->if_index; 168 dev_addr->bound_dev_if = dev->if_index; 643 if (addr->bound_dev_if == dev->if_index) 870 dev_addr.bound_dev_if = dev->if_index;
|