[CFT/Review] net byte order for AF_INET

Gleb Smirnoff glebius at FreeBSD.org
Fri Oct 12 10:13:16 UTC 2012


On Fri, Oct 12, 2012 at 02:20:55AM +0200, Olivier Cochard-Labb? wrote:
O> I've done some tests with this net byte ordered(NBO) patch:
O> - I've compiled 2 i386 images of BSD Router Project (current branch
O> rev241418): One with the patch, and the other without the patch [1]
O> - I've run my "full-features testing lab" under VirtualBox [2] using
O> theses images.
O> 
O> Here are the differences:
O> - I can't SSH to and between the NBO-patched-FreeBSD;
O> - Lot's of messages "in_cksum_skip: out of data by 28560/23460" on the
O> non-patched FreeBSD (R2 and R3 on the diagram in [2])
O> - PPTP tunnel (net/mpd5) didn't works on the NBO-patched-FreeBSD;

I see, TCP checksums didn't work. Here is updated patch that fixes that.

-- 
Totus tuus, Glebius.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IPv4.net-byte-order.diff
Type: text/x-diff
Size: 39637 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20121012/f3487b8e/attachment-0001.diff>


More information about the freebsd-net mailing list