Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/bpf/
H A 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 …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dbpf.h1435 struct bpf_dtab_netdev *__dev_map_lookup_elem(struct bpf_map *map, u32 key);
1436 struct bpf_dtab_netdev *__dev_map_hash_lookup_elem(struct bpf_map *map, u32 key);
1440 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp,
1442 int dev_map_generic_redirect(struct bpf_dtab_netdev *dst, struct sk_buff *skb,
1611 struct bpf_dtab_netdev;
1621 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, in dev_map_enqueue()
1629 static inline int dev_map_generic_redirect(struct bpf_dtab_netdev *dst, in dev_map_generic_redirect()
/OK3568_Linux_fs/kernel/net/core/
H A Dfilter.c4016 struct bpf_dtab_netdev *dst = fwd; in xdp_do_generic_redirect_map()