diff options
| author | Daniel Borkmann <[email protected]> | 2017-07-02 02:13:25 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-07-03 02:22:51 -0700 |
| commit | 0daf4349406074fc03e4889ba5e97e6fb5311bab (patch) | |
| tree | 9e0dae4b6a5c254804136df0ee6827c3ba0f3b26 /tools/lib/api/fs/tracing_path.c | |
| parent | a68491f895a937778bb25b0795830797239de31f (diff) | |
bpf, net: add skb_mac_header_len helper
Add a small skb_mac_header_len() helper similarly as the
skb_network_header_len() we have and replace open coded
places in BPF's bpf_skb_change_proto() helper. Will also
be used in upcoming work.
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: John Fastabend <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions