From e8aa2eb5787b5074b5b2867cb89653387f7e8d67 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 21 Nov 2020 13:57:54 +0100 Subject: Added browser IP address support --- libnet/inc/ip.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 libnet/inc/ip.h (limited to 'libnet/inc/ip.h') diff --git a/libnet/inc/ip.h b/libnet/inc/ip.h new file mode 100644 index 0000000..e06aba2 --- /dev/null +++ b/libnet/inc/ip.h @@ -0,0 +1,12 @@ +// MIT License, Copyright (c) 2020 Marvin Borner +// Most net/ip handlers are in the kernel space +// This is a userspace wrapper for some things + +#ifndef IP_H +#define IP_H + +#include + +int ip_pton(const char *src, u32 *dst); + +#endif -- cgit v1.2.3