[ipv6hackers] looking for the best tools to handle 128 bit integers

Eric Vyncke (evyncke) evyncke at cisco.com
Tue Aug 9 22:19:57 CEST 2011


Inet_pton() and inet_ntop() are your best friends in the IPv6 world

-éric

> -----Original Message-----
> From: ipv6hackers-bounces at lists.si6networks.com [mailto:ipv6hackers-
> bounces at lists.si6networks.com] On Behalf Of Mr. Hinky Dink
> Sent: mardi 9 août 2011 19:30
> To: ipv6hackers at lists.si6networks.com
> Subject: [ipv6hackers] looking for the best tools to handle 128 bit integers
> 
> I'm not quite sure how to handle them with C.
> 
> Any standard libraries I may have missed?
> 
> inet_ntoa() and inet_aton() seem to be stuck in the past, at least
> according to the manual pages.
> 
> "long long int" is 64 bits and __int128 doesn't seem to exist for me
> unless I'm not #including the right headers.
> 
> 
> 
> _______________________________________________
> Ipv6hackers mailing list
> Ipv6hackers at lists.si6networks.com
> http://lists.si6networks.com/listinfo/ipv6hackers



More information about the Ipv6hackers mailing list