/freebsd-11.0-release/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.0-release/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; 483 return (ifp->if_index);
|
H A D | nd6.h | 120 u_short if_index; member in struct:in6_drlist::__anon12772 129 u_short if_index; member in struct:in6_defrouter 143 u_short if_index; member in struct:in6_oprlist::__anon12773 160 u_short if_index; member in struct:in6_prlist::__anon12774 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 | nd6.c | 187 gw.sdl_index = ifp->if_index; 1169 if (V_nd6_defifindex == ifp->if_index) 1321 V_nd6_defifindex == ifp->if_index) { 2618 d.if_index = dr->ifp->if_index; 2663 p.if_index = pr->ndpr_ifp->if_index;
|
/freebsd-11.0-release/sys/net/ |
H A D | rtsock.c | 690 rtm->rtm_index = saved_nrt->rt_ifp->if_index; 829 rtm->rtm_index = ifp->if_index; 835 rtm->rtm_index = ifp->if_index; 1277 ifm->ifm_index = ifp->if_index; 1315 ifam->ifam_index = ifp->if_index; 1361 rtm->rtm_index = ifp->if_index; 1406 ifmam->ifmam_index = ifp->if_index; 1424 ifan->ifan_index = ifp->if_index; 1559 rtm->rtm_index = rt->rt_ifp->if_index; 1584 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 | 727 eaddr[3] = (ifp->if_index >> 8) & 0xff; 728 eaddr[4] = ifp->if_index & 0xff; 810 netisr_get_cpuid(sca->ifp->if_index % netisr_get_cpucount()); 812 netisr_get_cpuid(scb->ifp->if_index % netisr_get_cpucount()); 837 eaddr[3] = (ifp->if_index >> 8) & 0xff; 838 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 */ 522 VNET_DECLARE(int, if_index); 527 #define V_if_index VNET(if_index)
|
H A D | if.c | 201 VNET_DEFINE(int, if_index); 216 * if_index, if_indexlim, and ifindex_table) are protected by an sxlock and 300 /* Catch if_index overflow. */ 455 ifp->if_index = idx; 486 ifnet_setbyindex(ifp->if_index, ifp); 532 KASSERT(ifp == ifnet_byindex_locked(ifp->if_index), 535 ifindex_free_locked(ifp->if_index); 675 if (ifp->if_index == 0 || ifp != ifnet_byindex(ifp->if_index)) 732 sdl->sdl_index = ifp->if_index; [all...] |
/freebsd-11.0-release/sys/netinet/ |
H A D | sctp_bsd_addr.c | 258 ifn->if_index, 343 ifa->ifa_ifp->if_index, ifa->ifa_ifp->if_type, ifa->ifa_ifp->if_xname, 348 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.0-release/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-11.0-release/contrib/wpa/src/ap/ |
H A D | vlan_init.c | 195 int if_index; local 204 if_index = if_nametoindex(if_name); 206 if (if_index == 0) { 215 args[1] = if_index; 246 int if_index; local 255 if_index = if_nametoindex(if_name); 257 if (if_index == 0) { 266 args[1] = if_index;
|
/freebsd-11.0-release/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.0-release/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.0-release/usr.sbin/rtsold/ |
H A D | probe.c | 131 if (ifindex != p->if_index)
|
/freebsd-11.0-release/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.0-release/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.0-release/sys/netgraph/bluetooth/drivers/ubtbcmfw/ |
H A D | ubtbcmfw.c | 133 .if_index = UBTBCMFW_IFACE_IDX, 144 .if_index = UBTBCMFW_IFACE_IDX,
|
/freebsd-11.0-release/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.0-release/sys/dev/usb/serial/ |
H A D | umodem.c | 221 .if_index = 0, 232 .if_index = 0, 243 .if_index = 1, 254 .if_index = 1,
|
/freebsd-11.0-release/usr.sbin/arp/ |
H A D | arp.c | 609 for (p = ifnameindex; p && ifnameindex->if_index && 611 if (p->if_index == sdl->sdl_index) {
|