diff options
| author | Martin KaFai Lau <[email protected]> | 2016-12-07 15:53:14 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-12-08 14:25:13 -0500 |
| commit | 12d8bb64e3f65f5287ff17c084d076a28daa8096 (patch) | |
| tree | e772f55d041956a3e07a487b48b42df8a0b830bf /include/linux/debugobjects.h | |
| parent | ea3349a03519dcd4f32d949cd80ab995623dc5ac (diff) | |
bpf: xdp: Add XDP example for head adjustment
The XDP prog checks if the incoming packet matches any VIP:PORT
combination in the BPF hashmap. If it is, it will encapsulate
the packet with a IPv4/v6 header as instructed by the value of
the BPF hashmap and then XDP_TX it out.
The VIP:PORT -> IP-Encap-Info can be specified by the cmd args
of the user prog.
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Martin KaFai Lau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions