aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2005-05-03 17:26:40 -0400
committerDavid S. Miller <davem@davemloft.net>2005-05-03 17:26:40 -0400
commit492b558b3191319cbc859a9e025bc354d336c261 (patch)
tree44e4aef7da73c9d4fd0e31bdfe26399f52a9f0cd /include
parent526bdb80a23b2e10ed4ccc3fcf309c9118d892d6 (diff)
[XFRM]: Cleanup xfrm_msg_min and xfrm_dispatch
Converts xfrm_msg_min and xfrm_dispatch to use c99 designated initializers to make greping a little bit easier. Also replaces two hardcoded message type with meaningful names. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/xfrm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h
index 4d19b9e65317..fd2ef742a9fd 100644
--- a/include/linux/xfrm.h
+++ b/include/linux/xfrm.h
@@ -144,6 +144,8 @@ enum {
144}; 144};
145#define XFRM_MSG_MAX (__XFRM_MSG_MAX - 1) 145#define XFRM_MSG_MAX (__XFRM_MSG_MAX - 1)
146 146
147#define XFRM_NR_MSGTYPES (XFRM_MSG_MAX + 1 - XFRM_MSG_BASE)
148
147struct xfrm_user_tmpl { 149struct xfrm_user_tmpl {
148 struct xfrm_id id; 150 struct xfrm_id id;
149 __u16 family; 151 __u16 family;