[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070525053220.GA24362@gondor.apana.org.au>
Date: Fri, 25 May 2007 15:32:20 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: nakam@...ux-ipv6.org
Cc: netdev@...eo.de, davem@...emloft.net, netdev@...r.kernel.org,
jmorris@...ei.org, kazunori@...azawa.org, mk@...ux-ipv6.org
Subject: Re: [PATCH] [XFRM]: Add module alias for transformation type. (Re: [PATCH 2/2] [IPV6] MIP6: Loadable module support for MIPv6.)
On Fri, May 25, 2007 at 01:23:23PM +0900, nakam@...ux-ipv6.org wrote:
>
> diff --git a/include/net/xfrm.h b/include/net/xfrm.h
> index 1e53520..c9f895f 100644
> --- a/include/net/xfrm.h
> +++ b/include/net/xfrm.h
> @@ -19,9 +19,19 @@
> #include <net/ipv6.h>
> #include <net/ip6_fib.h>
>
> +#define XFRM_PROTO_ESP 50
> +#define XFRM_PROTO_AH 51
> +#define XFRM_PROTO_COMP 108
> +#define XFRM_PROTO_IPIP 4
> +#define XFRM_PROTO_IPV6 41
> +#define XFRM_PROTO_ROUTING IPPROTO_ROUTING
> +#define XFRM_PROTO_DSTOPTS IPPROTO_DSTOPTS
Could we use the existing IPPROTO_* values for all of these?
Otherwise this looks pretty good.
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists