lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 25 May 2007 14:34:34 +0900 (JST) From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@...ux-ipv6.org> To: herbert@...dor.apana.org.au Cc: nakam@...ux-ipv6.org, netdev@...eo.de, davem@...emloft.net, netdev@...r.kernel.org, jmorris@...ei.org, kazunori@...azawa.org, mk@...ux-ipv6.org, yoshfuji@...ux-ipv6.org Subject: Re: [PATCH] [XFRM]: Add module alias for transformation type. In article <20070525053220.GA24362@...dor.apana.org.au> (at Fri, 25 May 2007 15:32:20 +1000), Herbert Xu <herbert@...dor.apana.org.au> says: > 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? No, because they are of enums. --yoshfuji - 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