Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 2010 05:09:31 -0700
From:      Anjali Kulkarni <anjali@juniper.net>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Common OS/kernel code between freebsd and linux
Message-ID:  <50B3A5560BA4D74CADEC55A48B4641B23D5119D0BA@EMBX01-HQ.jnpr.net>

next in thread | raw e-mail | index | archive | help

Hi Folks,

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.

Anjali


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50B3A5560BA4D74CADEC55A48B4641B23D5119D0BA>