Index: uspace/srv/net/inetsrv/ntrans.c
===================================================================
--- uspace/srv/net/inetsrv/ntrans.c	(revision c0f34601ec08693b7f731529896e78b6c700bc00)
+++ uspace/srv/net/inetsrv/ntrans.c	(revision fc4bf2a68893d755d03c377d242f982ce35c09db)
@@ -47,4 +47,11 @@
 static FIBRIL_CONDVAR_INITIALIZE(ntrans_cv);
 
+/** Look for address in translation table
+ *
+ * @param ip_addr IPv6 address
+ *
+ * @return inet_ntrans_t with the address on success
+ * @return NULL if nothing found
+ */
 static inet_ntrans_t *ntrans_find(addr128_t ip_addr)
 {
@@ -60,4 +67,13 @@
 }
 
+/** Add entry to translation table
+ *
+ * @param ip_addr  IPv6 address of the new entry
+ * @param mac_addr MAC address of the new entry
+ *
+ * @return EOK on success
+ * @return ENOMEM if not enough memory
+ *
+ */
 int ntrans_add(addr128_t ip_addr, addr48_t mac_addr)
 {
@@ -86,4 +102,12 @@
 }
 
+/** Remove entry from translation table
+ *
+ * @param ip_addr IPv6 address of the entry to be removed
+ *
+ * @return EOK on success
+ * @return ENOENT when no such address found
+ *
+ */
 int ntrans_remove(addr128_t ip_addr)
 {
@@ -104,4 +128,13 @@
 }
 
+/** Translate IPv6 address to MAC address using the translation table
+ *
+ * @param ip_addr  IPv6 address to be translated
+ * @param mac_addr MAC address to be assigned
+ *
+ * @return EOK on success
+ * @return ENOENT when no such address found
+ *
+ */
 int ntrans_lookup(addr128_t ip_addr, addr48_t mac_addr)
 {
@@ -118,4 +151,12 @@
 }
 
+/** Wait on translation table CV for some time
+ *
+ * @param timeout Timeout in microseconds
+ *
+ * @return EOK if woken up by another fibril
+ * @return ETIMEDOUT if timed out
+ *
+ */
 int ntrans_wait_timeout(suseconds_t timeout)
 {
