ipv6.h

00001 #ifndef NET__IPV6__H__
00002 #define NET__IPV6__H__
00003 
00004 #include <sysdeps.h>
00005 
00011 typedef struct {
00013   uint8 addr[16];
00014 } ipv6addr;
00016 typedef uint16 ipv6port;
00017 
00018 extern const ipv6addr IPV6ADDR_ANY;
00019 extern const ipv6addr IPV6ADDR_LOOPBACK;
00020 
00021 extern const char* ipv6_scan(const char* s, ipv6addr* addr);
00022 extern const char* ipv6_format(const ipv6addr* addr);
00023 extern unsigned fmt_ipv6addr(char* buffer, const ipv6addr* addr);
00024 
00027 #endif

Generated on Thu Feb 19 11:11:50 2009 for bglibs by  doxygen 1.5.4