diff options
author | Tom Herbert <tom@herbertland.com> | 2015-08-01 01:52:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-01 02:07:11 +0200 |
commit | f70ea018da0631e10c26a02f5a82d626ffef5bd7 (patch) | |
tree | 7e7df0357c66c6e4824707233faedf96f89fde5e /include/net/ipv6.h | |
parent | Merge branch 'dsa-netconsole' (diff) | |
download | linux-f70ea018da0631e10c26a02f5a82d626ffef5bd7.tar.xz linux-f70ea018da0631e10c26a02f5a82d626ffef5bd7.zip |
net: Add functions to get skb->hash based on flow structures
Add skb_get_hash_flowi6 and skb_get_hash_flowi4 which derive an sk_buff
hash from flowi6 and flowi4 structures respectively. These functions
can be called when creating a packet in the output path where the new
sk_buff does not yet contain a fully formed packet that is parsable by
flow dissector.
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipv6.h')
0 files changed, 0 insertions, 0 deletions