/system/netd/server/ |
RouteController.cpp | 386 uint32_t ifindex; local 401 // If an interface was specified, find the ifindex. 403 ifindex = if_nametoindex(interface); 404 if (!ifindex) { 437 { &ifindex, interface != OIF_NONE ? sizeof(ifindex) : 0 }, [all...] |
/external/libpcap/ |
pcap-linux.c | 303 int ifindex; /* interface index of device we're bound to */ member in struct:pcap_linux 417 static int iface_bind(int fd, int ifindex, char *ebuf); 672 int ifindex; local 676 ifindex = iface_get_id(sock_fd, device, handle->errbuf); 677 if (ifindex == -1) 689 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, ifindex); 768 int ifindex; local 772 ifindex = iface_get_id(sock_fd, mondevice, handle->errbuf); 773 if (ifindex == -1) 785 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, ifindex); [all...] |
/frameworks/base/core/java/android/net/ |
NetworkUtils.java | 57 * @param ifIndex the interface index. 59 public native static void setupRaSocket(FileDescriptor fd, int ifIndex) throws SocketException;
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
tdls.cpp | 452 ALOGV("%s: ifindex obtained:%d", __FUNCTION__, ret); 502 ALOGV("%s: ifindex obtained:%d", __FUNCTION__, ret);
|
/external/iproute2/include/linux/ |
xfrm.h | 59 int ifindex; member in struct:xfrm_selector
|
/external/kernel-headers/original/uapi/linux/ |
xfrm.h | 59 int ifindex; member in struct:xfrm_selector
|
/external/toybox/toys/pending/ |
brctl.c | 165 ifr.ifr_ifindex = ifindex;
|
ip.c | 53 int ifindex, scope, scopemask, up, to; member in struct:__anon24551 968 if (addrinfo.ifindex && addrinfo.ifindex != ifa->ifa_index) return 0; 979 if (ifa->ifa_index == addrinfo.ifindex) { [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
xfrm.h | 57 int ifindex; member in struct:xfrm_selector
|
/system/connectivity/shill/cellular/ |
modem_unittest.cc | 190 // Link name, but no ifindex: no device created
|
/system/extras/tests/net_test/ |
tcp_nuke_addr_test.py | 48 In6Ifreq = cstruct.Struct("In6Ifreq", "=16sIi", "addr prefixlen ifindex")
|
/external/tcpdump/ |
print-sflow.c | 235 uint8_t ifindex[4]; member in struct:sflow_generic_counter_t 309 ND_PRINT((ndo, "\n\t ifindex %u, iftype %u, ifspeed %" PRIu64 ", ifdirection %u (%s)", 310 EXTRACT_32BITS(sflow_gen_counter->ifindex),
|
/system/core/libsysutils/src/ |
NetlinkEvent.cpp | 210 SLOGD("Unknown ifindex %d in %s", ifaddr->ifa_index, msgtype); 337 // Currently we only support: destination, (one) next hop, ifindex. 430 SLOGE("RTM_NEWNDUSEROPT on unknown ifindex %d\n",
|
/external/strace/ |
net.c | 120 print_ifindex(unsigned int ifindex) 125 if (if_indextoname(ifindex, buf)) { 132 tprintf("%u", ifindex); [all...] |
/prebuilts/go/darwin-x86/src/net/ |
interface_test.go | 79 t.Logf("%q: flags %q, ifindex %v, mtu %v", ifi.Name, ifi.Flags.String(), ifi.Index, ifi.MTU)
|
/prebuilts/go/linux-x86/src/net/ |
interface_test.go | 79 t.Logf("%q: flags %q, ifindex %v, mtu %v", ifi.Name, ifi.Flags.String(), ifi.Index, ifi.MTU)
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
nf_tables.h | 643 * @NFT_META_IIF: packet input interface index (dev->ifindex) 644 * @NFT_META_OIF: packet output interface index (dev->ifindex)
|
/external/libnl/lib/route/ |
route_obj.c | 735 void rtnl_route_set_iif(struct rtnl_route *route, int ifindex) 737 route->rt_iif = ifindex;
|
/external/wpa_supplicant_8/src/drivers/ |
driver_macsec_qca.c | 76 static int macsec_qca_multicast_membership(int sock, int ifindex, 86 mreq.mr_ifindex = ifindex;
|
driver_nl80211_event.c | 455 struct nlattr *ifindex, struct nlattr *freq, 470 ifidx = nla_get_u32(ifindex); 473 wpa_printf(MSG_WARNING, "nl80211: Unknown ifindex (%d) for channel switch, ignoring", [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
events.c | 4047 unsigned int ifindex; local [all...] |
/external/dhcpcd-6.8.2/ |
if-bsd.c | 756 ifa_scope(struct sockaddr_in6 *sin, unsigned int ifindex) 763 uint16_t scope = htons((uint16_t)ifindex); 770 sin->sin6_scope_id = ifindex; [all...] |
/bionic/libc/kernel/uapi/linux/ |
xfrm.h | 64 int ifindex; member in struct:xfrm_selector
|
/development/ndk/platforms/android-21/include/linux/ |
xfrm.h | 61 int ifindex; member in struct:xfrm_selector
|
/external/iw/ |
station.c | 496 COMMAND_ALIAS(station, set, "<MAC address> vlan <ifindex>",
|