HomeSort by relevance Sort by last modified time
    Searched full:ifindex (Results 376 - 400 of 688) sorted by null

<<11121314151617181920>>

  /external/strace/tests-m32/
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));
  /external/strace/tests-mx32/
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));
  /kernel/tests/net/test/
neighbour_test.py 75 ifindex = self.ifindices[netid]
76 self.iproute.UpdateNeighbour(6, addr, None, ifindex, NUD_FAILED)
88 self.ifindex = self.ifindices[self.netid]
256 self.iproute.UpdateNeighbour(6, addr, None, self.ifindex, NUD_PROBE)
272 ifindex = self.ifindices[self.netid]
273 self.iproute.UpdateNeighbour(6, router6, None, ifindex, NUD_FAILED)
xfrm_tunnel_test.py 271 ifindex = net_test.GetInterfaceIndex(ifname)
273 net_test.AddressLengthBits(version), ifindex)
275 net_test.AddressLengthBits(version), ifindex)
303 ifindex = net_test.GetInterfaceIndex(vti.iface)
322 cls.iproute.AddAddress(addr, prefixlen, ifindex)
323 cls.iproute.AddRoute(version, table, "default", 0, None, ifindex)
325 cls.iproute.DelRoute(version, table, "default", 0, None, ifindex)
326 cls.iproute.DelAddress(addr, prefixlen, ifindex)
  /external/iproute2/misc/
ifstat.c 65 int ifindex; member in struct:ifstat_ent
137 n->ifindex = ifsm->ifindex;
138 n->name = strdup(ll_index_to_name(ifsm->ifindex));
184 n->ifindex = ifi->ifi_index;
267 if (sscanf(buf, "%d", &n->ifindex) != 1)
331 if (h1->ifindex == n->ifindex) {
348 fprintf(fp, "%d %s ", n->ifindex, n->name);
568 if (h1->ifindex == n->ifindex)
    [all...]
  /bionic/libc/kernel/uapi/linux/
if_bridge.h 185 __u32 ifindex; member in struct:br_port_msg
188 __u32 ifindex; member in struct:br_mdb_entry
  /external/iproute2/ip/
ipntable.c 138 __u32 ifindex; local
141 ifindex = ll_name_to_index(*argv);
142 if (ifindex == 0) {
148 NDTPA_IFINDEX, ifindex);
378 __u32 ifindex = rta_getattr_u32(tpb[NDTPA_IFINDEX]); local
380 if (filter.index && filter.index != ifindex)
466 __u32 ifindex = rta_getattr_u32(tpb[NDTPA_IFINDEX]); local
469 fprintf(fp, "dev %s ", ll_index_to_name(ifindex));
  /external/perfetto/src/ftrace_reader/test/data/android_flounder_lte_LRX16F_3.10.40/events/cfg80211/rdev_update_mesh_config/
format 11 field:int ifindex; offset:56; size:4; signed:1;
39 print fmt: "%s, netdev:%s(%d), mask: %u", REC->wiphy_name, REC->name, REC->ifindex, REC->mask
  /external/perfetto/src/ftrace_reader/test/data/android_seed_N2F62_3.10.49/events/cfg80211/rdev_update_mesh_config/
format 11 field:int ifindex; offset:56; size:4; signed:1;
39 print fmt: "%s, netdev:%s(%d), mask: %u", REC->wiphy_name, REC->name, REC->ifindex, REC->mask
  /external/perfetto/src/ftrace_reader/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/rdev_update_mesh_config/
format 11 field:int ifindex; offset:56; size:4; signed:1;
39 print fmt: "%s, netdev:%s(%d), mask: %u", REC->wiphy_name, REC->name, REC->ifindex, REC->mask
  /external/wpa_supplicant_8/src/drivers/
driver_wext.h 21 int ifindex; member in struct:wpa_driver_wext_data
  /system/netd/server/
NetworkController.h 129 void addInterfaceAddress(unsigned ifIndex, const char* address);
132 bool removeInterfaceAddress(unsigned ifIndex, const char* address);
170 // Map interface (ifIndex) to its current NetId, or the last NetId if the interface was removed
177 // Map IP address to the list of active interfaces (ifIndex) that have that address.
RouteController.h 48 // Returns an ifindex given the interface name, by looking up in sInterfaceToTable.
50 // and should probabaly be changed to passing the ifindex into RouteController instead.
53 // index has changed, we can still free any map entries indexed by the ifindex that was
  /external/libnl/lib/route/
link.c 909 diff |= LINK_DIFF(IFINDEX, a->l_index != b->l_index);
965 __ADD(LINK_ATTR_IFINDEX, ifindex)
1041 * @arg ifindex Interface index
1053 struct rtnl_link *rtnl_link_get(struct nl_cache *cache, int ifindex)
1061 if (link->l_index == ifindex) {
1105 * @arg ifindex Interface index
1117 int rtnl_link_build_get_request(int ifindex, const char *name,
1123 if (ifindex <= 0 && !name) {
1124 APPBUG("ifindex or name must be specified");
1133 if (ifindex > 0
1233 int ifindex = 0; local
    [all...]
nexthop.c 90 diff |= NH_DIFF(IFINDEX, a->rtnh_ifindex != b->rtnh_ifindex);
209 void rtnl_route_nh_set_ifindex(struct rtnl_nexthop *nh, int ifindex)
211 nh->rtnh_ifindex = ifindex;
cls.c 43 APPBUG("ifindex must be specified");
274 * - \c ifindex (required)
316 * @arg ifindex Interface index of the network device
327 int rtnl_cls_alloc_cache(struct nl_sock *sk, int ifindex, uint32_t parent, struct nl_cache **result)
335 cache->c_iarg1 = ifindex;
  /external/iproute2/tc/
m_mirred.c 169 p.ifindex = idx;
268 if ((dev = ll_index_to_name(p->ifindex)) == 0) {
269 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/ltp/testcases/network/stress/ns-tools/
ns-traffic.h 234 int get_a_lla_byifindex(struct sockaddr_in6 *lla_p, int ifindex);
236 struct group_req *create_group_info(uint32_t ifindex, struct addrinfo *mainfo_p);
237 struct group_filter *create_source_filter(uint32_t ifindex, struct addrinfo *mainfo_p, uint32_t fmode, char *saddrs);
ns-igmp_querier.c 63 uint32_t ifindex; member in struct:igmp_info
260 info_p->ifindex = if_nametoindex(optarg);
261 if (info_p->ifindex == 0) {
329 if (info_p->ifindex == 0) {
377 req_p->imr_ifindex = info_p->ifindex;
  /external/scapy/scapy/contrib/
icmp_extensions.py 136 IntField('ifindex', None),
172 if self.has_ifindex and self.ifindex is None:
173 warning('has_ifindex set but ifindex is not set.')
  /prebuilts/go/darwin-x86/src/syscall/
ztypes_linux_386.go 178 Ifindex int32
222 Ifindex int32
247 Ifindex int32
254 Ifindex uint32
481 Ifindex int32
ztypes_linux_amd64.go 180 Ifindex int32
224 Ifindex int32
251 Ifindex int32
258 Ifindex uint32
485 Ifindex int32
ztypes_linux_arm.go 182 Ifindex int32
226 Ifindex int32
251 Ifindex int32
258 Ifindex uint32
485 Ifindex int32
ztypes_linux_ppc64.go 182 Ifindex int32
226 Ifindex int32
253 Ifindex int32
260 Ifindex uint32
487 Ifindex int32

Completed in 593 milliseconds

<<11121314151617181920>>