From b439984641edaf4e781dc424d4c8a574461d3540 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Mon, 20 Jul 2020 16:27:43 +0200 Subject: merd: ARP and DHCP handlers, connection tracking fixes With this, merd provides a fully functional IPv4 environment to guests, requiring a single capability, CAP_NET_RAW. Signed-off-by: Stefano Brivio --- util.h | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 util.h (limited to 'util.h') diff --git a/util.h b/util.h new file mode 100644 index 0000000..282820c --- /dev/null +++ b/util.h @@ -0,0 +1,2 @@ +uint16_t csum_fold(uint32_t sum); +uint16_t csum_ip4(void *buf, size_t len); -- cgit v1.2.3