Common OS/kernel code between freebsd and linux

sthaug at nethelp.no sthaug at nethelp.no
Sat May 22 12:35:13 UTC 2010


> I am not sure the right forum to ask this question - is there any effort done to find portable code between different OSes, particularly freebsd and linux? 
> Specifically, the networking layer could be portable between the 2 and there could be some set of APIs to call into the OS specific parts. This could be modeled as - if I want to port the networking layer or other stuff to userland, what set of code could reside in userspace such that that layer is portable between OSes ? For eg, there could be an API to access mbufs or skbuffs in freebsd or linux respectively, but the processing to be done for IP etc could remain the same. I don't know if this is worth thinking about? Please share your thoughts.

Are you sure the Linux crowd is interested in this?

As far as I know the BSD networking code has been *available* to the
Linux crowd basically from day 1 - but they chose to write their own...

Steinar Haug, Nethelp consulting, sthaug at nethelp.no


More information about the freebsd-net mailing list