XFRM: support report message by monitor.
Subsystems (2)
PATCH 6/7 XFRM: support report message by monitor.
Signed-off-by Masahide NAKAMURA <[email protected]>
--- ip/xfrm.h | 2 ++ ip/xfrm_monitor.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 0 deletions(-)
ip/xfrm.h +2 -0
@@ -52,6 +52,8 @@ #define XFRMACQ_RTA(x) ((struct rtattr*)#define XFRMEXP_RTA (x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_user_expire))))#define XFRMPEXP_RTA (x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_user_polexpire)))) +#define XFRMREP_RTA (x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_user_report)))) +#define XFRM_FLAG_PRINT (fp, flags, f, s) \ do { \ if (flags & f) { \
ip/xfrm_monitor.c +52 -0
82 lines not on this page · raw message
Signature · 1 line
1.4.2