I just thought I'd mention I have ne2000 support added to my own small
IP stack in another project and thought it might be useful for Prex.
I remember some time in a post long ago someone mentioning they'd be
prepared to port an IP stack to Prex so long as someone else wrote
a driver. I started looking at which was the simplest driver in
Linux (ne2k), then removed all the parts that aren't needed for
the Qemu emulated version by inspecting the Qemu sources, also
removed interrupt support so you have to poll it.
All I've tested is that I can use the driver to do DHCP query and get an
IP address back from Qemu, there could be plenty of bugs, but it's
certainly helping me with my work, so thought I'd share it here.
The driver is C++ but in a C style, see attachment at the bottom of
Hopefully it's a trivial job to convert to C.
PS: Consider the code to be in the public domain!
Get latest updates about Open Source Projects, Conferences and News.