spliting kernel ipfw source ? (also involves sctp)

Sam Leffler sam at freebsd.org
Sun Mar 1 10:15:46 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 ?
>
> (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...)
>   
I think sctp belongs in it's own directory.

I'd vote for just ipfw; the "2" was an artifact of previous code.

    Sam



More information about the freebsd-net mailing list