diff options
author | Lawrence Brakmo <brakmo@fb.com> | 2018-01-25 16:14:13 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-01-25 16:41:14 -0800 |
commit | 6f9bd3d731aac0d2ac21dd78a642af5df38fb5c5 (patch) | |
tree | df671f4091e123537da0639e818023b109d6bc22 /include/uapi/linux/bpf.h | |
parent | 44f0e43037d3a17b043843ba67610ac7c7e37db6 (diff) | |
download | talos-obmc-linux-6f9bd3d731aac0d2ac21dd78a642af5df38fb5c5.tar.gz talos-obmc-linux-6f9bd3d731aac0d2ac21dd78a642af5df38fb5c5.zip |
bpf: Add sock_ops R/W access to tclass
Adds direct write access to sk_txhash and access to tclass for ipv6
flows through getsockopt and setsockopt. Sample usage for tclass:
bpf_getsockopt(skops, SOL_IPV6, IPV6_TCLASS, &v, sizeof(v))
where skops is a pointer to the ctx (struct bpf_sock_ops).
Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/uapi/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions