| To: | "David S. Miller" <davem@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [XFRM] Convert XFRM_MSG_* macros to an enum |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Tue, 6 Jul 2004 09:21:41 +1000 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20040705161148.503722e7.davem@redhat.com> |
| References: | <20040703095215.GA16195@gondor.apana.org.au> <20040705161148.503722e7.davem@redhat.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040523i |
On Mon, Jul 05, 2004 at 04:11:48PM -0700, David S. Miller wrote: > > > I'd like to add two new xfrm_user messages, FLUSHSA and FLUSHPOLICY. > > > > I've cleaned up the existing MSG definitions by converting them to > > an enum. This should make future additions slightly easier in that > > XFRM_MSG_MAX won't have to be touched again. > > If we end up needing the define macros anyways, after that discussion > with Yoshifuji, I don't see the point to this change any more and > therefore I'm not going to apply it. The point is that with enums we won't have to change XFRM_MSG_MAX every time a new message type is added. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [XFRM] Convert XFRM_MSG_* macros to an enum, David S. Miller |
|---|---|
| Next by Date: | Re: 2.6.6: IPv6 initialisation bug, David S. Miller |
| Previous by Thread: | Re: [XFRM] Convert XFRM_MSG_* macros to an enum, David S. Miller |
| Next by Thread: | Re: [XFRM] Convert XFRM_MSG_* macros to an enum, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |