WSL2-Linux-Kernel/include/uapi/linux/tc_act
Daniel Borkmann a8cb5f556b act_bpf: add initial eBPF support for actions
This work extends the "classic" BPF programmable tc action by extending
its scope also to native eBPF code!

Together with commit e2e9b6541d ("cls_bpf: add initial eBPF support
for programmable classifiers") this adds the facility to implement fully
flexible classifier and actions for tc that can be implemented in a C
subset in user space, "safely" loaded into the kernel, and being run in
native speed when JITed.

Also, since eBPF maps can be shared between eBPF programs, it offers the
possibility that cls_bpf and act_bpf can share data 1) between themselves
and 2) between user space applications. That means that, f.e. customized
runtime statistics can be collected in user space, but also more importantly
classifier and action behaviour could be altered based on map input from
the user space application.

For the remaining details on the workflow and integration, see the cls_bpf
commit e2e9b6541d. Preliminary iproute2 part can be found under [1].

  [1] http://git.breakpoint.cc/cgit/dborkman/iproute2.git/log/?h=ebpf-act

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-20 19:10:44 -04:00
..
Kbuild net: sched: export tc_connmark.h so it is uapi accessible 2015-02-23 16:41:08 -05:00
tc_bpf.h act_bpf: add initial eBPF support for actions 2015-03-20 19:10:44 -04:00
tc_connmark.h net: sched: Introduce connmark action 2015-01-19 16:02:06 -05:00
tc_csum.h UAPI: (Scripted) Disintegrate include/linux/tc_act 2012-10-09 09:49:05 +01:00
tc_defact.h tc: export tc_defact.h to userspace 2013-10-02 16:39:11 -04:00
tc_gact.h UAPI: (Scripted) Disintegrate include/linux/tc_act 2012-10-09 09:49:05 +01:00
tc_ipt.h net_sched: act: pick a different type for act_xt 2014-01-16 17:24:11 -08:00
tc_mirred.h UAPI: (Scripted) Disintegrate include/linux/tc_act 2012-10-09 09:49:05 +01:00
tc_nat.h UAPI: (Scripted) Disintegrate include/linux/tc_act 2012-10-09 09:49:05 +01:00
tc_pedit.h UAPI: (Scripted) Disintegrate include/linux/tc_act 2012-10-09 09:49:05 +01:00
tc_skbedit.h UAPI: (Scripted) Disintegrate include/linux/tc_act 2012-10-09 09:49:05 +01:00
tc_vlan.h sched: introduce vlan action 2014-11-21 14:20:18 -05:00