Forked from
ffbs / ffbs-gluon
Source project has a limited visibility.
Christof Schulze
authored
mac_to_ip() calculates an ipv6 address from a mac address according to RFC 4291. For wireguard we have to use specially crafted addresses that must be unique. This allows calculating such unique mac-based addresses by allowing to optionally specifying the bytes to be inserted into the address.
Name | Last commit | Last update |
---|