Home
last modified time | relevance | path

Searched refs:map_ifindex (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/tools/lib/bpf/
Dbpf.h50 __u32 map_ifindex; member
Dlibbpf_probes.c279 attr.map_ifindex = ifindex; in bpf_probe_map_type()
Dbpf.c97 attr.map_ifindex = create_attr->map_ifindex; in bpf_create_map_xattr()
Dlibbpf.c220 int map_ifindex; member
2154 create_attr.map_ifindex = map->map_ifindex; in bpf_object__create_maps()
4700 map->map_ifindex = ifindex; in bpf_map__set_ifindex()
4856 map->map_ifindex = attr->ifindex; in bpf_prog_load_xattr()
/Linux-v5.4/tools/bpf/bpftool/
Dmap.c1181 if (attr.map_ifindex) { in do_create()
1186 attr.map_ifindex = if_nametoindex(*argv); in do_create()
1187 if (!attr.map_ifindex) { in do_create()
/Linux-v5.4/kernel/bpf/
Doffload.c383 offmap->netdev = __dev_get_by_index(net, attr->map_ifindex); in bpf_map_offload_map_alloc()
Dsyscall.c119 if (attr->map_ifindex) in find_and_alloc_map()
/Linux-v5.4/include/uapi/linux/
Dbpf.h383 __u32 map_ifindex; /* ifindex of netdev to create on */ member
/Linux-v5.4/tools/include/uapi/linux/
Dbpf.h383 __u32 map_ifindex; /* ifindex of netdev to create on */ member