summaryrefslogtreecommitdiff
path: root/include/linux/synclink.h
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2019-02-10 10:22:23 +0300
committerAlexei Starovoitov <ast@kernel.org>2019-02-11 06:46:17 +0300
commit9b1f3d6e5af295a72deb5e3f04db07a6a58be72e (patch)
treeed930951a91c0ebc2d278c6f50e19955cee9d714 /include/linux/synclink.h
parentaa65d6960a98fc15a96ce361b26e9fd55c9bccc5 (diff)
downloadlinux-9b1f3d6e5af295a72deb5e3f04db07a6a58be72e.tar.xz
bpf: Refactor sock_ops_convert_ctx_access
The next patch will introduce a new "struct bpf_tcp_sock" which exposes the same tcp_sock's fields already exposed in "struct bpf_sock_ops". This patch refactor the existing convert_ctx_access() codes for "struct bpf_sock_ops" to get them ready to be reused for "struct bpf_tcp_sock". The "rtt_min" is not refactored in this patch because its handling is different from other fields. The SOCK_OPS_GET_TCP_SOCK_FIELD is new. All other SOCK_OPS_XXX_FIELD changes are code move only. Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/synclink.h')
0 files changed, 0 insertions, 0 deletions