aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/flow.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/flow.h')
-rw-r--r--include/net/flow.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/include/net/flow.h b/include/net/flow.h
index 541ac13f245a..f19f41d7dafc 100644
--- a/include/net/flow.h
+++ b/include/net/flow.h
@@ -89,13 +89,20 @@ struct flowi {
89#define fl4_scope flowi_scope 89#define fl4_scope flowi_scope
90 90
91 union flowi_uli uli_u; 91 union flowi_uli uli_u;
92#define fl_ip_sport uli_u.ports.sport 92#define fl4_sport uli_u.ports.sport
93#define fl_ip_dport uli_u.ports.dport 93#define fl4_dport uli_u.ports.dport
94#define fl_icmp_type uli_u.icmpt.type 94#define fl4_icmp_type uli_u.icmpt.type
95#define fl_icmp_code uli_u.icmpt.code 95#define fl4_icmp_code uli_u.icmpt.code
96#define fl_ipsec_spi uli_u.spi 96#define fl4_ipsec_spi uli_u.spi
97#define fl_mh_type uli_u.mht.type 97#define fl4_mh_type uli_u.mht.type
98#define fl_gre_key uli_u.gre_key 98#define fl4_gre_key uli_u.gre_key
99#define fl6_sport uli_u.ports.sport
100#define fl6_dport uli_u.ports.dport
101#define fl6_icmp_type uli_u.icmpt.type
102#define fl6_icmp_code uli_u.icmpt.code
103#define fl6_ipsec_spi uli_u.spi
104#define fl6_mh_type uli_u.mht.type
105#define fl6_gre_key uli_u.gre_key
99} __attribute__((__aligned__(BITS_PER_LONG/8))); 106} __attribute__((__aligned__(BITS_PER_LONG/8)));
100 107
101#define FLOW_DIR_IN 0 108#define FLOW_DIR_IN 0