diff options
| author | Kumar Kartikeya Dwivedi <[email protected]> | 2022-01-14 16:39:49 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-01-18 22:26:42 +0000 |
| commit | b4c2b9593a1c4c3a718370e34af28e817fd5e5c6 (patch) | |
| tree | b19b9e8bbc6bbaaa8006f3e6c801c0467ef1f9c6 /scripts/bpf_doc.py | |
| parent | bpf: Add reference tracking support to kfunc (diff) | |
| download | kernel-b4c2b9593a1c4c3a718370e34af28e817fd5e5c6.tar.gz kernel-b4c2b9593a1c4c3a718370e34af28e817fd5e5c6.zip | |
net/netfilter: Add unstable CT lookup helpers for XDP and TC-BPF
This change adds conntrack lookup helpers using the unstable kfunc call
interface for the XDP and TC-BPF hooks. The primary usecase is
implementing a synproxy in XDP, see Maxim's patchset [0].
Export get_net_ns_by_id as nf_conntrack_bpf.c needs to call it.
This object is only built when CONFIG_DEBUG_INFO_BTF_MODULES is enabled.
[0]: https://lore.kernel.org/bpf/[email protected]
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
