On Thu, Aug 11, 2005 at 02:18:31PM +1200, Ian McDonald wrote: > On 11/08/05, Herbert Xu <[EMAIL PROTECTED]> wrote: > > Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> wrote: > > > > > > -/* FIXME: this is utterly wrong */ > > > +/* Structure describing an Internet (DCCP) socket address. */ > > > struct sockaddr_dccp { > > > - struct sockaddr_in in; > > > - unsigned int service; > > > + __u16 sdccp_family; /* Address family */ > > > + __u16 sdccp_port; /* Port number */ > > > + __u32 sdccp_addr; /* Internet address */ > > Short answer is yes we will. Long answer is that we will try and get > all the IPv4 stuff working first (still got a fair bit to do yet) and > then we will work on IPv6.
In that case wouldn't it be better if this user-visible structure is designed in a way so that it can support IPv6 later on? Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html