summaryrefslogtreecommitdiff
path: root/net/ipv6/esp6.c
diff options
context:
space:
mode:
authorMasahide NAKAMURA <nakam@linux-ipv6.org>2007-06-26 23:57:49 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-10 22:15:43 -0700
commitd3d6dd3adaaad71eae20902ed81808a66a40a5b9 (patch)
treeb08faa2174867f3f589889695bfa8388d2237f1e /net/ipv6/esp6.c
parent59fbb3a61e02deaeaa4fb50792217921f3002d64 (diff)
downloadlinux-3.10-d3d6dd3adaaad71eae20902ed81808a66a40a5b9.tar.gz
linux-3.10-d3d6dd3adaaad71eae20902ed81808a66a40a5b9.tar.bz2
linux-3.10-d3d6dd3adaaad71eae20902ed81808a66a40a5b9.zip
[XFRM]: Add module alias for transformation type.
It is clean-up for XFRM type modules and adds aliases with its protocol: ESP, AH, IPCOMP, IPIP and IPv6 for IPsec ROUTING and DSTOPTS for MIPv6 It is almost the same thing as XFRM mode alias, but it is added new defines XFRM_PROTO_XXX for preprocessing since some protocols are defined as enum. Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org> Acked-by: Ingo Oeser <netdev@axxeo.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/esp6.c')
-rw-r--r--net/ipv6/esp6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/esp6.c b/net/ipv6/esp6.c
index 7107bb7e2e6..2db31ce3c7e 100644
--- a/net/ipv6/esp6.c
+++ b/net/ipv6/esp6.c
@@ -421,3 +421,4 @@ module_init(esp6_init);
module_exit(esp6_fini);
MODULE_LICENSE("GPL");
+MODULE_ALIAS_XFRM_TYPE(AF_INET6, XFRM_PROTO_ESP);