summaryrefslogtreecommitdiff
path: root/device/net_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'device/net_io.h')
-rw-r--r--device/net_io.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/device/net_io.h b/device/net_io.h
index 073bdca..5b3a55c 100644
--- a/device/net_io.h
+++ b/device/net_io.h
@@ -83,4 +83,9 @@ extern void net_kmsg_collect (void);
#define net_kmsg_alloc() ((ipc_kmsg_t) kalloc(net_kmsg_size))
#define net_kmsg_free(kmsg) kfree((vm_offset_t) (kmsg), net_kmsg_size)
+extern unsigned int ntohl(unsigned int);
+extern unsigned short int ntohs(unsigned short int);
+extern unsigned int htonl(unsigned int);
+extern unsigned short int htons(unsigned short int);
+
#endif /* _DEVICE_NET_IO_H_ */