diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2015-04-03 20:52:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-03 14:59:15 -0400 |
commit | bcad57182425426dd4aa14deb27f97acb329f3cd (patch) | |
tree | d534fef01490769c56a9246f9cf07dd681f0ecbe /include/uapi/linux/ip6_tunnel.h | |
parent | 2e7056c433216f406b90a003aa0ba42e19d3bdcf (diff) | |
download | linux-stable-bcad57182425426dd4aa14deb27f97acb329f3cd.tar.gz linux-stable-bcad57182425426dd4aa14deb27f97acb329f3cd.tar.bz2 linux-stable-bcad57182425426dd4aa14deb27f97acb329f3cd.zip |
ebpf: add skb->priority to offset map for usage in {cls, act}_bpf
This adds the ability to read out the skb->priority from an eBPF
program, so that it can be taken into account from a tc filter
or action for the use-case where the priority is not being used
to directly override the filter classification in a qdisc, but
to tag traffic otherwise for the classifier; the priority can be
assigned from various places incl. user space, in future we may
also mangle it from an eBPF program.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/ip6_tunnel.h')
0 files changed, 0 insertions, 0 deletions