libspf2  1.2.10
Data Fields
SPF_dns_rr_t Struct Reference

#include <spf_dns_rr.h>

Collaboration diagram for SPF_dns_rr_t:
Collaboration graph
[legend]

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

Detailed Description

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


Field Documentation

FQDN queried for.

Definition at line 53 of file spf_dns_rr.h.

Referenced by SPF_dns_rr_new_init(), SPF_dns_rr_new(), SPF_dns_rr_free(), and SPF_dns_rr_dup().

Alloced size of domain.

Definition at line 54 of file spf_dns_rr.h.

Referenced by SPF_dns_rr_new_init(), and SPF_dns_rr_new().

Used by DNS layers.

Definition at line 69 of file spf_dns_rr.h.

Referenced by SPF_dns_rr_free().

Alloced size of each RR.

Definition at line 61 of file spf_dns_rr.h.

Referenced by SPF_dns_rr_free(), and SPF_dns_rr_buf_realloc().

Number of RR allocated.

Definition at line 62 of file spf_dns_rr.h.

Referenced by SPF_dns_rr_free(), and SPF_dns_rr_buf_realloc().

Type of RR queried for.

Definition at line 56 of file spf_dns_rr.h.

Referenced by SPF_dns_rr_new_init(), SPF_dns_rr_new(), SPF_dns_rr_dup(), and SPF_record_interpret().

SPF_dns_server_t* SPF_dns_rr_t::source

Which layer created this RR.

Definition at line 70 of file spf_dns_rr.h.

Referenced by SPF_dns_rr_new_init(), and SPF_dns_rr_dup().

Raw TTL.

Definition at line 64 of file spf_dns_rr.h.

Referenced by SPF_dns_rr_new_init(), SPF_dns_rr_new(), and SPF_dns_rr_dup().

TTL adjusted to UTC.

Definition at line 65 of file spf_dns_rr.h.

Referenced by SPF_dns_rr_new(), and SPF_dns_rr_dup().


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