diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-06-19 09:41:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-19 10:09:21 -0400 |
commit | 82828b88f081a0084cd65f90a4a1d3652f5adb66 (patch) | |
tree | afc4e3e5b7572586a0176097f82106370ba7895b /include/linux/skbuff.h | |
parent | 39f5886032380e49119786b23274b38e9b3aa99c (diff) | |
download | linux-82828b88f081a0084cd65f90a4a1d3652f5adb66.tar.gz linux-82828b88f081a0084cd65f90a4a1d3652f5adb66.tar.bz2 linux-82828b88f081a0084cd65f90a4a1d3652f5adb66.zip |
flow_dissector: add support for ingress ifindex dissection
Add new key meta that contains ingress ifindex value and add a function
to dissect this from skb. The key and function is prepared to cover
other potential skb metadata values dissection.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r-- | include/linux/skbuff.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 28bdaf978e72..b5d427b149c9 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -1320,6 +1320,10 @@ skb_flow_dissect_flow_keys_basic(const struct net *net, data, proto, nhoff, hlen, flags); } +void skb_flow_dissect_meta(const struct sk_buff *skb, + struct flow_dissector *flow_dissector, + void *target_container); + void skb_flow_dissect_tunnel_info(const struct sk_buff *skb, struct flow_dissector *flow_dissector, |