libspf2  1.2.10
Data Fields
SPF_dns_rr_struct Struct Reference

#include <spf_dns_rr.h>

Collaboration diagram for SPF_dns_rr_struct:
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

Definition at line 49 of file spf_dns_rr.h.

Field Documentation

◆ domain

char* SPF_dns_rr_struct::domain

FQDN queried for.

Definition at line 53 of file spf_dns_rr.h.

◆ domain_buf_len

size_t SPF_dns_rr_struct::domain_buf_len

Alloced size of domain.

Definition at line 54 of file spf_dns_rr.h.

◆ herrno

SPF_dns_stat_t SPF_dns_rr_struct::herrno

h_error returned from query.

Definition at line 66 of file spf_dns_rr.h.

◆ hook

void* SPF_dns_rr_struct::hook

Used by DNS layers.

Definition at line 69 of file spf_dns_rr.h.

◆ num_rr

int SPF_dns_rr_struct::num_rr

Number of RR returned in RR.

Definition at line 59 of file spf_dns_rr.h.

◆ rr

SPF_dns_rr_data_t** SPF_dns_rr_struct::rr

RR set returned.

Definition at line 60 of file spf_dns_rr.h.

◆ rr_buf_len

size_t* SPF_dns_rr_struct::rr_buf_len

Alloced size of each RR.

Definition at line 61 of file spf_dns_rr.h.

◆ rr_buf_num

int SPF_dns_rr_struct::rr_buf_num

Number of RR allocated.

Definition at line 62 of file spf_dns_rr.h.

◆ rr_type

ns_type SPF_dns_rr_struct::rr_type

Type of RR queried for.

Definition at line 56 of file spf_dns_rr.h.

◆ source

SPF_dns_server_t* SPF_dns_rr_struct::source

Which layer created this RR.

Definition at line 70 of file spf_dns_rr.h.

◆ ttl

time_t SPF_dns_rr_struct::ttl

Raw TTL.

Definition at line 64 of file spf_dns_rr.h.

◆ utc_ttl

time_t SPF_dns_rr_struct::utc_ttl

TTL adjusted to UTC.

Definition at line 65 of file spf_dns_rr.h.


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