[JNPR] Proposal for changes to network device drivers and network stack (RFC)

Stephen J. Kiernan stevek at juniper.net
Thu Jan 17 19:38:08 UTC 2013


On Jan 17, 2013 14:23, Stephen J. Kiernan wrote:
> The network stack as a module patch has been separated out and can be
> found in the following location:
> http://people.freebsd.org/~marcel/Juniper/netstack-v2.diff
>
> Details about these changes:

I also forgot to mention in the previous e-mail.

The patch also includes moving zlib.[ch] and zlibutil.h out of net and 
into sys/libkern (for the .c) and sys/sys (for the .h).
It really doesn't make much sense for that code to live in net, 
especially when so many things which are not the network stack utilize 
it.

That means that all kernel code that previously included net/zlib.h or 
net/zlibutil.h now needs to use sys/zlib.h or sys/zlibutil.h, 
respectively.

Is that going to be a problem? Should simple stubs be added in the 
original locations in net/ to include the one in sys/ now?

Note that there were only about a dozen source files in the kernel that 
needed changing.

--
Stephen J. Kiernan
Juniper Networks, Inc.
stevek_at_juniper.net


More information about the freebsd-net mailing list