Linux sagir-us1.hostever.us 5.14.0-570.51.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 8 09:41:34 EDT 2025 x86_64
LiteSpeed
Server IP : 104.247.108.91 & Your IP : 216.73.216.26
Domains : 74 Domain
User : georgeto
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
local /
apps /
libspf2 /
include /
spf2 /
Delete
Unzip
Name
Size
Permission
Date
Action
spf.h
2.48
KB
-rw-r--r--
2023-10-10 07:33
spf_dns.h
5.49
KB
-rw-r--r--
2023-10-10 07:33
spf_dns_cache.h
4.35
KB
-rw-r--r--
2023-10-10 07:33
spf_dns_null.h
1.51
KB
-rw-r--r--
2023-10-10 07:33
spf_dns_resolv.h
1.26
KB
-rw-r--r--
2023-10-10 07:33
spf_dns_rr.h
2.29
KB
-rw-r--r--
2023-10-10 07:33
spf_dns_test.h
1.32
KB
-rw-r--r--
2023-10-10 07:33
spf_dns_zone.h
2.85
KB
-rw-r--r--
2023-10-10 07:33
spf_lib_version.h
236
B
-rw-r--r--
2023-10-10 07:33
spf_log.h
4.98
KB
-rw-r--r--
2023-10-10 07:33
spf_record.h
7.33
KB
-rw-r--r--
2023-10-10 07:33
spf_request.h
2.98
KB
-rw-r--r--
2023-10-10 07:33
spf_response.h
8.6
KB
-rw-r--r--
2023-10-10 07:33
spf_server.h
3.45
KB
-rw-r--r--
2023-10-10 07:33
Save
Rename
/* * This program is free software; you can redistribute it and/or modify * it under the terms of either: * * a) The GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1, or (at your option) any * later version, * * OR * * b) The two-clause BSD license. * * These licenses can be found with the distribution in the file LICENSES */ #ifndef INC_SPF_DNS_RR #define INC_SPF_DNS_RR #include "spf_dns.h" /** * Data from a DNS RR. * * The strings in this union are usually malloc'ed larger than the * size of the union. Only create pointers to it! */ typedef union { struct in_addr a; char ptr[1]; char mx[1]; char txt[1]; struct in6_addr aaaa; } SPF_dns_rr_data_t; /** * 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 */ typedef struct SPF_dns_rr_struct { /* query information */ char *domain; /**< FQDN queried for. */ size_t domain_buf_len;/**< Alloced size of domain. */ ns_type rr_type; /**< Type of RR queried for. */ /* answer information */ int num_rr; /**< Number of RR returned in RR. */ SPF_dns_rr_data_t **rr; /**< RR set returned. */ size_t *rr_buf_len;/**< Alloced size of each RR. */ int rr_buf_num;/**< Number of RR allocated. */ time_t ttl; /**< Raw TTL. */ time_t utc_ttl; /**< TTL adjusted to UTC. */ SPF_dns_stat_t herrno; /**< h_error returned from query. */ /* misc information */ void *hook; /**< Used by DNS layers. */ SPF_dns_server_t *source; /**< Which layer created this RR. */ } SPF_dns_rr_t; SPF_dns_rr_t *SPF_dns_rr_new(void); void SPF_dns_rr_free(SPF_dns_rr_t *spfrr); SPF_dns_rr_t *SPF_dns_rr_new_init(SPF_dns_server_t *spf_dns_server, const char *domain, ns_type rr_type, int ttl, SPF_dns_stat_t herrno); SPF_dns_rr_t *SPF_dns_rr_new_nxdomain(SPF_dns_server_t *spf_dns_server, const char *domain); SPF_errcode_t SPF_dns_rr_buf_realloc(SPF_dns_rr_t *spfrr, int idx, size_t len ); SPF_errcode_t SPF_dns_rr_dup(SPF_dns_rr_t **dstp, SPF_dns_rr_t *src); #endif