Index: uspace/lib/c/include/net/in.h
===================================================================
--- uspace/lib/c/include/net/in.h	(revision 3e664287e034298711db95506e3d6e3f1a348b8a)
+++ uspace/lib/c/include/net/in.h	(revision ccf282fd2a5e9010cc2fd35ce119bd269ba99c96)
@@ -47,24 +47,14 @@
 #define INADDR_ANY 0
 
-/** Type definition of the INET address.
- * @see in_addr
- */
-typedef struct in_addr in_addr_t;
-
-/** Type definition of the INET socket address.
- * @see sockaddr_in
- */
-typedef struct sockaddr_in	sockaddr_in_t;
-
 /** INET address. */
-struct in_addr {
+typedef struct in_addr {
 	/** 4 byte IP address. */
 	uint32_t s_addr;
-};
+} in_addr_t;
 
 /** INET socket address.
  * @see sockaddr
  */
-struct sockaddr_in {
+typedef struct sockaddr_in {
 	/** Address family. Should be AF_INET. */
 	uint16_t sin_family;
@@ -72,8 +62,8 @@
 	uint16_t sin_port;
 	/** Internet address. */
-	struct in_addr sin_addr;
+	in_addr_t sin_addr;
 	/** Padding to meet the sockaddr size. */
 	uint8_t sin_zero[8];
-};
+} sockaddr_in_t;
 
 #endif
Index: uspace/lib/c/include/net/ip_protocols.h
===================================================================
--- uspace/lib/c/include/net/ip_protocols.h	(revision 3e664287e034298711db95506e3d6e3f1a348b8a)
+++ uspace/lib/c/include/net/ip_protocols.h	(revision ccf282fd2a5e9010cc2fd35ce119bd269ba99c96)
@@ -44,7 +44,8 @@
 /*@{*/
 
-#define IPPROTO_ICMP	1
-#define IPPROTO_TCP	6
-#define IPPROTO_UDP	17
+#define IPPROTO_ICMP    1
+#define IPPROTO_TCP     6
+#define IPPROTO_UDP     17
+#define IPPROTO_ICMPV6  58
 
 /*@}*/
