lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 1 Apr 2010 20:03:44 -0400 From: Neil Horman <nhorman@...driver.com> To: Eric Dumazet <eric.dumazet@...il.com> Cc: Andy Gospodarek <andy@...yhouse.net>, netdev@...r.kernel.org Subject: Re: [PATCH net-next-2.6] net: add support for htonb and ntohb On Thu, Apr 01, 2010 at 10:47:34PM +0200, Eric Dumazet wrote: > Le jeudi 01 avril 2010 à 16:32 -0400, Andy Gospodarek a écrit : > > After my recent post to net-2.6 this week to accidentally run htons to a > > u8, it is clear to me we _must_ add some infrastructure to make sure > > single bytes are in the correct network and host order on big and little > > endian systems. Today seemed like the perfect day to post this. > > > > This patch adds basic support for htonb and ntohb. Patches to add this > > in the entire networking tree in _every_ case where a single byte is > > accessed will be posted next week -- I'm almost done with them! > > > > Signed-off-by: Andy Gospodarek <andy@...yhouse.net> > > --- > > Seems fine, thanks a lot Andy. > > Hmm, I notice this doesnt handle yet arches where a byte is 9 bits long. > > Do you have any plan, to finally support PDP-6/10 ? > definately, and while your at it, I could really use some conversion routines for the more complex types just to save time. htonstr and ntohstr in particular > > > -- > To unsubscribe from this list: send the line "unsubscribe netdev" in > the body of a message to majordomo@...r.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists