summaryrefslogtreecommitdiff
path: root/net/inet.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/inet.h')
-rw-r--r--net/inet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/inet.h b/net/inet.h
index 1d75e03..1cb71b2 100644
--- a/net/inet.h
+++ b/net/inet.h
@@ -23,6 +23,10 @@
#define ICMP_ECHO_REQUEST 8
uint16_t checksum(void *addr, int count);
+
uint16_t ntohs(uint16_t val);
uint16_t htons(uint16_t val);
+uint32_t ntohl(uint32_t val);
+uint32_t htonl(uint32_t val);
+
bool net_packet(struct netdev *dev);