passt/dhcpv6.h
Stefano Brivio 4aa8e54a30 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 <sbrivio@redhat.com>
2021-04-13 22:37:40 +02:00

2 lines
91 B
C

int dhcpv6(struct ctx *c, struct ethhdr *eh, size_t len);
void dhcpv6_init(struct ctx *c);