endianness of s_addr and sin_port

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

 



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.
-
: 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