unbound
0.1
|
This structure contains module configuration information. More...
Data Fields | |
struct sockaddr_storage | prefix_addr |
DNS64 prefix address. More... | |
socklen_t | prefix_addrlen |
This is always sizeof(sockaddr_in6). | |
int | prefix_net |
This is the CIDR length of the prefix. More... | |
This structure contains module configuration information.
One instance of this structure exists per instance of the module. Normally there is only one instance of the module.
struct sockaddr_storage dns64_env::prefix_addr |
DNS64 prefix address.
We're using a full sockaddr instead of just an in6_addr because we can reuse Unbound's generic string parsing functions. It will always contain a sockaddr_in6, and only the sin6_addr member will ever be used.
Referenced by dns64_apply_cfg(), and handle_ipv6_ptr().
int dns64_env::prefix_net |
This is the CIDR length of the prefix.
It needs to be between 0 and 96.
Referenced by dns64_apply_cfg(), and handle_ipv6_ptr().