aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_flow_dissector.sh
diff options
context:
space:
mode:
authorNitin Hande <nitin.hande@gmail.com>2018-10-28 21:02:45 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2018-11-09 10:14:54 +0100
commitc8123ead13a5c92dc5fd15c0fdfe88eef41e6ac1 (patch)
treebcaf2c624e5c4cf7f51fb33dd1c4bf115cc6c3fb /tools/testing/selftests/bpf/test_flow_dissector.sh
parentbpftool: Improve handling of ENOENT on map dumps (diff)
downloadlinux-dev-c8123ead13a5c92dc5fd15c0fdfe88eef41e6ac1.tar.xz
linux-dev-c8123ead13a5c92dc5fd15c0fdfe88eef41e6ac1.zip
bpf: Extend the sk_lookup() helper to XDP hookpoint.
This patch proposes to extend the sk_lookup() BPF API to the XDP hookpoint. The sk_lookup() helper supports a lookup on incoming packet to find the corresponding socket that will receive this packet. Current support for this BPF API is at the tc hookpoint. This patch will extend this API at XDP hookpoint. A XDP program can map the incoming packet to the 5-tuple parameter and invoke the API to find the corresponding socket structure. Signed-off-by: Nitin Hande <Nitin.Hande@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests/bpf/test_flow_dissector.sh')
0 files changed, 0 insertions, 0 deletions