summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKrishna Kumar <krkumar@us.ibm.com>2003-05-25 05:46:42 -0700
committerDavid S. Miller <davem@nuts.ninka.net>2003-05-25 05:46:42 -0700
commitac34bae899c899a277f5df4a0c31827cbe1a3032 (patch)
tree84803beedde51c694ed8ecfa1294d76c5d720695 /include
parent5a00d2d295f2d27d840bd5e6ddeeef1063333685 (diff)
[XFRM_USER]: Wrong use of RTM_BASE.
Diffstat (limited to 'include')
-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)