mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
net: bpf: Implement bpf iterator for udp
The bpf iterator for udp is implemented. Both udp4 and udp6 sockets will be traversed. It is up to bpf program to filter for udp4 or udp6 only, or both families of sockets. Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Martin KaFai Lau <kafai@fb.com> Link: https://lore.kernel.org/bpf/20200623230813.3988404-1-yhs@fb.com
This commit is contained in:
parent
9e8ca27afa
commit
5788b3a07f
1 changed files with 116 additions and 0 deletions
116
net/ipv4/udp.c
116
net/ipv4/udp.c
Loading…
Add table
Add a link
Reference in a new issue