]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - include/net/flow_keys.h
Merge tag 'blackfin-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/realm...
[mirror_ubuntu-zesty-kernel.git] / include / net / flow_keys.h
1 #ifndef _NET_FLOW_KEYS_H
2 #define _NET_FLOW_KEYS_H
3
4 struct flow_keys {
5 /* (src,dst) must be grouped, in the same way than in IP header */
6 __be32 src;
7 __be32 dst;
8 union {
9 __be32 ports;
10 __be16 port16[2];
11 };
12 u16 thoff;
13 u8 ip_proto;
14 };
15
16 extern bool skb_flow_dissect(const struct sk_buff *skb, struct flow_keys *flow);
17 #endif