diff options
| author | 2019-04-22 08:55:44 -0700 | |
|---|---|---|
| committer | 2019-04-23 18:36:33 +0200 | |
| commit | 089b19a9204fc090793d389a265f54124eacb05d (patch) | |
| tree | 66e9a7497cc7c7444866bda214ea14bd6b66f1ae /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | net: systemport: Remove need for DMA descriptor (diff) | |
| download | wireguard-linux-089b19a9204fc090793d389a265f54124eacb05d.tar.xz wireguard-linux-089b19a9204fc090793d389a265f54124eacb05d.zip | |
flow_dissector: switch kernel context to struct bpf_flow_dissector
struct bpf_flow_dissector has a small subset of sk_buff fields that
flow dissector BPF program is allowed to access and an optional
pointer to real skb. Real skb is used only in bpf_skb_load_bytes
helper to read non-linear data.
The real motivation for this is to be able to call flow dissector
from eth_get_headlen context where we don't have an skb and need
to dissect raw bytes.
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions
