/external/android-clat/ |
setroute.c | 50 uint32_t ifindex; local 58 if (!(ifindex = if_nametoindex(ifname))) { 111 if(nla_put(msg, RTA_OIF, 4, &ifindex) < 0) {
|
getaddr.c | 34 unsigned int ifindex; member in struct:target 53 if(ifa_p->ifa_index != targ_p->ifindex) 105 targ.ifindex = if_nametoindex(interface); 106 if(targ.ifindex == 0) {
|
/external/iproute2/include/linux/tc_act/ |
tc_mirred.h | 16 __u32 ifindex; /* ifindex of egress port */ member in struct:tc_mirred
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/tc_act/ |
tc_mirred.h | 16 __u32 ifindex; /* ifindex of egress port */ member in struct:tc_mirred
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/tc_act/ |
tc_mirred.h | 16 __u32 ifindex; /* ifindex of egress port */ member in struct:tc_mirred
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/tc_act/ |
tc_mirred.h | 16 __u32 ifindex; /* ifindex of egress port */ member in struct:tc_mirred
|
/external/iputils/ninfod/ |
ninfod_addrs.c | 155 unsigned int ifindex = 0; local 177 if (!ifindex && 185 ifindex = p->pktinfo.ipi6_ifindex; 196 if (!ifindex || 197 (p->pktinfo.ipi6_ifindex == ifindex)) 198 ifindex = ifa->ifa_ifindex; 201 if (!ifindex) { 206 *subj_if = ifindex; 208 ifindex = subj_if ? *subj_if : 0; 209 if (ifindex == 0 324 unsigned int ifindex = 0; local [all...] |
/external/wpa_supplicant_8/src/drivers/ |
linux_ioctl.c | 163 int ifindex; local 165 ifindex = if_nametoindex(ifname); 166 if (ifindex == 0) 171 ifr.ifr_ifindex = ifindex; 185 int ifindex; local 187 ifindex = if_nametoindex(ifname); 188 if (ifindex == 0) 193 ifr.ifr_ifindex = ifindex;
|
driver_wext.h | 21 int ifindex; member in struct:wpa_driver_wext_data
|
driver_madwifi.c | 78 int ifindex; member in struct:madwifi_driver_data 994 if (ifi->ifi_index != drv->ifindex) 1157 drv->ifindex = ifr.ifr_ifindex; [all...] |
/external/wpa_supplicant_8/src/ap/ |
preauth_auth.c | 37 int ifindex; member in struct:rsn_preauth_interface
|
iapp.c | 389 int ifindex; local 418 ifindex = ifr.ifr_ifindex; 478 addr.sll_ifindex = ifindex;
|
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_linux.c | 22 int ifindex; member in struct:l2_packet_data 54 ll.sll_ifindex = l2->ifindex; 126 l2->ifindex = ifr.ifr_ifindex;
|
/external/tcpdump/missing/ |
getnameinfo.c | 232 unsigned int ifindex = local 236 if ((if_indextoname(ifindex, ep + 1)) == NULL)
|
/bionic/libc/netbsd/net/ |
getnameinfo.c | 424 unsigned int ifindex; local 431 ifindex = (unsigned int)sa6->sin6_scope_id; 447 char *p = if_indextoname(ifindex, buf);
|
/external/dhcpcd/ |
if-linux.c | 534 unsigned int ifindex; local 537 if (!(ifindex = if_nametoindex(rt->iface->name))) { 588 add_attr_32(&nlm->hdr, sizeof(*nlm), RTA_OIF, ifindex);
|
/external/iproute2/ip/ |
ipntable.c | 145 __u32 ifindex; local 148 ifindex = ll_name_to_index(*argv); 149 if (ifindex == 0) { 155 NDTPA_IFINDEX, ifindex); 389 __u32 ifindex = rta_getattr_u32(tpb[NDTPA_IFINDEX]); local 391 if (filter.index && filter.index != ifindex) 472 __u32 ifindex = rta_getattr_u32(tpb[NDTPA_IFINDEX]); local 475 fprintf(fp, "dev %s ", ll_index_to_name(ifindex));
|
iplink.c | 396 int ifindex; local 398 ifindex = ll_name_to_index(*argv); 399 if (!ifindex) 402 &ifindex, 4); 404 int ifindex = 0; local 406 &ifindex, 4); 535 int ifindex; local 537 ifindex = ll_name_to_index(link); 538 if (ifindex == 0) { 543 addattr_l(&req.n, sizeof(req), IFLA_LINK, &ifindex, 4) [all...] |
ipaddress.c | 40 int ifindex; member in struct:__anon21141 376 if (filter.ifindex && ifi->ifi_index != filter.ifindex) 383 fprintf(stderr, "BUG: device with ifindex %d has nil ifname\n", ifi->ifi_index); 535 if (filter.ifindex && filter.ifindex != ifa->ifa_index) 720 static int print_selected_addrinfo(int ifindex, struct nlmsg_list *ainfo, FILE *fp) 732 if (ifa->ifa_index != ifindex || 869 filter.ifindex = ll_name_to_index(filter_dev); 870 if (filter.ifindex <= 0) [all...] |
ipxfrm.c | 506 if (sel->ifindex > 0) 507 fprintf(fp, "dev %s ", ll_index_to_name(sel->ifindex)); 1343 int ifindex; local 1348 ifindex = 0; 1350 ifindex = ll_name_to_index(*argv); 1351 if (ifindex <= 0) 1354 sel->ifindex = ifindex;
|
/external/iproute2/misc/ |
ifstat.c | 58 int ifindex; member in struct:ifstat_ent 107 n->ifindex = ifi->ifi_index; 174 if (sscanf(buf, "%d", &n->ifindex) != 1) 227 if (h1->ifindex == n->ifindex) { 235 fprintf(fp, "%d %s ", n->ifindex, n->name); 406 if (h1->ifindex == n->ifindex) { 441 if (h1->ifindex == n->ifindex) { [all...] |
/external/ipsec-tools/src/racoon/ |
sockmisc.c | 565 int ifindex; local 572 ifindex = 0; 575 ifindex = src6.sin6_scope_id; /*???*/ 601 pi->ipi6_ifindex = ifindex; 637 int ifindex = 0; local 661 pi->ipi_ifindex = ifindex;
|
/external/iputils/ |
rarpd.c | 70 int ifindex; member in struct:rarp_map 239 struct ifaddr *select_ipaddr(int ifindex, __u32 *sel_addr, __u32 **alist) 248 if (ifl->index == ifindex) 280 struct rarp_map *rarp_lookup(int ifindex, int hatype, 290 if (r->ifindex != ifindex && r->ifindex != 0) 318 ifa = select_ipaddr(ifindex, &emap.ipaddr, (__u32 **)hp->h_addr_list); 347 int put_mylladdr(unsigned char **ptr_p, int ifindex, int alen) 352 if (ifl->index == ifindex) [all...] |
/external/kernel-headers/original/linux/ |
if_pppox.h | 161 int ifindex; /* ifindex of device associated with socket */ member in struct:pppoe_opt 209 #define pppoe_ifindex proto.pppoe.ifindex
|
/external/libpcap/ |
pcap-int.h | 101 int ifindex; /* interface index of device we're bound to */ member in struct:pcap_md
|