Subject: Re: ipfilter 3.4beta - ipv6 filtering.
To: Martin Husemann <martin@rumolt.teuto.de>
From: Christian E. Hopps <chopps@merit.edu>
List: tech-net
Date: 02/21/2000 03:36:47
Martin Husemann <martin@rumolt.teuto.de> writes:

> > struct for IPv4 and IPv6.  The problem is that it gets sized differently
> > for IPv4 and IPv6 compiles - maybe this should be fixed in another manner.
> 
> The Windows (*uh, ah, shudder*) way of fixing this type of ABI problems is
> usually to add a "size_t sizeOfThisStructure" member as the first member of
> the strucuture.


Actualy my earlier message about sa_len isn't really what your talkign
about.  What your talking about is also present as the struct that gets
copied in by the ioctl has the size embedded in the ioctl number.