diff options
author | Lawrence Brakmo <brakmo@fb.com> | 2018-01-26 01:14:13 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-01-26 01:41:14 +0100 |
commit | 6f9bd3d731aac0d2ac21dd78a642af5df38fb5c5 (patch) | |
tree | df671f4091e123537da0639e818023b109d6bc22 /include | |
parent | bpf: Add support for reading sk_state and more (diff) | |
download | linux-6f9bd3d731aac0d2ac21dd78a642af5df38fb5c5.tar.xz 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')
0 files changed, 0 insertions, 0 deletions