Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/bpf/
Dbpf.h53 __u32 map_ifindex; member
55 #define bpf_map_create_opts__last_field map_ifindex
Dgen_loader.c468 attr.map_ifindex = map_attr->map_ifindex; in bpf_gen__map_create()
Dbpf.c199 attr.map_ifindex = OPTS_GET(opts, map_ifindex, 0); in bpf_map_create()
Dlibbpf.c515 int map_ifindex; member
5108 create_attr.map_ifindex = map->map_ifindex; in bpf_object__create_map()
9696 return map->map_ifindex; in bpf_map__ifindex()
9703 map->map_ifindex = ifindex; in bpf_map__set_ifindex()
/linux-6.6.21/tools/bpf/bpftool/
Dmap.c1297 if (attr.map_ifindex) { in do_create()
1302 attr.map_ifindex = if_nametoindex(*argv); in do_create()
1303 if (!attr.map_ifindex) { in do_create()
Dfeature.c603 opts.map_ifindex = ifindex; in probe_map_type_ifindex()
/linux-6.6.21/kernel/bpf/
Doffload.c527 offmap->netdev = __dev_get_by_index(net, attr->map_ifindex); in bpf_map_offload_map_alloc()
Dsyscall.c1172 if (attr->map_ifindex) in map_create()
/linux-6.6.21/tools/include/uapi/linux/
Dbpf.h1371 __u32 map_ifindex; /* ifindex of netdev to create on */ member
/linux-6.6.21/include/uapi/linux/
Dbpf.h1371 __u32 map_ifindex; /* ifindex of netdev to create on */ member