bpf: add skc_lookup_tcp helper
authorLorenz Bauer <lmb@cloudflare.com>
Fri, 22 Mar 2019 01:54:01 +0000 (09:54 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 22 Mar 2019 01:59:10 +0000 (18:59 -0700)
commitedbf8c01de5a104a71ed6df2bf6421ceb2836a8e
tree5e603fa0b5f6f5a02f846d68c34050e1aafb4642
parent85a51f8c28b9812642d76db6889f3f39dc3fbab3
bpf: add skc_lookup_tcp helper

Allow looking up a sock_common. This gives eBPF programs
access to timewait and request sockets.

Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
include/uapi/linux/bpf.h
kernel/bpf/verifier.c
net/core/filter.c