Searched refs:xdp (Results 1 – 5 of 5) sorted by relevance
| /samples/bpf/ |
| A D | xdp_adjust_tail_kern.c | 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() 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() [all …]
|
| A D | xdp_tx_iptunnel_kern.c | 79 void *data_end = (void *)(long)xdp->data_end; in handle_ipv4() 80 void *data = (void *)(long)xdp->data; in handle_ipv4() 115 data = (void *)(long)xdp->data; in handle_ipv4() 116 data_end = (void *)(long)xdp->data_end; in handle_ipv4() 155 void *data = (void *)(long)xdp->data; in handle_ipv6() 187 data = (void *)(long)xdp->data; in handle_ipv6() 188 data_end = (void *)(long)xdp->data_end; in handle_ipv6() 216 int _xdp_tx_iptunnel(struct xdp_md *xdp) in _xdp_tx_iptunnel() argument 219 void *data = (void *)(long)xdp->data; in _xdp_tx_iptunnel() 229 return handle_ipv4(xdp); in _xdp_tx_iptunnel() [all …]
|
| A D | xdp2skb_meta.sh | 156 call_ip link show dev $device | grep --color=auto xdp 173 call_ip link set dev $device xdp off 204 call_ip link set dev $device xdp obj $file sec $prog
|
| A D | xdp_sample.bpf.c | 97 const struct bpf_prog *xdp, const void *tgt, int err, in BPF_PROG() argument 105 const struct bpf_prog *xdp, const void *tgt, int err, in BPF_PROG() argument 113 const struct bpf_prog *xdp, const void *tgt, int err, in BPF_PROG() argument 121 const struct bpf_prog *xdp, const void *tgt, int err, in BPF_PROG() argument 182 const struct bpf_prog *xdp, u32 act) in BPF_PROG() argument
|
| A D | README.rst | 8 moved to the xdp-tools repository: https://github.com/xdp-project/xdp-tools 11 in xdp-tools.
|
Completed in 9 milliseconds