/external/wpa_supplicant_8/src/drivers/ |
netlink.h | 25 int netlink_send_oper_ifla(struct netlink_data *netlink, int ifindex,
|
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;
|
/external/iproute2/include/linux/ |
ip6_tunnel.h | 24 int link; /* ifindex of underlying L2 interface */ 36 int link; /* ifindex of underlying L2 interface */
|
bpf.h | 197 * bpf_clone_redirect(skb, ifindex, flags) - redirect to another netdev 199 * @ifindex: ifindex of the net device 247 * bpf_redirect(ifindex, flags) - redirect to another netdev 248 * @ifindex: ifindex of the net device 309 __u32 ifindex; member in struct:__sk_buff
|
/external/kernel-headers/original/uapi/linux/ |
ip6_tunnel.h | 24 int link; /* ifindex of underlying L2 interface */ 36 int link; /* ifindex of underlying L2 interface */
|
/prebuilts/go/darwin-x86/src/net/ |
interface_bsd.go | 15 // If the ifindex is zero, interfaceTable returns mappings of all 18 func interfaceTable(ifindex int) ([]Interface, error) { 19 tab, err := syscall.RouteRIB(syscall.NET_RT_IFLIST, ifindex) 27 return parseInterfaceTable(ifindex, msgs) 30 func parseInterfaceTable(ifindex int, msgs []syscall.RoutingMessage) ([]Interface, error) { 36 if ifindex == 0 || ifindex == int(m.Header.Index) { 42 if ifindex == int(m.Header.Index) {
|
sockoptip_linux.go | 17 mreq := &syscall.IPMreqn{Ifindex: v}
|
interface_windows.go | 89 // If the ifindex is zero, interfaceTable returns mappings of all 92 func interfaceTable(ifindex int) ([]Interface, error) { 105 index := paddr.IfIndex 109 if ifindex == 0 || ifindex == int(index) { 138 if ifindex == int(ifi.Index) { 157 index := paddr.IfIndex 208 index := paddr.IfIndex
|
/prebuilts/go/linux-x86/src/net/ |
interface_bsd.go | 15 // If the ifindex is zero, interfaceTable returns mappings of all 18 func interfaceTable(ifindex int) ([]Interface, error) { 19 tab, err := syscall.RouteRIB(syscall.NET_RT_IFLIST, ifindex) 27 return parseInterfaceTable(ifindex, msgs) 30 func parseInterfaceTable(ifindex int, msgs []syscall.RoutingMessage) ([]Interface, error) { 36 if ifindex == 0 || ifindex == int(m.Header.Index) { 42 if ifindex == int(m.Header.Index) {
|
sockoptip_linux.go | 17 mreq := &syscall.IPMreqn{Ifindex: v}
|
interface_windows.go | 89 // If the ifindex is zero, interfaceTable returns mappings of all 92 func interfaceTable(ifindex int) ([]Interface, error) { 105 index := paddr.IfIndex 109 if ifindex == 0 || ifindex == int(index) { 138 if ifindex == int(ifi.Index) { 157 index := paddr.IfIndex 208 index := paddr.IfIndex
|
/system/connectivity/shill/wifi/ |
mock_scan_session.cc | 31 uint32_t ifindex, 41 ifindex,
|
/external/android-clat/ |
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);
|
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) {
|
/external/tcpdump/tests/ |
sflow_multiple_counter_30_pdus.out | 5 ifindex 55, iftype 117, ifspeed 1000000000, ifdirection 1 (full-duplex) 17 ifindex 56, iftype 117, ifspeed 1000000000, ifdirection 1 (full-duplex) 29 ifindex 57, iftype 117, ifspeed 1000000000, ifdirection 1 (full-duplex) 41 ifindex 60, iftype 117, ifspeed 1000000000, ifdirection 1 (full-duplex) 53 ifindex 61, iftype 117, ifspeed 1000000000, ifdirection 1 (full-duplex) 65 ifindex 62, iftype 117, ifspeed 1000000000, ifdirection 1 (full-duplex) 77 ifindex 63, iftype 117, ifspeed 1000000000, ifdirection 1 (full-duplex) 91 ifindex 1, iftype 117, ifspeed 1000000000, ifdirection 1 (full-duplex) 103 ifindex 2, iftype 117, ifspeed 1000000000, ifdirection 1 (full-duplex) 115 ifindex 3, iftype 117, ifspeed 1000000000, ifdirection 1 (full-duplex [all...] |
/external/libpcap/pcap/ |
nflog.h | 77 #define NFULA_IFINDEX_INDEV 4 /* ifindex of device on which packet received (possibly bridge group) */ 78 #define NFULA_IFINDEX_OUTDEV 5 /* ifindex of device on which packet transmitted (possibly bridge group) */ 79 #define NFULA_IFINDEX_PHYSINDEV 6 /* ifindex of physical device on which packet received (not bridge group) */ 80 #define NFULA_IFINDEX_PHYSOUTDEV 7 /* ifindex of physical device on which packet transmitted (not bridge group) */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
ip6_tunnel.h | 22 int link; /* ifindex of underlying L2 interface */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
ip6_tunnel.h | 24 int link; /* ifindex of underlying L2 interface */
|
/system/extras/tests/net_test/ |
anycast_test.py | 31 IPv6Mreq = cstruct.Struct("IPv6Mreq", "=16si", "multiaddr ifindex") 70 ifindex = self.ifindices[netid] 71 self.assertTrue(ifindex) 72 ipv6mreq = IPv6Mreq((addr, ifindex))
|
/external/iproute2/ip/ |
ipmonitor.c | 163 int ifindex=0; local 225 ifindex = ll_name_to_index(*argv); 226 if (!ifindex) 235 ipaddr_reset_filter(1, ifindex); 236 iproute_reset_filter(ifindex); 237 ipmroute_reset_filter(ifindex); 238 ipneigh_reset_filter(ifindex); 239 ipnetconf_reset_filter(ifindex);
|
iptoken.c | 34 int ifindex; member in struct:rtnl_dump_args 49 int ifindex = args->ifindex; local 67 if (ifindex > 0 && ifi->ifi_index != ifindex) 105 if ((da.ifindex = ll_name_to_index(*argv)) == 0)
|
iplink_bond.c | 169 unsigned ifindex; local 180 ifindex = if_nametoindex(*argv); 181 if (!ifindex) 183 addattr32(n, 1024, IFLA_BOND_ACTIVE_SLAVE, ifindex); 242 ifindex = if_nametoindex(*argv); 243 if (!ifindex) 245 addattr32(n, 1024, IFLA_BOND_PRIMARY, ifindex); 371 unsigned ifindex; local 383 (ifindex = rta_getattr_u32(tb[IFLA_BOND_ACTIVE_SLAVE]))) { 385 const char *n = if_indextoname(ifindex, buf) [all...] |
/external/libnl/lib/route/ |
class.c | 224 * @arg ifindex interface index of the link the classes are 232 int rtnl_class_alloc_cache(struct nl_sock *sk, int ifindex, 242 cache->c_iarg1 = ifindex; 256 * @arg ifindex interface the class is attached to 260 struct rtnl_class *rtnl_class_get(struct nl_cache *cache, int ifindex, 269 if (class->c_handle == handle && class->c_ifindex == ifindex) {
|
/external/avahi/avahi-autoipd/ |
iface-bsd.c | 107 static int ifindex = -1; variable 122 ifindex = idx; 150 mib[5] = ifindex; 317 daemon_log(LOG_DEBUG, "%s: IFANNOUNCE for ifindex %d", 322 if (rtm->ifan.ifan_index == ifindex) { 324 "RTM_IFANNOUNCE IFAN_ARRIVAL, for ifindex %d, which we already manage.", 325 ifindex); 330 if (rtm->ifan.ifan_index == ifindex) { 387 ifam->ifam_index, (ifam->ifam_index == ifindex) ? "ours" : "not ours"); 389 if (ifam->ifam_index != ifindex) [all...] |
/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...] |