Searched refs:bpf_dtab_netdev (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/kernel/bpf/ |
D | devmap.c | 56 struct bpf_dtab_netdev; 62 struct bpf_dtab_netdev *obj; 66 struct bpf_dtab_netdev { struct 77 struct bpf_dtab_netdev **netdev_map; argument 123 cost = (u64) dtab->map.max_entries * sizeof(struct bpf_dtab_netdev *); in dev_map_init_map() 147 sizeof(struct bpf_dtab_netdev *), in dev_map_init_map() 232 struct bpf_dtab_netdev *dev; in dev_map_free() 272 struct bpf_dtab_netdev *__dev_map_hash_lookup_elem(struct bpf_map *map, u32 key) in __dev_map_hash_lookup_elem() 276 struct bpf_dtab_netdev *dev; in __dev_map_hash_lookup_elem() 290 struct bpf_dtab_netdev *dev, *next_dev; in dev_map_hash_get_next_key() [all …]
|
/Linux-v5.4/include/linux/ |
D | bpf.h | 720 struct bpf_dtab_netdev *__dev_map_lookup_elem(struct bpf_map *map, u32 key); 721 struct bpf_dtab_netdev *__dev_map_hash_lookup_elem(struct bpf_map *map, u32 key); 723 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, 725 int dev_map_generic_redirect(struct bpf_dtab_netdev *dst, struct sk_buff *skb, 819 struct bpf_dtab_netdev; 822 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, in dev_map_enqueue() 830 static inline int dev_map_generic_redirect(struct bpf_dtab_netdev *dst, in dev_map_generic_redirect()
|
/Linux-v5.4/net/core/ |
D | filter.c | 3522 struct bpf_dtab_netdev *dst = fwd; in __bpf_tx_xdp_map() 3664 struct bpf_dtab_netdev *dst = fwd; in xdp_do_generic_redirect_map()
|