diff options
author | Nikita V. Shirokov <[email protected]> | 2018-04-17 21:42:13 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-04-18 23:34:16 +0200 |
commit | b32cc5b9a346319c171e3ad905e0cddda032b5eb (patch) | |
tree | 62d96c6e789c8014eef12f363dc27612ab4889d3 /lib/dynamic_debug.c | |
parent | 0c90f2243ec67eeacf9624ae52ab43c734fe0e93 (diff) |
bpf: adding bpf_xdp_adjust_tail helper
Adding new bpf helper which would allow us to manipulate
xdp's data_end pointer, and allow us to reduce packet's size
indended use case: to generate ICMP messages from XDP context,
where such message would contain truncated original packet.
Signed-off-by: Nikita V. Shirokov <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions