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 /sound | |
parent | 44f0e43037d3a17b043843ba67610ac7c7e37db6 (diff) | |
download | linux-6f9bd3d731aac0d2ac21dd78a642af5df38fb5c5.tar.bz2 |
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 'sound')
0 files changed, 0 insertions, 0 deletions