From 05498860e8f7b1e8bb27880bc7526de026694804 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 26 Mar 2021 21:55:50 +0100 Subject: Renamed libs Cleaner and more flexible. --- libs/libnet/ip.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 libs/libnet/ip.h (limited to 'libs/libnet/ip.h') diff --git a/libs/libnet/ip.h b/libs/libnet/ip.h new file mode 100644 index 0000000..e06aba2 --- /dev/null +++ b/libs/libnet/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