| /external/strace/ |
| nlattr.c | 232 uint32_t ifindex; local 234 if (len < sizeof(ifindex)) 236 else if (!umove_or_printaddr(tcp, addr, &ifindex)) 237 print_ifindex(ifindex);
|
| /external/wpa_supplicant_8/src/drivers/ |
| netlink.c | 169 int netlink_send_oper_ifla(struct netlink_data *netlink, int ifindex, 191 req.ifinfo.ifi_index = ifindex; 214 wpa_printf(MSG_DEBUG, "netlink: Operstate: ifindex=%d linkmode=%d (%s), operstate=%d (%s)", 215 ifindex, linkmode, linkmode_str(linkmode),
|
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
| iphlpapi.h | 90 DWORD WINAPI GetAdapterIndex (LPWSTR AdapterName, PULONG IfIndex); 91 DWORD WINAPI AddIPAddress (IPAddr Address, IPMask IpMask, DWORD IfIndex, PULONG NTEContext, PULONG NTEInstance); 101 DWORD WINAPI GetPerAdapterInfo (ULONG IfIndex, PIP_PER_ADAPTER_INFO pPerAdapterInfo, PULONG pOutBufLen); 106 DWORD WINAPI GetFriendlyIfIndex (DWORD IfIndex);
|
| /prebuilts/go/darwin-x86/src/net/ |
| interface_plan9.go | 12 // If the ifindex is zero, interfaceTable returns mappings of all 15 func interfaceTable(ifindex int) ([]Interface, error) { 16 if ifindex == 0 { 32 ifc, err := readInterface(ifindex - 1)
|
| 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/net/ |
| interface_plan9.go | 12 // If the ifindex is zero, interfaceTable returns mappings of all 15 func interfaceTable(ifindex int) ([]Interface, error) { 16 if ifindex == 0 { 32 ifc, err := readInterface(ifindex - 1)
|
| 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) {
|
| /system/netd/server/ |
| NetworkController.cpp | 505 int ifIndex = RouteController::getIfIndex(interface); 506 if (ifIndex) { 507 mIfindexToLastNetId[ifIndex] = netId; 610 void NetworkController::addInterfaceAddress(unsigned ifIndex, const char* address) { 613 if (ifIndex == 0) { 614 ALOGE("Attempting to add address %s without ifindex", address); 617 mAddressToIfindices[address].insert(ifIndex); 621 bool NetworkController::removeInterfaceAddress(unsigned ifindex, const char* address) { 626 ALOGE("Removing unknown address %s from ifindex %u", address, ifindex); [all...] |
| /system/netd/tests/ |
| tun_interface.h | 36 int ifindex() const { return mIfIndex; } function in class:android::net::TunInterface
|
| /external/libnl/python/netlink/route/ |
| link.py | 173 return self.ifindex - other.ifindex 184 def ifindex(self): member in class:Link 188 @ifindex.setter 189 def ifindex(self, value): member in class:Link 192 # ifindex is immutable but we assume that if _orig does not 193 # have an ifindex specified, it was meant to be given here 209 # here. ifindex will always take priority, therefore if ifindex 463 buf = fmt.format('{a|ifindex} {a|name} {a|arptype} {a|address} ' [all...] |
| /external/libnfnetlink/src/ |
| iftable.c | 9 /* IFINDEX handling */ 142 /** Get the name for an ifindex 145 * \param index ifindex to be resolved 176 /** Get the flags for an ifindex 179 * \param index ifindex to be resolved
|
| /prebuilts/go/darwin-x86/src/syscall/ |
| ztypes_linux_arm64.go | 181 Ifindex int32 225 Ifindex int32 252 Ifindex int32 259 Ifindex uint32 486 Ifindex int32
|
| ztypes_linux_mips.go | 179 Ifindex int32 223 Ifindex int32 248 Ifindex int32 255 Ifindex uint32 482 Ifindex int32
|
| ztypes_linux_mips64.go | 179 Ifindex int32 223 Ifindex int32 250 Ifindex int32 257 Ifindex uint32 484 Ifindex int32
|
| ztypes_linux_mips64le.go | 179 Ifindex int32 223 Ifindex int32 250 Ifindex int32 257 Ifindex uint32 484 Ifindex int32
|
| ztypes_linux_mipsle.go | 179 Ifindex int32 223 Ifindex int32 248 Ifindex int32 255 Ifindex uint32 482 Ifindex int32
|
| /prebuilts/go/linux-x86/src/syscall/ |
| ztypes_linux_arm64.go | 181 Ifindex int32 225 Ifindex int32 252 Ifindex int32 259 Ifindex uint32 486 Ifindex int32
|
| ztypes_linux_mips.go | 179 Ifindex int32 223 Ifindex int32 248 Ifindex int32 255 Ifindex uint32 482 Ifindex int32
|
| ztypes_linux_mips64.go | 179 Ifindex int32 223 Ifindex int32 250 Ifindex int32 257 Ifindex uint32 484 Ifindex int32
|
| ztypes_linux_mips64le.go | 179 Ifindex int32 223 Ifindex int32 250 Ifindex int32 257 Ifindex uint32 484 Ifindex int32
|
| ztypes_linux_mipsle.go | 179 Ifindex int32 223 Ifindex int32 248 Ifindex int32 255 Ifindex uint32 482 Ifindex int32
|
| /external/iproute2/ip/ |
| iplink.c | 723 int ifindex; local 726 ifindex = ll_name_to_index(*argv); 727 if (!ifindex) 730 &ifindex, 4); 732 int ifindex; local 735 ifindex = ll_name_to_index(*argv); 736 if (!ifindex) 741 &ifindex, sizeof(ifindex)); 743 int ifindex = 0 local 948 int ifindex; local 1471 int ifindex; member in struct:af_stats_ctx [all...] |
| /kernel/tests/net/test/ |
| multinetwork_base.py | 66 def MakePktInfo(version, addr, ifindex): 73 return csocket.In6Pktinfo((addr, ifindex)).Pack() 75 return csocket.InPktinfo((ifindex, addr, "\x00" * 4)).Pack() 266 ifindex = cls.ifindices[netid] 296 cls.OnlinkPrefixLen(4), ifindex) 297 cls.iproute.AddNeighbour(version, router, macaddr, ifindex) 301 cls.OnlinkPrefixLen(version), None, ifindex) 302 cls.iproute.AddRoute(version, table, "default", 0, router, ifindex) 305 cls.iproute.DelRoute(version, table, "default", 0, router, ifindex) 308 cls.OnlinkPrefixLen(version), None, ifindex) [all...] |
| /external/ltp/testcases/network/stress/ns-tools/ |
| ns-mcast_receiver.c | 162 uint32_t ifindex = 0; /* interface index where listening multicast */ local 188 ifindex = if_nametoindex(optarg); 189 if (ifindex == 0) { 258 if (ifindex == 0) { 274 info_p->greq = create_group_info(ifindex, info_p->mainfo); 281 create_source_filter(ifindex, info_p->mainfo, fmode,
|
| /external/strace/tests/ |
| nlattr_inet_diag_req_v2.c | 266 const uint32_t ifindex = ifindex_lo(); local 267 char buf[sizeof(op) + sizeof(ifindex)]; 269 memcpy(buf + sizeof(op), pattern, sizeof(ifindex)); 276 print_quoted_hex(pattern, sizeof(ifindex) - 1); 286 memcpy(buf + sizeof(op), &ifindex, sizeof(ifindex));
|