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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/flow.h b/include/net/flow.h
index 21d988b2058a..e0522914316e 100644
--- a/include/net/flow.h
+++ b/include/net/flow.h
@@ -72,12 +72,21 @@ struct flowi {
72 } dnports; 72 } dnports;
73 73
74 __u32 spi; 74 __u32 spi;
75
76#ifdef CONFIG_IPV6_MIP6
77 struct {
78 __u8 type;
79 } mht;
80#endif
75 } uli_u; 81 } uli_u;
76#define fl_ip_sport uli_u.ports.sport 82#define fl_ip_sport uli_u.ports.sport
77#define fl_ip_dport uli_u.ports.dport 83#define fl_ip_dport uli_u.ports.dport
78#define fl_icmp_type uli_u.icmpt.type 84#define fl_icmp_type uli_u.icmpt.type
79#define fl_icmp_code uli_u.icmpt.code 85#define fl_icmp_code uli_u.icmpt.code
80#define fl_ipsec_spi uli_u.spi 86#define fl_ipsec_spi uli_u.spi
87#ifdef CONFIG_IPV6_MIP6
88#define fl_mh_type uli_u.mht.type
89#endif
81 __u32 secid; /* used by xfrm; see secid.txt */ 90 __u32 secid; /* used by xfrm; see secid.txt */
82} __attribute__((__aligned__(BITS_PER_LONG/8))); 91} __attribute__((__aligned__(BITS_PER_LONG/8)));
83 92