diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/xfrm.h | 7 | ||||
-rw-r--r-- | include/net/xfrm.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h index 492fb9818747..14ecd19f4cdc 100644 --- a/include/linux/xfrm.h +++ b/include/linux/xfrm.h | |||
@@ -230,6 +230,12 @@ enum xfrm_ae_ftype_t { | |||
230 | #define XFRM_AE_MAX (__XFRM_AE_MAX - 1) | 230 | #define XFRM_AE_MAX (__XFRM_AE_MAX - 1) |
231 | }; | 231 | }; |
232 | 232 | ||
233 | struct xfrm_userpolicy_type { | ||
234 | __u8 type; | ||
235 | __u16 reserved1; | ||
236 | __u8 reserved2; | ||
237 | }; | ||
238 | |||
233 | /* Netlink message attributes. */ | 239 | /* Netlink message attributes. */ |
234 | enum xfrm_attr_type_t { | 240 | enum xfrm_attr_type_t { |
235 | XFRMA_UNSPEC, | 241 | XFRMA_UNSPEC, |
@@ -248,6 +254,7 @@ enum xfrm_attr_type_t { | |||
248 | XFRMA_SRCADDR, /* xfrm_address_t */ | 254 | XFRMA_SRCADDR, /* xfrm_address_t */ |
249 | XFRMA_COADDR, /* xfrm_address_t */ | 255 | XFRMA_COADDR, /* xfrm_address_t */ |
250 | XFRMA_LASTUSED, | 256 | XFRMA_LASTUSED, |
257 | XFRMA_POLICY_TYPE, /* struct xfrm_userpolicy_type */ | ||
251 | __XFRMA_MAX | 258 | __XFRMA_MAX |
252 | 259 | ||
253 | #define XFRMA_MAX (__XFRMA_MAX - 1) | 260 | #define XFRMA_MAX (__XFRMA_MAX - 1) |
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index d341603e4ba8..c75b3287d8f8 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -203,6 +203,7 @@ struct km_event | |||
203 | u32 proto; | 203 | u32 proto; |
204 | u32 byid; | 204 | u32 byid; |
205 | u32 aevent; | 205 | u32 aevent; |
206 | u32 type; | ||
206 | } data; | 207 | } data; |
207 | 208 | ||
208 | u32 seq; | 209 | u32 seq; |