diff options
| author | Yonghong Song <[email protected]> | 2020-06-23 23:08:12 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-06-25 01:37:59 +0000 |
| commit | 9e8ca27afab6c92477b459f6a5d2af0cd3197c20 (patch) | |
| tree | 921d5f3e7983888dff71e9fcd9209d2d572fdcfa /scripts/bpf_helpers_doc.py | |
| parent | bpf: Add bpf_skc_to_{tcp, tcp_timewait, tcp_request}_sock() helpers (diff) | |
| download | kernel-9e8ca27afab6c92477b459f6a5d2af0cd3197c20.tar.gz kernel-9e8ca27afab6c92477b459f6a5d2af0cd3197c20.zip | |
net: bpf: Add bpf_seq_afinfo in udp_iter_state
Similar to tcp_iter_state, a new field bpf_seq_afinfo is
added to udp_iter_state to provide bpf udp iterator
afinfo.
This does not change /proc/net/{udp, udp6} behavior. But
it enables bpf iterator to avoid get afinfo from PDE_DATA
and iterate through all udp and udp6 sockets in one pass.
Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions
