On Wed, 4 Aug 1999, Doug Rabson wrote:
> The argument for versioning is not simply because the size of ip_number
> might change (it should be a sockaddr) but because other fields might be
> added or removed. To avoid allocating a new syscall whenever this happens,
> the structure should be versioned.
Ahh, okay. If we plan on changing it, I agree.
>
> Putting sizeof(whatever) at the beginning of the structure works
> surprisingly well as a versioning system.
Or a version field at a set offset, like in struct ip :)
>
> --
> Doug Rabson Mail: [EMAIL PROTECTED]
> Nonlinear Systems Ltd. Phone: +44 181 442 9037
>
>
>
Brian Fundakowski Feldman _ __ ___ ____ ___ ___ ___
[EMAIL PROTECTED] _ __ ___ | _ ) __| \
FreeBSD: The Power to Serve! _ __ | _ \._ \ |) |
http://www.FreeBSD.org/ _ |___/___/___/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message