Home
last modified time | relevance | path

Searched refs:bpf_dtab_netdev (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/kernel/bpf/
Ddevmap.c63 struct bpf_dtab_netdev { struct
75 struct bpf_dtab_netdev **netdev_map; /* DEVMAP type only */ argument
140 cost += (u64) dtab->map.max_entries * sizeof(struct bpf_dtab_netdev *); in dev_map_init_map()
157 sizeof(struct bpf_dtab_netdev *), in dev_map_init_map()
222 struct bpf_dtab_netdev *dev; in dev_map_free()
240 struct bpf_dtab_netdev *dev; in dev_map_free()
275 struct bpf_dtab_netdev *__dev_map_hash_lookup_elem(struct bpf_map *map, u32 key) in __dev_map_hash_lookup_elem()
279 struct bpf_dtab_netdev *dev; in __dev_map_hash_lookup_elem()
294 struct bpf_dtab_netdev *dev, *next_dev; in dev_map_hash_get_next_key()
308 struct bpf_dtab_netdev, index_hlist); in dev_map_hash_get_next_key()
[all …]
/Linux-v5.10/include/linux/
Dbpf.h1382 struct bpf_dtab_netdev *__dev_map_lookup_elem(struct bpf_map *map, u32 key);
1383 struct bpf_dtab_netdev *__dev_map_hash_lookup_elem(struct bpf_map *map, u32 key);
1387 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp,
1389 int dev_map_generic_redirect(struct bpf_dtab_netdev *dst, struct sk_buff *skb,
1549 struct bpf_dtab_netdev;
1559 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, in dev_map_enqueue()
1567 static inline int dev_map_generic_redirect(struct bpf_dtab_netdev *dst, in dev_map_generic_redirect()
/Linux-v5.10/net/core/
Dfilter.c4037 struct bpf_dtab_netdev *dst = fwd; in xdp_do_generic_redirect_map()