aboutsummaryrefslogtreecommitdiffstats
path: root/src/spf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/spf.h')
-rw-r--r--src/spf.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/spf.h b/src/spf.h
index 90a21c0b3..a9631e733 100644
--- a/src/spf.h
+++ b/src/spf.h
@@ -19,6 +19,7 @@ typedef enum spf_action_e {
SPF_RESOLVE_MX,
SPF_RESOLVE_A,
SPF_RESOLVE_PTR,
+ SPF_RESOLVE_AAA,
SPF_RESOLVE_REDIRECT,
SPF_RESOLVE_INCLUDE,
SPF_RESOLVE_EXISTS,
@@ -28,8 +29,16 @@ typedef enum spf_action_e {
struct spf_addr {
union {
struct {
- guint32 addr;
+ union {
+ struct in_addr in4;
+#ifdef HAVE_INET_PTON
+ struct in6_addr in6;
+#endif
+ } d;
guint32 mask;
+ gboolean ipv6;
+ gboolean parsed;
+ gboolean addr_any;
} normal;
GList *list;
} data;
@@ -45,6 +54,7 @@ struct spf_record {
gint elt_num;
gint nested;
gint dns_requests;
+ gint requests_inflight;
GList *addrs;
gchar *cur_domain;