libspf2
1.2.11
|
#include <spf_dns_rr.h>
Data Fields | |
char * | domain |
size_t | domain_buf_len |
ns_type | rr_type |
int | num_rr |
SPF_dns_rr_data_t ** | rr |
size_t * | rr_buf_len |
int | rr_buf_num |
time_t | ttl |
time_t | utc_ttl |
SPF_dns_stat_t | herrno |
void * | hook |
SPF_dns_server_t * | source |
A DNS packet.
This structure does not semantically match the DNS packet structure. It assumes that only one RR type was of interest, and that all RRs in the packet are of that type.
This is also used in spf_dns_zone.c
Definition at line 49 of file spf_dns_rr.h.
char* SPF_dns_rr_struct::domain |
FQDN queried for.
Definition at line 53 of file spf_dns_rr.h.
size_t SPF_dns_rr_struct::domain_buf_len |
Alloced size of domain.
Definition at line 54 of file spf_dns_rr.h.
SPF_dns_stat_t SPF_dns_rr_struct::herrno |
h_error returned from query.
Definition at line 66 of file spf_dns_rr.h.
void* SPF_dns_rr_struct::hook |
Used by DNS layers.
Definition at line 69 of file spf_dns_rr.h.
int SPF_dns_rr_struct::num_rr |
Number of RR returned in RR.
Definition at line 59 of file spf_dns_rr.h.
SPF_dns_rr_data_t** SPF_dns_rr_struct::rr |
RR set returned.
Definition at line 60 of file spf_dns_rr.h.
size_t* SPF_dns_rr_struct::rr_buf_len |
Alloced size of each RR.
Definition at line 61 of file spf_dns_rr.h.
int SPF_dns_rr_struct::rr_buf_num |
Number of RR allocated.
Definition at line 62 of file spf_dns_rr.h.
ns_type SPF_dns_rr_struct::rr_type |
Type of RR queried for.
Definition at line 56 of file spf_dns_rr.h.
SPF_dns_server_t* SPF_dns_rr_struct::source |
Which layer created this RR.
Definition at line 70 of file spf_dns_rr.h.
time_t SPF_dns_rr_struct::ttl |
Raw TTL.
Definition at line 64 of file spf_dns_rr.h.
time_t SPF_dns_rr_struct::utc_ttl |
TTL adjusted to UTC.
Definition at line 65 of file spf_dns_rr.h.