Home
last modified time | relevance | path

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

/linux/tools/bpf/bpftool/
H A 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()
H A Dfeature.c599 opts.map_ifindex = ifindex; in probe_map_type_ifindex()
/linux/tools/lib/bpf/
H A Dbpf.h53 __u32 map_ifindex; member
H A Dlibbpf.c555 int map_ifindex; member
5196 create_attr.map_ifindex = map->map_ifindex; in bpf_object__create_map()
10379 return map->map_ifindex; in bpf_map__ifindex()
10386 map->map_ifindex = ifindex; in bpf_map__set_ifindex()
/linux/kernel/bpf/
H A Doffload.c534 offmap->netdev = __dev_get_by_index(net, attr->map_ifindex); in bpf_map_offload_map_alloc()
H A Dsyscall.c1362 if (attr->map_ifindex) in map_create()
/linux/include/uapi/linux/
H A Dbpf.h1476 __u32 map_ifindex; /* ifindex of netdev to create on */ member
/linux/tools/include/uapi/linux/
H A Dbpf.h1476 __u32 map_ifindex; /* ifindex of netdev to create on */ member