diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/xfrm.h | 1 | ||||
-rw-r--r-- | include/net/xfrm.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h index a7c9e4cfb15..b53f799189a 100644 --- a/include/linux/xfrm.h +++ b/include/linux/xfrm.h | |||
@@ -235,6 +235,7 @@ enum xfrm_attr_type_t { | |||
235 | XFRMA_REPLAY_THRESH, | 235 | XFRMA_REPLAY_THRESH, |
236 | XFRMA_ETIMER_THRESH, | 236 | XFRMA_ETIMER_THRESH, |
237 | XFRMA_SRCADDR, /* xfrm_address_t */ | 237 | XFRMA_SRCADDR, /* xfrm_address_t */ |
238 | XFRMA_COADDR, /* xfrm_address_t */ | ||
238 | __XFRMA_MAX | 239 | __XFRMA_MAX |
239 | 240 | ||
240 | #define XFRMA_MAX (__XFRMA_MAX - 1) | 241 | #define XFRMA_MAX (__XFRMA_MAX - 1) |
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index aa93cc1f629..872a2a4022b 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -134,6 +134,9 @@ struct xfrm_state | |||
134 | /* Data for encapsulator */ | 134 | /* Data for encapsulator */ |
135 | struct xfrm_encap_tmpl *encap; | 135 | struct xfrm_encap_tmpl *encap; |
136 | 136 | ||
137 | /* Data for care-of address */ | ||
138 | xfrm_address_t *coaddr; | ||
139 | |||
137 | /* IPComp needs an IPIP tunnel for handling uncompressed packets */ | 140 | /* IPComp needs an IPIP tunnel for handling uncompressed packets */ |
138 | struct xfrm_state *tunnel; | 141 | struct xfrm_state *tunnel; |
139 | 142 | ||