/external/libnl/src/lib/ |
H A D | class.c | 31 struct nl_cache *nl_cli_class_alloc_cache(struct nl_sock *sock, int ifindex) argument 36 if ((err = rtnl_class_alloc_cache(sock, ifindex, &cache)) < 0)
|
H A D | cls.c | 32 struct nl_cache *nl_cli_cls_alloc_cache(struct nl_sock *sock, int ifindex, argument 38 if ((err = rtnl_cls_alloc_cache(sock, ifindex, parent, &cache)) < 0)
|
/external/libnl/src/ |
H A D | nl-link-name2ifindex.c | 25 uint32_t ifindex; local 34 if (!(ifindex = rtnl_link_name2i(link_cache, argv[1]))) 38 printf("%u\n", ifindex);
|
H A D | nl-link-ifindex2name.c | 17 printf("Usage: nl-link-ifindex2name <ifindex>\n"); 26 uint32_t ifindex; local 35 ifindex = nl_cli_parse_u32(argv[1]); 37 if (!rtnl_link_i2name(link_cache, ifindex, name, sizeof(name))) 39 ifindex);
|
H A D | nl-class-list.c | 47 static void __dump_class(int ifindex, struct rtnl_class *filter) argument 51 cache = nl_cli_class_alloc_cache(sock, ifindex); 67 int ifindex; local 111 if ((ifindex = rtnl_tc_get_ifindex(tc))) 112 __dump_class(ifindex, class);
|
H A D | nl-cls-list.c | 49 static void __dump_link(int ifindex, struct rtnl_cls *filter) argument 54 cache = nl_cli_cls_alloc_cache(sock, ifindex, parent); 71 int ifindex; local 123 if ((ifindex = rtnl_tc_get_ifindex(tc))) 124 __dump_link(ifindex, cls);
|
H A D | nl-tctree-list.c | 24 static int ifindex; variable 57 if (rtnl_cls_alloc_cache(sock, ifindex, parent, &cls_cache) < 0) 90 if (rtnl_cls_alloc_cache(sock, ifindex, parent, &cls_cache) < 0) 103 ifindex = rtnl_link_get_ifindex(link); 107 if (rtnl_class_alloc_cache(sock, ifindex, &class_cache) < 0) 110 qdisc = rtnl_qdisc_get_by_parent(qdisc_cache, ifindex, TC_H_ROOT); 116 qdisc = rtnl_qdisc_get_by_parent(qdisc_cache, ifindex, 0); 122 qdisc = rtnl_qdisc_get_by_parent(qdisc_cache, ifindex, TC_H_INGRESS);
|
/external/iproute2/include/linux/tc_act/ |
H A D | tc_mirred.h | 16 __u32 ifindex; /* ifindex of egress port */ member in struct:tc_mirred
|
/external/iproute2/ip/ |
H A D | iplink_hsr.c | 47 int ifindex; local 59 ifindex = ll_name_to_index(*argv); 60 if (ifindex == 0) 62 addattr_l(n, 1024, IFLA_HSR_SLAVE1, &ifindex, 4); 65 ifindex = ll_name_to_index(*argv); 66 if (ifindex == 0) 68 addattr_l(n, 1024, IFLA_HSR_SLAVE2, &ifindex, 4);
|
H A D | ipnetconf.c | 30 int ifindex; member in struct:__anon7944 84 int *ifindex = (int *)RTA_DATA(tb[NETCONFA_IFINDEX]); local 86 switch (*ifindex) { 94 fprintf(fp, "dev %s ", ll_index_to_name(*ifindex)); 133 void ipnetconf_reset_filter(int ifindex) argument 136 filter.ifindex = ifindex; 155 filter.ifindex = ll_name_to_index(*argv); 156 if (filter.ifindex <= 0) { 166 if (filter.ifindex) { [all...] |
H A D | iptoken.c | 34 int ifindex; member in struct:rtnl_dump_args 49 int ifindex = args->ifindex; local 67 if (ifindex > 0 && ifi->ifi_index != ifindex) 105 if ((da.ifindex = ll_name_to_index(*argv)) == 0)
|
H A D | ipmonitor.c | 163 int ifindex=0; local 225 ifindex = ll_name_to_index(*argv); 226 if (!ifindex) 235 ipaddr_reset_filter(1, ifindex); 236 iproute_reset_filter(ifindex); 237 ipmroute_reset_filter(ifindex); 238 ipneigh_reset_filter(ifindex); 239 ipnetconf_reset_filter(ifindex);
|
H A D | ipmroute.c | 188 void ipmroute_reset_filter(int ifindex) argument 193 filter.iif = ifindex;
|
/external/kernel-headers/original/uapi/linux/tc_act/ |
H A D | tc_mirred.h | 16 __u32 ifindex; /* ifindex of egress port */ member in struct:tc_mirred
|
/external/libnl/include/linux-private/linux/tc_act/ |
H A D | tc_mirred.h | 16 __u32 ifindex; /* ifindex of egress port */ member in struct:tc_mirred
|
/external/iputils/ninfod/ |
H A D | ninfod_addrs.c | 155 unsigned int ifindex = 0; local 177 if (!ifindex && 185 ifindex = p->pktinfo.ipi6_ifindex; 196 if (!ifindex || 197 (p->pktinfo.ipi6_ifindex == ifindex)) 198 ifindex = ifa->ifa_ifindex; 201 if (!ifindex) { 206 *subj_if = ifindex; 208 ifindex = subj_if ? *subj_if : 0; 209 if (ifindex 324 unsigned int ifindex = 0; local [all...] |
/external/android-clat/ |
H A D | getaddr.c | 35 unsigned int ifindex; member in struct:target 54 if(ifa_p->ifa_index != targ_p->ifindex) 108 targ.ifindex = if_nametoindex(interface); 109 if(targ.ifindex == 0) {
|
H A D | setif.c | 134 static int do_anycast_setsockopt(int sock, int what, struct in6_addr *addr, int ifindex) { argument 135 struct ipv6_mreq mreq = { *addr, ifindex }; 162 int ifindex; local 164 ifindex = if_nametoindex(ifname); 165 if (!ifindex) { 166 logmsg(ANDROID_LOG_ERROR, "%s: unknown ifindex for interface %s", __func__, ifname); 170 return do_anycast_setsockopt(sock, IPV6_JOIN_ANYCAST, addr, ifindex);
|
/external/mdnsresponder/mDNSWindows/ |
H A D | PosixCompat.c | 53 if_indextoname( unsigned ifindex, char * ifname ) argument 69 name = if_indextoname_funcptr(ifindex, ifname);
|
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_wext.h | 21 int ifindex; member in struct:wpa_driver_wext_data
|
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_wext.h | 21 int ifindex; member in struct:wpa_driver_wext_data
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_wext.h | 21 int ifindex; member in struct:wpa_driver_wext_data
|
/external/iproute2/bridge/ |
H A D | mdb.c | 51 static void print_mdb_entry(FILE *f, int ifindex, struct br_mdb_entry *e, argument 63 fprintf(f, "dev %s port %s grp %s %s", ll_index_to_name(ifindex), 64 ll_index_to_name(e->ifindex), 72 static void br_print_mdb_entry(FILE *f, int ifindex, struct rtattr *attr, argument 82 print_mdb_entry(f, ifindex, e, n); 106 if (filter_index && filter_index != r->ifindex) 115 br_print_mdb_entry(fp, r->ifindex, i, n); 122 ll_index_to_name(r->ifindex)); 134 ll_index_to_name(r->ifindex)); 228 req.bpm.ifindex [all...] |
/external/libnl/lib/route/act/ |
H A D | mirred.c | 67 nl_dump(p, " index %u", u->m_parm.ifindex); 163 int rtnl_mirred_set_ifindex(struct rtnl_act *act, uint32_t ifindex) argument 170 u->m_parm.ifindex = ifindex; 179 return u->m_parm.ifindex;
|
/external/libnl/python/netlink/route/ |
H A D | address.py | 33 # Using ifindex=0 here implies that the local address itself 37 def lookup(self, ifindex, local): 41 addr = capi.rtnl_addr_get(self._nl_cache, ifindex, 76 diff = self.ifindex - other.ifindex 91 def ifindex(self): member in class:Address 95 @ifindex.setter 96 def ifindex(self, value): member in class:Address 122 # ifindex is immutable but we assume that if _orig does not 123 # have an ifindex specifie [all...] |