ipv6.h

00001 /* $Id: ipv6.h 616 2005-08-19 20:11:01Z bruce $ */
00002 #ifndef NET__IPV6__H__
00003 #define NET__IPV6__H__
00004 
00005 #include <sysdeps.h>
00006 
00012 typedef struct {
00014   uint8 addr[16];
00015 } ipv6addr;
00017 typedef uint16 ipv6port;
00018 
00019 extern const ipv6addr IPV6ADDR_ANY;
00020 extern const ipv6addr IPV6ADDR_LOOPBACK;
00021 
00022 extern const char* ipv6_scan(const char* s, ipv6addr* addr);
00023 extern const char* ipv6_format(const ipv6addr* addr);
00024 extern unsigned fmt_ipv6addr(char* buffer, const ipv6addr* addr);
00025 
00028 #endif

Generated on Mon Oct 30 15:11:13 2006 for bglibs by  doxygen 1.4.7