Searched refs:map_ifindex (Results 1 – 10 of 10) sorted by relevance
53 __u32 map_ifindex; member55 #define bpf_map_create_opts__last_field map_ifindex
468 attr.map_ifindex = map_attr->map_ifindex; in bpf_gen__map_create()
199 attr.map_ifindex = OPTS_GET(opts, map_ifindex, 0); in bpf_map_create()
515 int map_ifindex; member5108 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()
1297 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()
603 opts.map_ifindex = ifindex; in probe_map_type_ifindex()
527 offmap->netdev = __dev_get_by_index(net, attr->map_ifindex); in bpf_map_offload_map_alloc()
1172 if (attr->map_ifindex) in map_create()
1371 __u32 map_ifindex; /* ifindex of netdev to create on */ member