/external/libnl/src/ |
nl-link-name2ifindex.c | 17 printf("Usage: nl-link-ifindex2name <ifindex>\n"); 25 uint32_t ifindex; local 34 if (!(ifindex = rtnl_link_name2i(link_cache, argv[1]))) 38 printf("%u\n", ifindex);
|
nl-link-ifindex2name.c | 17 printf("Usage: nl-link-ifindex2name <ifindex>\n"); 26 uint32_t ifindex; local 35 ifindex = nl_cli_parse_u32(argv[1]); 37 if (!rtnl_link_i2name(link_cache, ifindex, name, sizeof(name))) 39 ifindex);
|
/external/iproute2/ip/ |
iplink_hsr.c | 47 int ifindex; local 59 ifindex = ll_name_to_index(*argv); 60 if (ifindex == 0) 62 addattr_l(n, 1024, IFLA_HSR_SLAVE1, &ifindex, 4); 65 ifindex = ll_name_to_index(*argv); 66 if (ifindex == 0) 68 addattr_l(n, 1024, IFLA_HSR_SLAVE2, &ifindex, 4);
|
/bionic/libc/kernel/uapi/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/development/ndk/platforms/android-21/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/external/android-clat/ |
getaddr.c | 34 unsigned int ifindex; member in struct:target 53 if(ifa_p->ifa_index != targ_p->ifindex) 107 targ.ifindex = if_nametoindex(interface); 108 if(targ.ifindex == 0) {
|
setif.c | 134 static int do_anycast_setsockopt(int sock, int what, struct in6_addr *addr, int ifindex) { 135 struct ipv6_mreq mreq = { *addr, ifindex }; 162 int ifindex; local 164 ifindex = if_nametoindex(ifname); 165 if (!ifindex) { 166 logmsg(ANDROID_LOG_ERROR, "%s: unknown ifindex for interface %s", __func__, ifname); 170 return do_anycast_setsockopt(sock, IPV6_JOIN_ANYCAST, addr, ifindex);
|
/external/iproute2/include/linux/tc_act/ |
tc_mirred.h | 16 __u32 ifindex; /* ifindex of egress port */ member in struct:tc_mirred
|
/external/kernel-headers/original/uapi/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.11-4.8/sysroot/usr/include/linux/tc_act/ |
tc_mirred.h | 17 __u32 ifindex; /* ifindex of egress port */ member in struct:tc_mirred
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/tc_act/ |
tc_mirred.h | 16 __u32 ifindex; /* ifindex of egress port */ member in struct:tc_mirred
|
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/prebuilts/ndk/current/platforms/android-21/arch-x86/usr/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/prebuilts/ndk/current/platforms/android-21/arch-x86_64/usr/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/prebuilts/ndk/current/platforms/android-23/arch-arm/usr/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/prebuilts/ndk/current/platforms/android-23/arch-arm64/usr/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/prebuilts/ndk/current/platforms/android-23/arch-mips/usr/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/prebuilts/ndk/current/platforms/android-23/arch-mips64/usr/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/prebuilts/ndk/current/platforms/android-23/arch-x86/usr/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/prebuilts/ndk/current/platforms/android-23/arch-x86_64/usr/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/prebuilts/ndk/current/platforms/android-24/arch-arm/usr/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|
/prebuilts/ndk/current/platforms/android-24/arch-arm64/usr/include/linux/tc_act/ |
tc_mirred.h | 34 __u32 ifindex; member in struct:tc_mirred
|