diff options
author | Nikita V. Shirokov <tehnerd@fb.com> | 2018-03-26 17:36:57 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-03-28 21:05:35 +0200 |
commit | 6f5c39fa5cd4a78c5432021e981aa8f79437a32c (patch) | |
tree | ca8000b083f974d4d87861ea89cb43e25049fa77 /net/wireless/trace.h | |
parent | samples/bpf: fix spelling mistake: "revieve" -> "receive" (diff) | |
download | linux-6f5c39fa5cd4a78c5432021e981aa8f79437a32c.tar.xz linux-6f5c39fa5cd4a78c5432021e981aa8f79437a32c.zip |
bpf: Add sock_ops R/W access to ipv4 tos
Sample usage for tos ...
bpf_getsockopt(skops, SOL_IP, IP_TOS, &v, sizeof(v))
... where skops is a pointer to the ctx (struct bpf_sock_ops).
Signed-off-by: Nikita V. Shirokov <tehnerd@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/wireless/trace.h')
0 files changed, 0 insertions, 0 deletions