aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2017-07-02 02:13:25 +0200
committerDavid S. Miller <[email protected]>2017-07-03 02:22:51 -0700
commit0daf4349406074fc03e4889ba5e97e6fb5311bab (patch)
tree9e0dae4b6a5c254804136df0ee6827c3ba0f3b26 /net/lapb/lapb_subr.c
parenta68491f895a937778bb25b0795830797239de31f (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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions