forked from Minki/linux
16 lines
251 B
C
16 lines
251 B
C
|
#ifndef _NET_FLOW_KEYS_H
|
||
|
#define _NET_FLOW_KEYS_H
|
||
|
|
||
|
struct flow_keys {
|
||
|
__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
|