getifaddrs() Byte Order of ifaddrs->ifa_addr.s_addr

Pietro Paolini P.Paolini at ext.adbglobal.com
Wed Oct 10 11:19:37 EDT 2012


Hello,

I am using the getifaddrs() function and when I do some computation with the IP Addresses contained in the ifaddrs struct seems these IP are in network byte order.

Am I wrong  ?

Pedr0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121010/dc653b4d/attachment.html 


More information about the Kernelnewbies mailing list