| Eric Dumazet | 0744dd0 | 2011-11-28 05:22:18 +0000 | [diff] [blame] | 1 | #ifndef _NET_FLOW_KEYS_H |
| 2 | #define _NET_FLOW_KEYS_H | ||||
| 3 | |||||
| 4 | struct flow_keys { | ||||
| 5 | __be32 src; | ||||
| 6 | __be32 dst; | ||||
| 7 | union { | ||||
| 8 | __be32 ports; | ||||
| 9 | __be16 port16[2]; | ||||
| 10 | }; | ||||
| 11 | u8 ip_proto; | ||||
| 12 | }; | ||||
| 13 | |||||
| 14 | extern bool skb_flow_dissect(const struct sk_buff *skb, struct flow_keys *flow); | ||||
| 15 | #endif | ||||