/prebuilts/ndk/current/platforms/android-9/arch-arm/usr/include/net/ |
if.h | 40 extern char* if_indextoname(unsigned ifindex, char *ifname);
|
/prebuilts/ndk/current/platforms/android-9/arch-mips/usr/include/net/ |
if.h | 40 extern char* if_indextoname(unsigned ifindex, char *ifname);
|
/prebuilts/ndk/current/platforms/android-9/arch-x86/usr/include/net/ |
if.h | 40 extern char* if_indextoname(unsigned ifindex, char *ifname);
|
/system/connectivity/shill/cellular/ |
mock_modem.h | 49 int ifindex));
|
/system/connectivity/shill/wifi/ |
mock_scan_session.h | 41 uint32_t ifindex,
|
/external/avahi/avahi-autoipd/ |
iface-linux.c | 54 static int ifindex = -1; variable 89 ifindex = i; 111 if (ifi->ifi_family != AF_UNSPEC || (int) ifi->ifi_index != ifindex) 140 if (ifa->ifa_family != AF_INET || (int) ifa->ifa_index != ifindex) 286 ifa->ifa_index = ifindex;
|
/prebuilts/go/darwin-x86/src/net/ |
interface_linux.go | 13 // If the ifindex is zero, interfaceTable returns mappings of all 16 func interfaceTable(ifindex int) ([]Interface, error) { 33 if ifindex == 0 || ifindex == int(ifim.Index) { 39 if ifindex == int(ifim.Index) {
|
/prebuilts/go/darwin-x86/src/syscall/ |
ztypes_linux_arm64.go | 181 Ifindex int32 225 Ifindex int32 253 Ifindex int32 260 Ifindex uint32 487 Ifindex int32
|
ztypes_linux_386.go | 178 Ifindex int32 222 Ifindex int32 248 Ifindex int32 255 Ifindex uint32 482 Ifindex int32
|
/prebuilts/go/linux-x86/src/net/ |
interface_linux.go | 13 // If the ifindex is zero, interfaceTable returns mappings of all 16 func interfaceTable(ifindex int) ([]Interface, error) { 33 if ifindex == 0 || ifindex == int(ifim.Index) { 39 if ifindex == int(ifim.Index) {
|
/prebuilts/go/linux-x86/src/syscall/ |
ztypes_linux_arm64.go | 181 Ifindex int32 225 Ifindex int32 253 Ifindex int32 260 Ifindex uint32 487 Ifindex int32
|
/system/extras/tests/net_test/ |
neighbour_test.py | 73 ifindex = self.ifindices[netid] 74 self.iproute.UpdateNeighbour(6, addr, None, ifindex, NUD_FAILED) 86 self.ifindex = self.ifindices[self.netid] 255 self.iproute.UpdateNeighbour(6, addr, None, self.ifindex, NUD_PROBE) 271 ifindex = self.ifindices[self.netid] 272 self.iproute.UpdateNeighbour(6, router6, None, ifindex, NUD_FAILED)
|
/external/iproute2/include/linux/ |
if_bridge.h | 178 __u32 ifindex; member in struct:br_port_msg 182 __u32 ifindex; member in struct:br_mdb_entry
|
/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));
|
/external/kernel-headers/original/uapi/linux/ |
if_bridge.h | 178 __u32 ifindex; member in struct:br_port_msg 182 __u32 ifindex; member in struct:br_mdb_entry
|
/external/avahi/avahi-gobject/ |
AvahiCore-0.6.gir | 7 <alias name="IfIndex" c:type="AvahiIfIndex">
|
/external/libpcap/ |
pcap-can-linux.c | 79 int ifindex; /* interface index of device we're bound to */ member in struct:pcap_can 183 handlep->ifindex = ifr.ifr_ifindex; 197 addr.can_ifindex = handlep->ifindex; 201 handlep->ifindex, errno, strerror(errno));
|
/external/wpa_supplicant_8/src/drivers/ |
driver_wext.h | 21 int ifindex; member in struct:wpa_driver_wext_data
|
driver_nl80211.h | 56 int ifindex; member in struct:i802_bss 91 int ifindex; member in struct:wpa_driver_nl80211_data 226 int ifindex);
|
/frameworks/base/core/jni/ |
android_net_NetUtils.cpp | 129 jint ifIndex) 180 len = sizeof(ifIndex); 181 if (setsockopt(fd, IPPROTO_IPV6, IPV6_MULTICAST_IF, &ifIndex, len) != 0) { 211 .ipv6mr_interface = ifIndex,
|
/external/avahi/avahi-compat-libdns_sd/ |
compat.c | 612 AvahiIfIndex ifindex; local 651 ifindex = interface == kDNSServiceInterfaceIndexAny ? AVAHI_IF_UNSPEC : (AvahiIfIndex) interface; 653 if (!(sdref->service_browser = avahi_service_browser_new(sdref->client, ifindex, AVAHI_PROTO_UNSPEC, regtype, domain, 0, service_browser_callback, sdref))) { 738 AvahiIfIndex ifindex; local 764 ifindex = interface == kDNSServiceInterfaceIndexAny ? AVAHI_IF_UNSPEC : (AvahiIfIndex) interface; 766 if (!(sdref->service_resolver = avahi_service_resolver_new(sdref->client, ifindex, AVAHI_PROTO_UNSPEC, name, regtype, domain, AVAHI_PROTO_UNSPEC, 0, service_resolver_callback, sdref))) { 849 AvahiIfIndex ifindex; local 876 ifindex = interface == kDNSServiceInterfaceIndexAny ? AVAHI_IF_UNSPEC : (AvahiIfIndex) interface; 878 if (!(sdref->domain_browser = avahi_domain_browser_new(sdref->client, ifindex, AVAHI_PROTO_UNSPEC, "local", 1328 AvahiIfIndex ifindex; local [all...] |
/external/iproute2/tc/ |
m_mirred.c | 155 p.ifindex = idx; 274 if ((dev = ll_index_to_name(p->ifindex)) == 0) { 275 fprintf(stderr, "Cannot find device %d\n", p->ifindex);
|
/external/iputils/ |
arping.c | 66 int ifindex; member in struct:device 517 .name = "ifindex", 555 * device.ifindex remains 0. 557 * device.ifindex is set. 630 device.ifindex = if_nametoindex(device.ifa->ifa_name); 631 if (!device.ifindex) { 810 device.ifindex = device.sysfs->value[SYSFS_DEVATTR_IFINDEX].ulong; 813 rc = !device.ifindex; 903 device.ifindex = ifrbuf.ifr_ifindex; 906 return !device.ifindex; [all...] |
/external/libnl/lib/route/ |
nexthop.c | 90 diff |= NH_DIFF(IFINDEX, a->rtnh_ifindex != b->rtnh_ifindex); 243 void rtnl_route_nh_set_ifindex(struct rtnl_nexthop *nh, int ifindex) 245 nh->rtnh_ifindex = ifindex;
|
/external/iproute2/bridge/ |
fdb.c | 130 unsigned int ifindex = rta_getattr_u32(tb[NDA_IFINDEX]); local 132 if (ifindex) { 136 if_indextoname(ifindex, ifname)) 139 fprintf(fp, "via ifindex %u ", ifindex);
|