Kernel/IPStack - (minor) TODO retransmit timer
[tpg/acess2.git] / Usermode / Libraries / libpsocket.so_src / include_exp / netinet / in.h
index 94655e1..0f4e887 100644 (file)
@@ -39,11 +39,16 @@ enum {
        IPPROTO_UDP
 };
 
+#define INET_ADDRSTRLEN        16
+#define INET6_ADDRSTRLEN       48      // linux
+
 struct in6_addr
 {
        unsigned char   s6_addr[16];
 };
 
+extern struct in6_addr in6addr_any;
+
 struct sockaddr_in6
 {
        sa_family_t     sin6_family;
@@ -53,5 +58,7 @@ struct sockaddr_in6
        uint32_t        sin6_scope_id;
 };
 
+#include <arpa/inet.h> // for hton*/ntoh* (bochs)
+
 #endif
 

UCC git Repository :: git.ucc.asn.au