From 4aa8e54a303dfde9a53c47cd07c5af3c5fad4f01 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Tue, 13 Apr 2021 21:59:47 +0200 Subject: passt: Introduce a DHCPv6 server This implementation, similarly to the IPv4 DHCP one, hands out a single address, which is the same as the upstream address for the host. This avoids the need for address translation as long as the client runs a DHCPv6 client. The NDP "Managed" flag is now set in Router Advertisements. Signed-off-by: Stefano Brivio --- dhcpv6.h | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 dhcpv6.h (limited to 'dhcpv6.h') diff --git a/dhcpv6.h b/dhcpv6.h new file mode 100644 index 0000000..b29ddcd --- /dev/null +++ b/dhcpv6.h @@ -0,0 +1,2 @@ +int dhcpv6(struct ctx *c, struct ethhdr *eh, size_t len); +void dhcpv6_init(struct ctx *c); -- cgit v1.2.3