1
0
mirror of https://passt.top/passt synced 2024-06-30 15:02:40 +00:00
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

3 lines
91 B
C

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