Subject: Re: struct route
To: None <itojun@iijlab.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-net
Date: 07/12/2000 11:52:59
On Thu, Jul 13, 2000 at 03:44:56AM +0900, itojun@iijlab.net wrote:

 > >ok, how about:
 > >struct route {
 > >	struct rtentry *ro_rt;
 > >	union {
 > >		struct sockaddr roun_dst_sa;
 > >		struct sockaddr_storage roun_dst_ss;
 > >	} ro_un;
 > >#define	ro_dst		ro_un.roun_dst_sa	/* compatiblity */
 > >#define	ro_dst_sa	ro_un.roun_dst_ss
 > >};
 > 
 > 	we tried the above already.  it choked sys/netiso (ro_dst is
 > 	used as the name of struct member, and chokes with #define).
 > 	so we'd need to touch sys/netiso anyways even if we use the above.

So, we should touch netiso and nuke route_iso just like you're going to
nuke route_in6.  We've already agreed that it's a bad hack :-)

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>