/freebsd-11-stable/lib/libc/net/ |
H A D | if_nameindex.c | 49 * unsigned int if_index; 59 * an if_index of 0 and an if_name of NULL. The function returns a NULL 125 ifni2->if_index = 136 ifni2->if_index = 0;
|
/freebsd-11-stable/sys/netinet6/ |
H A D | scope6.c | 108 sid->s6id_list[IPV6_ADDR_SCOPE_INTFACELOCAL] = ifp->if_index; 109 sid->s6id_list[IPV6_ADDR_SCOPE_LINKLOCAL] = ifp->if_index; 177 idlist->s6id_list[i] != ifp->if_index) { 267 ifp->if_index; 269 ifp->if_index; 416 zoneid = ifp->if_index; 487 return (ifp->if_index);
|
H A D | nd6.h | 120 u_short if_index; member in struct:in6_drlist::__anon8203 129 u_short if_index; member in struct:in6_defrouter 143 u_short if_index; member in struct:in6_oprlist::__anon8204 160 u_short if_index; member in struct:in6_prlist::__anon8205 176 u_short if_index; member in struct:in6_prefix
|
H A D | send.c | 284 sendsrc.send_ifidx = ifp->if_index;
|
H A D | ip6_fastfwd.c | 283 dst.sin6_addr.s6_addr16[1] = htons(nh.nh_ifp->if_index & 0xffff);
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | netdevice.h | 61 dev_get_by_index(struct vnet *vnet, int if_index) argument 66 retval = ifnet_byindex_ref(if_index);
|
/freebsd-11-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-11-stable/sys/net/ |
H A D | rtsock.c | 698 rtm->rtm_index = saved_nrt->rt_ifp->if_index; 837 rtm->rtm_index = ifp->if_index; 843 rtm->rtm_index = ifp->if_index; 1298 ifm->ifm_index = ifp->if_index; 1336 ifam->ifam_index = ifp->if_index; 1382 rtm->rtm_index = ifp->if_index; 1427 ifmam->ifmam_index = ifp->if_index; 1445 ifan->ifan_index = ifp->if_index; 1584 rtm->rtm_index = rt->rt_ifp->if_index; 1608 ifm32->ifm_index = ifp->if_index; [all...] |
H A D | if_debug.c | 63 IF_DB_PRINTF("%u", if_index);
|
H A D | if_mib.c | 72 CTLFLAG_VNET | CTLFLAG_RD, &VNET_NAME(if_index), 0,
|
H A D | if_epair.c | 716 eaddr[3] = (ifp->if_index >> 8) & 0xff; 717 eaddr[4] = ifp->if_index & 0xff; 807 netisr_get_cpuid(sca->ifp->if_index); 809 netisr_get_cpuid(scb->ifp->if_index); 834 eaddr[3] = (ifp->if_index >> 8) & 0xff; 835 eaddr[4] = ifp->if_index & 0xff;
|
H A D | if_var.h | 199 u_short if_index; /* numeric abbreviation for this if */ member in struct:ifnet 200 short if_index_reserved; /* spare space to grow if_index */ 535 VNET_DECLARE(int, if_index); 540 #define V_if_index VNET(if_index)
|
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_iface.c | 117 handle_ifattach(ch, iif, ifp->if_index); 119 handle_ifdetach(ch, iif, ifp->if_index); 194 ifindex = ifp->if_index;
|
/freebsd-11-stable/sys/netinet/ |
H A D | sctp_bsd_addr.c | 255 ifn->if_index, 342 ifa->ifa_ifp->if_index, ifa->ifa_ifp->if_type, ifa->ifa_ifp->if_xname, 347 ifa->ifa_ifp->if_index,
|
H A D | if_atm.c | 127 SDL(gate)->sdl_index = rt->rt_ifp->if_index; 250 SDL(gate)->sdl_index = rt->rt_ifp->if_index;
|
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_l2t.c | 312 int hash = arp_hash(e->addr, e->ifp->if_index, d); 333 int hash = arp_hash(addr, ifp->if_index, d); 378 int hash = arp_hash(addr, ifp->if_index, d);
|
/freebsd-11-stable/sys/dev/usb/gadget/ |
H A D | g_modem.c | 166 .if_index = 0, 178 .if_index = 1, 190 .if_index = 1,
|
H A D | g_audio.c | 171 .if_index = 1, 183 .if_index = 1, 195 .if_index = 2, 207 .if_index = 2,
|
/freebsd-11-stable/usr.sbin/rtsold/ |
H A D | probe.c | 131 if (ifindex != p->if_index)
|
/freebsd-11-stable/sys/netgraph/bluetooth/drivers/ubtbcmfw/ |
H A D | ubtbcmfw.c | 133 .if_index = UBTBCMFW_IFACE_IDX, 144 .if_index = UBTBCMFW_IFACE_IDX,
|
/freebsd-11-stable/sys/dev/usb/net/ |
H A D | if_cdce.c | 132 .if_index = 0, 145 .if_index = 0, 158 .if_index = 1, 170 .if_index = 1, 186 .if_index = 0, 199 .if_index = 0, 212 .if_index = 1, 224 .if_index = 1,
|
/freebsd-11-stable/sys/netgraph/bluetooth/drivers/ubt/ |
H A D | ng_ubt.c | 289 .if_index = 0, 299 .if_index = 0, 309 .if_index = 0, 319 .if_index = 0, 334 .if_index = 1, 345 .if_index = 1, 356 .if_index = 1, 367 .if_index = 1,
|
/freebsd-11-stable/sys/dev/cxgbe/tom/ |
H A D | t4_tom_l2t.c | 366 hash = l2_hash(d, sa, ifp->if_index); 420 hash = l2_hash(d, sa, ifp->if_index);
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_addr.c | 149 dev_addr->bound_dev_if = dev->if_index; 165 dev_addr->bound_dev_if = dev->if_index; 657 if (addr->bound_dev_if == dev->if_index) 885 dev_addr.bound_dev_if = dev->if_index;
|
/freebsd-11-stable/sys/dev/usb/serial/ |
H A D | umodem.c | 235 .if_index = 0, 246 .if_index = 0, 257 .if_index = 1, 268 .if_index = 1,
|