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

