Hi guys, I noticed there is bug filed by KIYOHARA Takashi <kiyohara_at_kk.iij4u.or.jp> with a patch, link is here: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/73852, I tested if_fwip with this patch, it works great for me. When we switch byte-order two times on i386, the byte-order will back to original. if you look at the files src/lib/libc/i386/net/ntohl.S and src/lib/libc/i386/net/htonl.S, you will find exact same code: movl 4(%esp),%eax bswap %eax ret This tells everything. So I hope somebody can apply the patch made by KIYOHARA Takashi and close this bug. Thanks Cai, QuanqingReceived on Wed Oct 12 2005 - 16:23:25 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:45 UTC