spliting kernel ipfw source ? (also involves sctp)

Julian Elischer julian at elischer.org
Sun Mar 1 13:26:44 PST 2009


Luigi Rizzo wrote:
> Hi,
> I am planning to split netinet/ip_fw2.c in a number of smaller files
> to make it more manageable, and while i do this I would also like
> to move the files related to ipfw2 (namely ip_fw*c) to a better place.
> Any objection to moving them to sys/netinet/ipfw2 ?
> 
> Also, I can't help noticing that sys/netinet/ contains 36 files
> related to sctp -- wouldn't it be the case to move them
> (perhaps with the exception of the userland headers)
> to a separate subdirectory ?

for that matter it would be nice to put ALL teh protocols in their own 
subdirectories.

tcp related files are also multiplying, with things like syncookies etc.

> 
> (I know the same reasoning would apply to tcp, which has 23 files,
> but the issue here is that there is 25 years of userland code expecting
> the tcp headers in netinet/ and moving them would be a
> nightmare for ports...)
> 
> 	cheers
> 	luigi
> _______________________________________________
> freebsd-arch at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to "freebsd-arch-unsubscribe at freebsd.org"



More information about the freebsd-arch mailing list