update dlz_minimal.h

the addition of support for ECS client information in DLZ
modules omitted some necessary changes to build modules
in contrib.
This commit is contained in:
Evan Hunt
2022-01-27 15:11:42 -08:00
parent bba5a1780d
commit d3fed6f400
5 changed files with 40 additions and 4 deletions

View File

@@ -51,6 +51,10 @@ ISC_LANG_BEGINDECLS
*****/
#define DNS_CLIENTINFO_VERSION 3
/*
* Any updates to this structure should also be applied in
* contrib/modules/dlz/dlz_minmal.h.
*/
typedef struct dns_clientinfo {
uint16_t version;
void *data;
@@ -64,6 +68,10 @@ typedef isc_result_t (*dns_clientinfo_sourceip_t)(dns_clientinfo_t *client,
#define DNS_CLIENTINFOMETHODS_VERSION 2
#define DNS_CLIENTINFOMETHODS_AGE 1
/*
* Any updates to this structure should also be applied in
* contrib/modules/dlz/dlz_minmal.h.
*/
typedef struct dns_clientinfomethods {
uint16_t version;
uint16_t age;

View File

@@ -33,6 +33,10 @@
#define ECS_MAX_V6_SCOPE 56
#endif
/*
* Any updates to this structure should also be applied in
* contrib/modules/dlz/dlz_minmal.h.
*/
struct dns_ecs {
isc_netaddr_t addr;
uint8_t source;

View File

@@ -27,6 +27,10 @@
ISC_LANG_BEGINDECLS
/*
* Any updates to this structure should also be applied in
* contrib/modules/dlz/dlz_minmal.h.
*/
struct isc_netaddr {
unsigned int family;
union {

View File

@@ -23,6 +23,10 @@
#include <sys/un.h>
/*
* Any updates to this structure should also be applied in
* contrib/modules/dlz/dlz_minmal.h.
*/
struct isc_sockaddr {
union {
struct sockaddr sa;