1 #ifndef _ARPA_INET_H 2 #define _ARPA_INET_H 3 4 #include <netinet/in.h> 5 6 #ifdef __cplusplus 7 extern "C" 8 { 9 #endif 10 11 #ifndef __INSIDE_CYGWIN_NET__ 12 unsigned long inet_addr (const char *); 13 int inet_aton (const char *, struct in_addr *); 14 unsigned long inet_lnaof (struct in_addr); 15 struct in_addr inet_makeaddr (unsigned long , unsigned long); 16 unsigned int inet_netof (struct in_addr); 17 unsigned int inet_network (const char *); 18 char *inet_ntoa (struct in_addr); 19 #endif 20 21 #ifdef __cplusplus 22 }; 23 #endif 24 25 #endif /* _ARPA_INET_H */ |