diff options
Diffstat (limited to 'include/linux/xfrm.h')
-rw-r--r-- | include/linux/xfrm.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h index 1d8c1f22c12d..4009f4445fa9 100644 --- a/include/linux/xfrm.h +++ b/include/linux/xfrm.h | |||
@@ -166,6 +166,10 @@ enum { | |||
166 | #define XFRM_MSG_NEWAE XFRM_MSG_NEWAE | 166 | #define XFRM_MSG_NEWAE XFRM_MSG_NEWAE |
167 | XFRM_MSG_GETAE, | 167 | XFRM_MSG_GETAE, |
168 | #define XFRM_MSG_GETAE XFRM_MSG_GETAE | 168 | #define XFRM_MSG_GETAE XFRM_MSG_GETAE |
169 | |||
170 | XFRM_MSG_REPORT, | ||
171 | #define XFRM_MSG_REPORT XFRM_MSG_REPORT | ||
172 | |||
169 | __XFRM_MSG_MAX | 173 | __XFRM_MSG_MAX |
170 | }; | 174 | }; |
171 | #define XFRM_MSG_MAX (__XFRM_MSG_MAX - 1) | 175 | #define XFRM_MSG_MAX (__XFRM_MSG_MAX - 1) |
@@ -325,12 +329,18 @@ struct xfrm_usersa_flush { | |||
325 | __u8 proto; | 329 | __u8 proto; |
326 | }; | 330 | }; |
327 | 331 | ||
332 | struct xfrm_user_report { | ||
333 | __u8 proto; | ||
334 | struct xfrm_selector sel; | ||
335 | }; | ||
336 | |||
328 | #ifndef __KERNEL__ | 337 | #ifndef __KERNEL__ |
329 | /* backwards compatibility for userspace */ | 338 | /* backwards compatibility for userspace */ |
330 | #define XFRMGRP_ACQUIRE 1 | 339 | #define XFRMGRP_ACQUIRE 1 |
331 | #define XFRMGRP_EXPIRE 2 | 340 | #define XFRMGRP_EXPIRE 2 |
332 | #define XFRMGRP_SA 4 | 341 | #define XFRMGRP_SA 4 |
333 | #define XFRMGRP_POLICY 8 | 342 | #define XFRMGRP_POLICY 8 |
343 | #define XFRMGRP_REPORT 0x10 | ||
334 | #endif | 344 | #endif |
335 | 345 | ||
336 | enum xfrm_nlgroups { | 346 | enum xfrm_nlgroups { |
@@ -346,6 +356,8 @@ enum xfrm_nlgroups { | |||
346 | #define XFRMNLGRP_POLICY XFRMNLGRP_POLICY | 356 | #define XFRMNLGRP_POLICY XFRMNLGRP_POLICY |
347 | XFRMNLGRP_AEVENTS, | 357 | XFRMNLGRP_AEVENTS, |
348 | #define XFRMNLGRP_AEVENTS XFRMNLGRP_AEVENTS | 358 | #define XFRMNLGRP_AEVENTS XFRMNLGRP_AEVENTS |
359 | XFRMNLGRP_REPORT, | ||
360 | #define XFRMNLGRP_REPORT XFRMNLGRP_REPORT | ||
349 | __XFRMNLGRP_MAX | 361 | __XFRMNLGRP_MAX |
350 | }; | 362 | }; |
351 | #define XFRMNLGRP_MAX (__XFRMNLGRP_MAX - 1) | 363 | #define XFRMNLGRP_MAX (__XFRMNLGRP_MAX - 1) |