Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields  

ipv4.h

00001 #ifndef NET__IPV4__H__
00002 #define NET__IPV4__H__
00003 
00004 #include <sysdeps.h>
00005 
00011 typedef struct { uint8 addr[4]; } ipv4addr;
00013 typedef uint16 ipv4port;
00014 
00015 extern const ipv4addr IPV4ADDR_ANY;
00016 extern const ipv4addr IPV4ADDR_BROADCAST;
00017 
00018 extern int ipv4_parse(const char* s, ipv4addr* addr, const char** end);
00019 extern const char* ipv4_scan(const char* s, ipv4addr* addr);
00020 extern const char* ipv4_format(const ipv4addr* addr);
00021 
00022 /* @} */
00023 
00024 #endif

Generated on Mon Apr 7 11:47:24 2003 for bglibs by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002