Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Bruce Evans writes: > >Ideally, header files wouldn't have any "variable sized structs" or > >anything else that depends on options. Core headers have to be much > >more careful about this because including an options header nested > >would break most modules and everything outside of the kernel (apart > >from the bug that modules and things outside of the kernel have no > >way to determine the correct value for the option). > > I agree. > > Suggestions for the best way of fixing "struct ipq" in ip_var.h > hereby solicited.
Please use a union; things like diversion information result in other information not being used. It makes no sense to uniformly bloat all memory allocations for minority features, merely for the sake of uniformity. -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message