summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/xfrm.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h
index 46144681c5a7..febd00d7bfc6 100644
--- a/include/linux/xfrm.h
+++ b/include/linux/xfrm.h
@@ -104,17 +104,17 @@ enum
/* Netlink configuration messages. */
#define XFRM_MSG_BASE 0x10
-#define XFRM_MSG_NEWSA (RTM_BASE + 0)
-#define XFRM_MSG_DELSA (RTM_BASE + 1)
-#define XFRM_MSG_GETSA (RTM_BASE + 2)
+#define XFRM_MSG_NEWSA (XFRM_MSG_BASE + 0)
+#define XFRM_MSG_DELSA (XFRM_MSG_BASE + 1)
+#define XFRM_MSG_GETSA (XFRM_MSG_BASE + 2)
-#define XFRM_MSG_NEWPOLICY (RTM_BASE + 3)
-#define XFRM_MSG_DELPOLICY (RTM_BASE + 4)
-#define XFRM_MSG_GETPOLICY (RTM_BASE + 5)
+#define XFRM_MSG_NEWPOLICY (XFRM_MSG_BASE + 3)
+#define XFRM_MSG_DELPOLICY (XFRM_MSG_BASE + 4)
+#define XFRM_MSG_GETPOLICY (XFRM_MSG_BASE + 5)
-#define XFRM_MSG_ALLOCSPI (RTM_BASE + 6)
-#define XFRM_MSG_ACQUIRE (RTM_BASE + 7)
-#define XFRM_MSG_EXPIRE (RTM_BASE + 8)
+#define XFRM_MSG_ALLOCSPI (XFRM_MSG_BASE + 6)
+#define XFRM_MSG_ACQUIRE (XFRM_MSG_BASE + 7)
+#define XFRM_MSG_EXPIRE (XFRM_MSG_BASE + 8)
#define XFRM_MSG_MAX (XFRM_MSG_EXPIRE+1)