...
...
...
...
...
#define NXD_DNS_H
#include "nx_udp.h"
#include "nx_ipv4.h"
#include "nx_ipv6.h"
#define NX_DNS_ID
#define NX_DNS_LABEL_MAX
#define NX_DNS_NAME_MAX
#define NX_DNS_IP_LOOKUP_SIZE
#define NX_DNS_ID_OFFSET
#define NX_DNS_FLAGS_OFFSET
#define NX_DNS_QDCOUNT_OFFSET
#define NX_DNS_ANCOUNT_OFFSET
#define NX_DNS_NSCOUNT_OFFSET
#define NX_DNS_ARCOUNT_OFFSET
#define NX_DNS_QDSECT_OFFSET
#define NX_DNS_SUCCESS
#define NX_DNS_ERROR
#define NX_DNS_NO_SERVER
#define NX_DNS_TIMEOUT
#define NX_DNS_QUERY_FAILED
#define NX_DNS_BAD_ADDRESS_ERROR
#define NX_DNS_SIZE_ERROR
#define NX_DNS_MALFORMED_PACKET
#define NX_DNS_BAD_ID_ERROR
#define NX_DNS_PARAM_ERROR
#define NX_DNS_SERVER_NOT_FOUND
#define NX_DNS_PACKET_CREATE_ERROR
#define NX_DNS_EMPTY_DNS_SERVER_LIST
#define NX_DNS_SERVER_AUTH_ERROR
#define NX_DNS_ZERO_GATEWAY_IP_ADDRESS
#define NX_DNS_MISMATCHED_RESPONSE
#define NX_DNS_DUPLICATE_ENTRY
#define NX_DNS_RETRY_A_QUERY
#define NX_DNS_IPV6_DISABLED_ERROR
#define NX_DNS_INVALID_ADDRESS_TYPE
#define NX_DNS_IPV6_NOT_SUPPORTED
#define NX_DNS_NEED_MORE_RECORD_BUFFER
#define NX_DNS_FEATURE_NOT_SUPPORTED
#define NX_DNS_NAME_MISMATCH
#define NX_DNS_CACHE_ERROR
#define NX_DNS_QUERY_MASK
#define NX_DNS_RESPONSE_FLAG
#define NX_DNS_ERROR_MASK
#define NX_DNS_OPCODE_QUERY
#define NX_DNS_OPCODE_IQUERY
#define NX_DNS_OPCODE_STATUS
#define NX_DNS_AA_FLAG
#define NX_DNS_TC_FLAG
#define NX_DNS_RD_FLAG
#define NX_DNS_RA_FLAG
#define NX_DNS_FA_FLAG
#define NX_DNS_RCODE_MASK
#define NX_DNS_RCODE_SUCCESS
#define NX_DNS_RCODE_FORMAT_ERR
#define NX_DNS_RCODE_SERVER_ERR
#define NX_DNS_RCODE_NAME_ERR
#define NX_DNS_RCODE_NOT_IMPL
#define NX_DNS_RCODE_REFUSED
#define NX_DNS_QUERY_FLAGS
#define NX_DNS_COMPRESS_MASK
#define NX_DNS_COMPRESS_VALUE
#define NX_DNS_POINTER_MASK
#define NX_DNS_RR_TYPE_A
#define NX_DNS_RR_TYPE_NS
#define NX_DNS_RR_TYPE_MD
#define NX_DNS_RR_TYPE_MF
#define NX_DNS_RR_TYPE_CNAME
#define NX_DNS_RR_TYPE_SOA
#define NX_DNS_RR_TYPE_MB
#define NX_DNS_RR_TYPE_MG
#define NX_DNS_RR_TYPE_MR
#define NX_DNS_RR_TYPE_NULL
#define NX_DNS_RR_TYPE_WKS
#define NX_DNS_RR_TYPE_PTR
#define NX_DNS_RR_TYPE_HINFO
#define NX_DNS_RR_TYPE_MINFO
#define NX_DNS_RR_TYPE_MX
#define NX_DNS_RR_TYPE_TXT
#define NX_DNS_RR_TYPE_AAAA
#define NX_DNS_RR_TYPE_SRV
#define NX_DNS_RR_TYPE_AXFR
#define NX_DNS_RR_TYPE_MAILB
#define NX_DNS_RR_TYPE_MAILA
#define NX_DNS_RR_TYPE_ALL
#define NX_DNS_RR_CLASS_IN
#define NX_DNS_RR_CLASS_CS
#define NX_DNS_RR_CLASS_CH
#define NX_DNS_RR_CLASS_HS
#define NX_DNS_RR_CLASS_ALL
#define NX_DNS_PORT
#define NX_DNS_TYPE_OF_SERVICE
#define NX_DNS_FRAGMENT_OPTION
#define NX_DNS_TIME_TO_LIVE
#define NX_DNS_QUEUE_DEPTH
#define NX_DNS_MESSAGE_MAX
#define NX_DNS_PACKET_PAYLOAD_UNALIGNED
#define NX_DNS_PACKET_PAYLOAD
#define NX_DNS_PACKET_POOL_SIZE
#define NX_DNS_MAX_RETRIES
#define NX_DNS_MAX_SERVERS
#define NX_DNS_MAX_RETRANS_TIMEOUT
#define NX_DNS_PACKET_ALLOCATE_TIMEOUT
#define NX_DNS_MAX_COMPRESSION_POINTERS
NX_IP_DNS_STRUCT
nx_dns_id
nx_dns_domain
nx_dns_lookup_type
nx_dns_transmit_id
nx_dns_ip_ptr
nx_dns_server_ip_array
nx_dns_retries
nx_dns_pool
nx_dns_pool_area
nx_dns_packet_pool_ptr
nx_dns_socket
nx_dns_mutex
...
...
NX_DNS_IPV6_ADDRESS_STRUCT
ipv6_address
...
...
...
...
...
...
...
...
NX_DNS_RR_A_STRUCT
nx_dns_rr_a_address
NX_DNS_RR_AAAA_STRUCT
nx_dns_rr_aaaa_address
NX_DNS_RR_PTR_STRUCT
nx_dns_rr_ptr_name
NX_DNS_RR_NS_STRUCT
nx_dns_rr_ns_name
NX_DNS_RR_CNAME_STRUCT
nx_dns_rr_cname_name
NX_DNS_RR_MX_STRUCT
nx_dns_rr_mx_rdata
NX_DNS_RR_TXT_STRUCT
nx_dns_rr_txt_data
NX_DNS_RR_SRV_STRUCT
nx_dns_rr_srv_rdata
NX_DNS_RR_SOA_STRUCT
nx_dns_rr_soa_rdata
NX_DNS_RR_STRUCT
nx_dns_rr_name
nx_dns_rr_type
nx_dns_rr_class
nx_dns_rr_ttl
nx_dns_rr_last_used_time
nx_dns_rr_rdata_union
nx_dns_rr_rdata_a
nx_dns_rr_rdata_aaaa
nx_dns_rr_rdata_ptr
nx_dns_rr_rdata_srv
nx_dns_rr_rdata_txt
nx_dns_rr_rdata_cname
nx_dns_rr_rdata_ns
nx_dns_rr_rdata_mx
nx_dns_rr_rdata_soa
nx_dns_rr_rdata
#define nx_dns_create
#define nx_dns_delete
#define nx_dns_packet_pool_set
#define nx_dns_host_by_address_get
#define nx_dns_host_by_name_get
#define nx_dns_ipv4_address_by_name_get
#define nx_dns_cname_get
#define nx_dns_domain_name_server_get
#define nx_dns_host_text_get
#define nx_dns_domain_mail_exchange_get
#define nx_dns_domain_service_get
#define nx_dns_authority_zone_start_get
#define nx_dns_info_by_name_get
#define nx_dns_server_add
#define nx_dns_server_remove
#define nx_dns_server_remove_all
#define nx_dns_server_get
#define nx_dns_get_serverlist_size
#define nxd_dns_ipv6_address_by_name_get
#define nxd_dns_host_by_address_get
#define nxd_dns_host_by_name_get
#define nxd_dns_server_add
#define nxd_dns_server_remove
#define nxd_dns_server_get
#define nx_dns_cache_initialize
#define nx_dns_cache_notify_set
#define nx_dns_cache_notify_clear
#define nx_dns_create
#define nx_dns_delete
#define nx_dns_packet_pool_set
#define nx_dns_host_by_address_get
#define nx_dns_host_by_name_get
#define nx_dns_ipv4_address_by_name_get
#define nx_dns_cname_get
#define nx_dns_domain_name_server_get
#define nx_dns_host_text_get
#define nx_dns_domain_mail_exchange_get
#define nx_dns_domain_service_get
#define nx_dns_authority_zone_start_get
#define nx_dns_info_by_name_get
#define nx_dns_server_add
#define nx_dns_server_remove
#define nx_dns_server_remove_all
#define nx_dns_server_get
#define nx_dns_get_serverlist_size
#define nxd_dns_ipv6_address_by_name_get
#define nxd_dns_host_by_address_get
#define nxd_dns_host_by_name_get
#define nxd_dns_server_add
#define nxd_dns_server_remove
#define nxd_dns_server_get
#define nx_dns_cache_initialize
#define nx_dns_cache_notify_set
#define nx_dns_cache_notify_clear
_nxe_dns_create(NX_DNS *, NX_IP *, UCHAR *);
_nx_dns_create(NX_DNS *, NX_IP *, UCHAR *);
_nxe_dns_delete(NX_DNS *);
_nx_dns_delete(NX_DNS *);
_nxe_dns_packet_pool_set(NX_DNS *, NX_PACKET_POOL *);
_nx_dns_packet_pool_set(NX_DNS *, NX_PACKET_POOL *);
_nxe_dns_host_by_address_get(NX_DNS *, ULONG, UCHAR *, UINT, ULONG);
_nx_dns_host_by_address_get(NX_DNS *, ULONG, UCHAR *, UINT, ULONG);
_nxe_dns_host_by_name_get(NX_DNS *, UCHAR *, ULONG *, ULONG);
_nx_dns_host_by_name_get(NX_DNS *, UCHAR *, ULONG *, ULONG);
_nxe_dns_ipv4_address_by_name_get(NX_DNS *, UCHAR *, void *, UINT, UINT *, ULONG);
_nx_dns_ipv4_address_by_name_get(NX_DNS *, UCHAR *, void *, UINT, UINT *, ULONG);
_nxe_dns_server_add(NX_DNS *, ULONG);
_nx_dns_server_add(NX_DNS *, ULONG);
_nxe_dns_server_remove(NX_DNS *, ULONG);
_nx_dns_server_remove(NX_DNS *, ULONG);
_nxe_dns_server_remove_all(NX_DNS *);
_nx_dns_server_remove_all(NX_DNS *);
_nxe_dns_server_get(NX_DNS *, UINT, ULONG *);
_nx_dns_server_get(NX_DNS *, UINT, ULONG *);
_nxe_dns_get_serverlist_size(NX_DNS *, UINT *);
_nx_dns_get_serverlist_size(NX_DNS *, UINT *);
_nxde_dns_ipv6_address_by_name_get(NX_DNS *, UCHAR *, void *, UINT, UINT *, ULONG);
_nxd_dns_ipv6_address_by_name_get(NX_DNS *, UCHAR *, void *, UINT, UINT *, ULONG);
_nxde_dns_host_by_address_get(NX_DNS *, NXD_ADDRESS *, UCHAR *, UINT, ULONG);
_nxd_dns_host_by_address_get(NX_DNS *, NXD_ADDRESS *, UCHAR *, UINT, ULONG);
_nxde_dns_host_by_name_get(NX_DNS *, UCHAR *, NXD_ADDRESS *, ULONG, UINT);
_nxd_dns_host_by_name_get(NX_DNS *, UCHAR *, NXD_ADDRESS *, ULONG, UINT);
_nxde_dns_server_add(NX_DNS *, NXD_ADDRESS *);
_nxd_dns_server_add(NX_DNS *, NXD_ADDRESS *);
_nxde_dns_server_remove(NX_DNS *, NXD_ADDRESS *);
_nxd_dns_server_remove(NX_DNS *, NXD_ADDRESS *);
_nxde_dns_server_get(NX_DNS *, UINT, NXD_ADDRESS *);
_nxd_dns_server_get(NX_DNS *, UINT, NXD_ADDRESS *);
_nx_dns_response_get(NX_DNS *, UCHAR *, UCHAR *, UINT, UINT *, ULONG);