Merge branch 'for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata
[deliverable/linux.git] / include / net / flow_keys.h
CommitLineData
0744dd00
ED
1#ifndef _NET_FLOW_KEYS_H
2#define _NET_FLOW_KEYS_H
3
4struct flow_keys {
4d77d2b5 5 /* (src,dst) must be grouped, in the same way than in IP header */
0744dd00
ED
6 __be32 src;
7 __be32 dst;
8 union {
9 __be32 ports;
10 __be16 port16[2];
11 };
8ed78166 12 u16 thoff;
0744dd00
ED
13 u8 ip_proto;
14};
15
4787342c 16bool skb_flow_dissect(const struct sk_buff *skb, struct flow_keys *flow);
357afe9c 17__be32 skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto);
0744dd00 18#endif
This page took 0.156843 seconds and 5 git commands to generate.