flow_dissector: change port array into src, dst tuple

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jiri Pirko
2015-05-12 14:56:20 +02:00
committed by David S. Miller
parent 67a900cc04
commit 59346afe7a
7 changed files with 18 additions and 15 deletions

View File

@@ -34,13 +34,16 @@ struct flow_dissector_key_addrs {
/**
* flow_dissector_key_tp_ports:
* @ports: port numbers of Transport header
* port16[0]: src port number
* port16[1]: dst port number
* src: source port number
* dst: destination port number
*/
struct flow_dissector_key_ports {
union {
__be32 ports;
__be16 port16[2];
struct {
__be16 src;
__be16 dst;
};
};
};