/external/libnl/src/ |
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);
|
nl-link-name2ifindex.c | 17 printf("Usage: nl-link-ifindex2name <ifindex>\n"); 25 uint32_t ifindex; local 34 if (!(ifindex = rtnl_link_name2i(link_cache, argv[1]))) 38 printf("%u\n", ifindex);
|
nl-tctree-list.c | 23 static int ifindex; variable 55 if (rtnl_cls_alloc_cache(sock, ifindex, parent, &cls_cache) < 0) 74 if (rtnl_cls_alloc_cache(sock, ifindex, parent, &cls_cache) < 0) 87 ifindex = rtnl_link_get_ifindex(link); 91 if (rtnl_class_alloc_cache(sock, ifindex, &class_cache) < 0) 94 qdisc = rtnl_qdisc_get_by_parent(qdisc_cache, ifindex, TC_H_ROOT); 100 qdisc = rtnl_qdisc_get_by_parent(qdisc_cache, ifindex, 0); 106 qdisc = rtnl_qdisc_get_by_parent(qdisc_cache, ifindex, TC_H_INGRESS);
|
nl-cls-list.c | 43 int err, ifindex; local 46 ifindex = rtnl_link_get_ifindex((struct rtnl_link *) obj); 48 ifindex = rtnl_cls_get_ifindex(cls); 50 err = rtnl_cls_alloc_cache(sock, ifindex, rtnl_cls_get_parent(cls),
|
/external/iproute2/include/linux/tc_act/ |
tc_mirred.h | 16 __u32 ifindex; /* ifindex of egress port */ member in struct:tc_mirred
|
/external/kernel-headers/original/uapi/linux/tc_act/ |
tc_mirred.h | 16 __u32 ifindex; /* ifindex of egress port */ member in struct:tc_mirred
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/tc_act/ |
tc_mirred.h | 17 __u32 ifindex; /* ifindex of egress port */ member in struct:tc_mirred
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/tc_act/ |
tc_mirred.h | 16 __u32 ifindex; /* ifindex of egress port */ member in struct:tc_mirred
|
/external/libnl/include/linux/netfilter/ |
nfnetlink_log.h | 44 NFULA_IFINDEX_INDEV, /* u_int32_t ifindex */ 45 NFULA_IFINDEX_OUTDEV, /* u_int32_t ifindex */ 46 NFULA_IFINDEX_PHYSINDEV, /* u_int32_t ifindex */ 47 NFULA_IFINDEX_PHYSOUTDEV, /* u_int32_t ifindex */
|
nfnetlink_queue.h | 42 NFQA_IFINDEX_INDEV, /* u_int32_t ifindex */ 43 NFQA_IFINDEX_OUTDEV, /* u_int32_t ifindex */ 44 NFQA_IFINDEX_PHYSINDEV, /* u_int32_t ifindex */ 45 NFQA_IFINDEX_PHYSOUTDEV, /* u_int32_t ifindex */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/netfilter/ |
nfnetlink_log.h | 40 NFULA_IFINDEX_INDEV, /* __u32 ifindex */ 41 NFULA_IFINDEX_OUTDEV, /* __u32 ifindex */ 42 NFULA_IFINDEX_PHYSINDEV, /* __u32 ifindex */ 43 NFULA_IFINDEX_PHYSOUTDEV, /* __u32 ifindex */
|
nfnetlink_queue.h | 38 NFQA_IFINDEX_INDEV, /* __u32 ifindex */ 39 NFQA_IFINDEX_OUTDEV, /* __u32 ifindex */ 40 NFQA_IFINDEX_PHYSINDEV, /* __u32 ifindex */ 41 NFQA_IFINDEX_PHYSOUTDEV, /* __u32 ifindex */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter/ |
nfnetlink_log.h | 40 NFULA_IFINDEX_INDEV, /* __u32 ifindex */ 41 NFULA_IFINDEX_OUTDEV, /* __u32 ifindex */ 42 NFULA_IFINDEX_PHYSINDEV, /* __u32 ifindex */ 43 NFULA_IFINDEX_PHYSOUTDEV, /* __u32 ifindex */
|
nfnetlink_queue.h | 39 NFQA_IFINDEX_INDEV, /* __u32 ifindex */ 40 NFQA_IFINDEX_OUTDEV, /* __u32 ifindex */ 41 NFQA_IFINDEX_PHYSINDEV, /* __u32 ifindex */ 42 NFQA_IFINDEX_PHYSOUTDEV, /* __u32 ifindex */
|
/external/iputils/ninfod/ |
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 == 0 324 unsigned int ifindex = 0; local [all...] |
/external/iproute2/ip/ |
ipnetconf.c | 30 int ifindex; member in struct:__anon13967 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) 136 filter.ifindex = ifindex; 155 filter.ifindex = ll_name_to_index(*argv); 156 if (filter.ifindex <= 0) { 166 if (filter.ifindex) { [all...] |
ip_common.h | 16 void iproute_reset_filter(int ifindex); 17 void ipmroute_reset_filter(int ifindex); 18 void ipaddr_reset_filter(int oneline, int ifindex); 19 void ipneigh_reset_filter(int ifindex); 20 void ipnetconf_reset_filter(int ifindex);
|
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);
|
/prebuilts/go/darwin-x86/src/net/ |
interface_stub.go | 9 // If the ifindex is zero, interfaceTable returns mappings of all 12 func interfaceTable(ifindex int) ([]Interface, error) {
|
/prebuilts/go/linux-x86/src/net/ |
interface_stub.go | 9 // If the ifindex is zero, interfaceTable returns mappings of all 12 func interfaceTable(ifindex int) ([]Interface, error) {
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
nfnetlink_log.h | 40 NFULA_IFINDEX_INDEV, /* __u32 ifindex */ 41 NFULA_IFINDEX_OUTDEV, /* __u32 ifindex */ 42 NFULA_IFINDEX_PHYSINDEV, /* __u32 ifindex */ 43 NFULA_IFINDEX_PHYSOUTDEV, /* __u32 ifindex */
|
nfnetlink_queue.h | 39 NFQA_IFINDEX_INDEV, /* __u32 ifindex */ 40 NFQA_IFINDEX_OUTDEV, /* __u32 ifindex */ 41 NFQA_IFINDEX_PHYSINDEV, /* __u32 ifindex */ 42 NFQA_IFINDEX_PHYSOUTDEV, /* __u32 ifindex */
|
/external/iproute2/bridge/ |
mdb.c | 51 static void print_mdb_entry(FILE *f, int ifindex, struct br_mdb_entry *e, 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, 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 = ll_name_to_index(d) [all...] |
/prebuilts/go/darwin-x86/src/syscall/ |
lsf_linux.go | 21 func LsfSocket(ifindex, proto int) (int, error) { 30 lsall.Ifindex = ifindex
|
/prebuilts/go/linux-x86/src/syscall/ |
lsf_linux.go | 21 func LsfSocket(ifindex, proto int) (int, error) { 30 lsall.Ifindex = ifindex
|