Blame view

include/net/flow_keys.h 319 Bytes
0744dd00c   Eric Dumazet   net: introduce sk...
1
2
3
4
  #ifndef _NET_FLOW_KEYS_H
  #define _NET_FLOW_KEYS_H
  
  struct flow_keys {
4d77d2b56   Eric Dumazet   flow_dissector: u...
5
  	/* (src,dst) must be grouped, in the same way than in IP header */
0744dd00c   Eric Dumazet   net: introduce sk...
6
7
8
9
10
11
12
13
14
15
16
  	__be32 src;
  	__be32 dst;
  	union {
  		__be32 ports;
  		__be16 port16[2];
  	};
  	u8 ip_proto;
  };
  
  extern bool skb_flow_dissect(const struct sk_buff *skb, struct flow_keys *flow);
  #endif