From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9ab217670812221958n6eafe49p4d0e6709a83534d9@mail.gmail.com> Date: Mon, 22 Dec 2008 22:58:43 -0500 From: "Devon H. O'Dell" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [9fans] Native TCP/IP stack in 9vx working Topicbox-Message-UUID: 6d618f4c-ead4-11e9-9d60-3106f5b1d025 Hey everyone, Over the past few days, Erik Quanstrom has been helping debug issues with the native IP stack in 9vx. He figured out some crazy issues with gcc wanting to return negative values for signed modulo comparisons -- this combined with a stupid oversight has got IP working. Erik says he's moving IL in tomorrow -- at this point, that shouldn't be a huge deal. Linux seems to have better performance than FreeBSD/Darwin -- this is because Linux lets you read TCP/UDP over a raw socket. BSD platforms don't let you do that -- you have to use BPF for this -- and libpcap makes that a bit easier -- so I think there's a bit more overhead involved with that. Also, there's still a fair amount of probably useless debugging stuff that we could conditionalize at compile-time, but I'll leave that in for a while before that happens. Please test it out! http://testbed.dh0.us:8000/ Big thanks to quanstro for his huge help in debugging. --dho