Re: endianness of s_addr and sin_port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 11, 2005 at 06:07:47PM -0600, Steve French wrote:
> linux/include/in.h does not specify endianness of s_addr and sin_port 
> which are big endian - although not a big deal it does make sparse 
> pretty noisy when you turn on endian checks (is there an easy way around 
> this - an alternative set of structures to in.h that calls out the 
> endianness that we are supposed to be using?) as the code that fills 
> these in does htonl, htons etc.

please send patches to endian annotate it.

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux