Skip to contentSkip to conversation

XFRM: support report message by monitor.

PATCH In review Masahide NAKAMURA 1 participant 1 message Dec 5, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 6/7 XFRM: support report message by monitor.

---
 ip/xfrm.h         |    2 ++
 ip/xfrm_monitor.c |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+), 0 deletions(-)
ip/xfrm.h +2 -0
index 51ffa4b..d33ff94 100644
@@ -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