WSL2-Linux-Kernel/tools/include/uapi/linux
Daniel Borkmann 2be7e212d5 bpf: add bpf_skb_adjust_room helper
This work adds a helper that can be used to adjust net room of an
skb. The helper is generic and can be further extended in future.
Main use case is for having a programmatic way to add/remove room to
v4/v6 header options along with cls_bpf on egress and ingress hook
of the data path. It reuses most of the infrastructure that we added
for the bpf_skb_change_type() helper which can be used in nat64
translations. Similarly, the helper only takes care of adjusting the
room so that related data is populated and csum adapted out of the
BPF program using it.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-03 02:22:52 -07:00
..
bpf.h bpf: add bpf_skb_adjust_room helper 2017-07-03 02:22:52 -07:00
bpf_common.h tools lib bpf: Copy bpf.h and bpf_common.h from the kernel 2016-07-12 15:20:32 -03:00
bpf_perf_event.h selftests/bpf: fix broken build 2017-03-12 23:48:41 -07:00
fcntl.h tools include uapi: Grab copies of stat.h and fcntl.h 2017-03-31 11:26:03 -03:00
hw_breakpoint.h hw_breakpoint: Allow watchpoint of length 3,5,6 and 7 2016-11-18 17:23:17 +00:00
mman.h tools include: Add uapi mman.h for each architecture 2016-09-13 15:26:08 -03:00
perf_event.h powerpc updates for 4.12 part 1. 2017-05-05 11:36:44 -07:00
stat.h tools/include: Sync kernel ABI headers with tooling headers 2017-05-24 09:00:21 +02:00