HomeSort by relevance Sort by last modified time
    Searched refs:ifindex (Results 101 - 125 of 155) sorted by null

1 2 3 45 6 7

  /hardware/libhardware_legacy/include/hardware_legacy/
driver_nl80211.h 95 int ifindex; member in struct:i802_bss
127 int ifindex; member in struct:wpa_driver_nl80211_data
  /external/iproute2/tc/
m_mirred.c 154 p.ifindex = idx;
272 if ((dev = ll_index_to_name(p->ifindex)) == 0) {
273 fprintf(stderr, "Cannot find device %d\n", p->ifindex);
  /external/wpa_supplicant_8/src/l2_packet/
l2_packet_linux.c 22 int ifindex; member in struct:l2_packet_data
54 ll.sll_ifindex = l2->ifindex;
126 l2->ifindex = ifr.ifr_ifindex;
  /external/libnl/lib/route/
neightbl.c 86 if (_C(IFINDEX, ntp_ifindex) ||
199 COPY_ENTRY(IFINDEX, ifindex);
396 * @arg ifindex optional interface index
399 * optionally the specified ifindex to retrieve device specific
406 const char *name, int ifindex)
415 ((!ifindex && !nt->nt_parms.ntp_ifindex) ||
416 (ifindex && ifindex == nt->nt_parms.ntp_ifindex))) {
625 void rtnl_neightbl_set_dev(struct rtnl_neightbl *ntbl, int ifindex)
    [all...]
link.c 89 * int ifindex = rtnl_link_name2i(cache, "lo");
90 * struct rtnl_link *link = rtnl_link_get(cache, ifindex);
691 diff |= LINK_DIFF(IFINDEX, a->l_index != b->l_index);
728 __ADD(LINK_ATTR_IFINDEX, ifindex)
784 * @arg ifindex link interface index
791 struct rtnl_link *rtnl_link_get(struct nl_cache *cache, int ifindex)
799 if (link->l_index == ifindex) {
972 * @arg ifindex link interface index
981 char * rtnl_link_i2name(struct nl_cache *cache, int ifindex, char *dst,
984 struct rtnl_link *link = rtnl_link_get(cache, ifindex);
1004 int ifindex = 0; local
    [all...]
class_obj.c 218 void rtnl_class_set_ifindex(struct rtnl_class *class, int ifindex)
220 tca_set_ifindex((struct rtnl_tca *) class, ifindex);
cls.c 282 * @arg ifindex interface index of the link the classes are
294 int rtnl_cls_alloc_cache(struct nl_sock *sk, int ifindex, uint32_t parent, struct nl_cache **result)
302 cache->c_iarg1 = ifindex;
cls_obj.c 140 void rtnl_cls_set_ifindex(struct rtnl_cls *f, int ifindex)
142 tca_set_ifindex((struct rtnl_tca *) f, ifindex);
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;
qdisc_obj.c 183 void rtnl_qdisc_set_ifindex(struct rtnl_qdisc *qdisc, int ifindex)
185 tca_set_ifindex((struct rtnl_tca *) qdisc, ifindex);
neigh.c 68 * struct rtnl_neigh *neigh = rtnl_neigh_get(cache, ifindex, dst_addr);
81 * rtnl_neigh_set_ifindex(neigh, ifindex);
105 * rtnl_neigh_set_ifindex(neigh, ifindex);
127 * rtnl_neigh_set_ifindex(neigh, ifindex);
208 diff |= NEIGH_DIFF(IFINDEX, a->n_ifindex != b->n_ifindex);
235 __ADD(NEIGH_ATTR_IFINDEX, ifindex)
471 * @arg ifindex interface index the neighbour is on
475 struct rtnl_neigh * rtnl_neigh_get(struct nl_cache *cache, int ifindex,
481 if (neigh->n_ifindex == ifindex &&
751 void rtnl_neigh_set_ifindex(struct rtnl_neigh *neigh, int ifindex)
    [all...]
  /external/iproute2/ip/
iplink.c 396 int ifindex; local
398 ifindex = ll_name_to_index(*argv);
399 if (!ifindex)
402 &ifindex, 4);
404 int ifindex = 0; local
406 &ifindex, 4);
535 int ifindex; local
537 ifindex = ll_name_to_index(link);
538 if (ifindex == 0) {
543 addattr_l(&req.n, sizeof(req), IFLA_LINK, &ifindex, 4)
    [all...]
ipaddress.c 40 int ifindex; member in struct:__anon26182
376 if (filter.ifindex && ifi->ifi_index != filter.ifindex)
383 fprintf(stderr, "BUG: device with ifindex %d has nil ifname\n", ifi->ifi_index);
535 if (filter.ifindex && filter.ifindex != ifa->ifa_index)
720 static int print_selected_addrinfo(int ifindex, struct nlmsg_list *ainfo, FILE *fp)
732 if (ifa->ifa_index != ifindex ||
869 filter.ifindex = ll_name_to_index(filter_dev);
870 if (filter.ifindex <= 0)
    [all...]
ipxfrm.c 506 if (sel->ifindex > 0)
507 fprintf(fp, "dev %s ", ll_index_to_name(sel->ifindex));
1343 int ifindex; local
1348 ifindex = 0;
1350 ifindex = ll_name_to_index(*argv);
1351 if (ifindex <= 0)
1354 sel->ifindex = ifindex;
  /external/wpa_supplicant_8/src/drivers/
driver_nl80211.c 225 int ifindex; member in struct:i802_bss
257 int ifindex; member in struct:wpa_driver_nl80211_data
414 int ifindex, int disabled);
704 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, bss->ifindex);
1161 int ifindex, u8 *buf, size_t len)
1163 if (drv->ifindex == ifindex)
1167 wpa_printf(MSG_DEBUG, "nl80211: Update ifindex for a removed "
1206 wpa_printf(MSG_DEBUG, "nl80211: Ignore RTM_NEWLINK event for foreign ifindex %d",
5752 int ifindex; local
7264 int ifindex = if_nametoindex(bss->ifname); local
9890 int ifindex; local
9947 int ifindex, br_ifindex; local
10267 int ifindex = if_nametoindex(ifname); local
    [all...]
  /bionic/libc/dns/net/
getnameinfo.c 397 unsigned int ifindex; local
404 ifindex = (unsigned int)sa6->sin6_scope_id;
420 char *p = if_indextoname(ifindex, buf);
  /external/iproute2/misc/
arpd.c 103 int handle_if(int ifindex)
111 if (ifvec[i] == ifindex)
181 int send_probe(int ifindex, __u32 addr)
192 ifr.ifr_ifindex = ifindex;
225 sll.sll_ifindex = ifindex;
241 int queue_active_probe(int ifindex, __u32 addr)
256 if (buckets >= broadcast_rate && !send_probe(ifindex, addr)) {
265 int respond_to_kernel(int ifindex, __u32 addr, char *lla, int llalen)
281 req.ndm.ndm_ifindex = ifindex;
737 printf("%-8s %-15s %s\n", "#Ifindex", "IP", "MAC")
    [all...]
  /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/tcpdump/missing/
getnameinfo.c 232 unsigned int ifindex = local
236 if ((if_indextoname(ifindex, ep + 1)) == NULL)
  /hardware/broadcom/wlan/bcmdhd/wifi_hal/
cpp_bindings.h 205 int set_iface_id(int ifindex) {
206 return put_u32(NL80211_ATTR_IFINDEX, ifindex);
  /hardware/qcom/wlan/qcwcn/wifi_hal/
cpp_bindings.cpp 820 int ifindex; local
840 ifindex = if_nametoindex("wlan0");
841 ALOGE("%s ifindex obtained:%d",__func__,ifindex);
842 mMsg.set_iface_id(ifindex);
901 unsigned ifindex = if_nametoindex(name); local
902 ALOGE("%s ifindex obtained:%d",__func__,ifindex);
903 return mMsg.set_iface_id(ifindex);
cpp_bindings.h 227 int set_iface_id(int ifindex) {
228 return put_u32(NL80211_ATTR_IFINDEX, ifindex);
  /external/wpa_supplicant_8/src/ap/
iapp.c 384 int ifindex; local
415 ifindex = ifr.ifr_ifindex;
480 addr.sll_ifindex = ifindex;
  /system/core/libnetutils/
ifc_utils.c 254 int ifindex, s, len, ret; local
274 ifindex = if_nametoindex(name);
275 if (ifindex == 0) {
310 req.r.ifa_index = ifindex;
  /external/ipsec-tools/src/racoon/
sockmisc.c 565 int ifindex; local
572 ifindex = 0;
575 ifindex = src6.sin6_scope_id; /*???*/
601 pi->ipi6_ifindex = ifindex;
637 int ifindex = 0; local
661 pi->ipi_ifindex = ifindex;

Completed in 645 milliseconds

1 2 3 45 6 7