Using userland library in Kernel

Dag-Erling Smørgrav des at
Thu Aug 9 03:51:34 PDT 2007

Dan Nelson <dnelson at> writes:
> It isn't.  However, there is a zlib implementation in the kernel
> already.  It's hidden under the PPP_DEFLATE kernel option (the source
> is in sys/net/ppp_deflate.c).

not quite, it's in sys/net/zlib.c and is used by more than just PPP:

net/zlib.c                      optional crypto | geom_uzip | ipsec | \
                                         mxge | ppp_deflate | netgraph_deflate

Dag-Erling Smørgrav - des at

More information about the freebsd-hackers mailing list