Home
last modified time | relevance | path

Searched refs:xdp_sock (Results 1 – 2 of 2) sorted by relevance

/include/net/
Dxdp_sock.h40 struct xdp_sock *xsk_map[];
43 struct xdp_sock { struct
79 int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp); argument
80 int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp);
83 static inline struct xdp_sock *__xsk_map_lookup_elem(struct bpf_map *map, in __xsk_map_lookup_elem()
87 struct xdp_sock *xs; in __xsk_map_lookup_elem()
98 static inline int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_generic_rcv()
103 static inline int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp) in __xsk_map_redirect()
112 static inline struct xdp_sock *__xsk_map_lookup_elem(struct bpf_map *map, in __xsk_map_lookup_elem()
Dxsk_buff_pool.h17 struct xdp_sock;
85 struct xsk_buff_pool *xp_create_and_assign_umem(struct xdp_sock *xs,
89 int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_sock *umem_xs,
96 void xp_add_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs);
97 void xp_del_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs);