diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-10-08 01:14:47 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-10-12 01:57:34 +0200 |
commit | 60a3815da702fd9e4759945f26cce5c47d3967ad (patch) | |
tree | 24e82983b0beedc92c51921f49f13089bfb20ae2 /tools/testing/selftests/bpf/progs/test_tcp_hdr_options.c | |
parent | ddcfa710d40b39e3134d318e5fe07ba672288054 (diff) |
netfilter: add inet ingress support
This patch adds the NF_INET_INGRESS pseudohook for the NFPROTO_INET
family. This is a mapping this new hook to the existing NFPROTO_NETDEV
and NF_NETDEV_INGRESS hook. The hook does not guarantee that packets are
inet only, users must filter out non-ip traffic explicitly.
This infrastructure makes it easier to support this new hook in nf_tables.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions