Lines Matching full:xdp
71 static __always_inline int send_icmp4_too_big(struct xdp_md *xdp) in send_icmp4_too_big() argument
75 if (bpf_xdp_adjust_head(xdp, 0 - headroom)) in send_icmp4_too_big()
77 void *data = (void *)(long)xdp->data; in send_icmp4_too_big()
78 void *data_end = (void *)(long)xdp->data_end; in send_icmp4_too_big()
121 static __always_inline int handle_ipv4(struct xdp_md *xdp) in handle_ipv4() argument
123 void *data_end = (void *)(long)xdp->data_end; in handle_ipv4()
124 void *data = (void *)(long)xdp->data; in handle_ipv4()
130 if (bpf_xdp_adjust_tail(xdp, 0 - offset)) in handle_ipv4()
132 return send_icmp4_too_big(xdp); in handle_ipv4()
138 int _xdp_icmp(struct xdp_md *xdp) in _xdp_icmp() argument
140 void *data_end = (void *)(long)xdp->data_end; in _xdp_icmp()
141 void *data = (void *)(long)xdp->data; in _xdp_icmp()
151 return handle_ipv4(xdp); in _xdp_icmp()