unbound: dns64_env Struct Reference

unbound 0.1

Data Fields
dns64_env Struct Reference

This structure contains module configuration information. More...

## Data Fields
struct sockaddr_storage | prefix_addr
| DNS64 prefix address.
socklen_t | prefix_addrlen
| This is always sizeof(sockaddr_in6).
int | prefix_net
| This is the CIDR length of the prefix.
rbtree_type | ignore_aaaa
| Tree of names for which AAAA is ignored.

## Detailed Description

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.

## Field Documentation

## ◆ prefix_addr

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().

## ◆ prefix_net

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().

## ◆ ignore_aaaa

rbtree_type dns64_env::ignore_aaaa

Tree of names for which AAAA is ignored.

always synthesize from A.

Referenced by dns64_always_synth_for_qname(), dns64_apply_cfg(), dns64_deinit(), dns64_init(), and dns64_insert_ignore_aaaa().

The documentation for this struct was generated from the following file:

- dns64/dns64.c