summaryrefslogtreecommitdiff
path: root/ot_accesslist.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-11-01 21:38:11 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-11-01 21:38:11 +0100
commit451947b7bed5ba6c9c925ceb10df39c42a330614 (patch)
treed17893671badd19d64d5ccd6bfe7d4d781850aa9 /ot_accesslist.h
parent123b65bf406783a7bc997c76cd7796b15c8bdb14 (diff)
Live logging networks was defunc for a while, does not work with v6, so we remove it
Diffstat (limited to 'ot_accesslist.h')
-rw-r--r--ot_accesslist.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/ot_accesslist.h b/ot_accesslist.h
index 9c39a7a..ca0e126 100644
--- a/ot_accesslist.h
+++ b/ot_accesslist.h
@@ -66,22 +66,6 @@ int proxylist_add_network(const ot_net *proxy, const ot_net *net);
66int proxylist_check_network(const ot_ip6 *proxy, const ot_ip6 address /* can be NULL to only check proxy */); 66int proxylist_check_network(const ot_ip6 *proxy, const ot_ip6 address /* can be NULL to only check proxy */);
67#endif 67#endif
68 68
69#ifdef WANT_FULLLOG_NETWORKS
70typedef struct ot_log ot_log;
71struct ot_log {
72 ot_ip6 ip;
73 uint8_t *data;
74 size_t size;
75 ot_time time;
76 ot_log *next;
77};
78extern ot_log *g_logchain_first, *g_logchain_last;
79
80void loglist_add_network(const ot_net *net);
81void loglist_reset(void);
82int loglist_check_address(const ot_ip6 address);
83#endif
84
85typedef enum { 69typedef enum {
86 OT_PERMISSION_MAY_FULLSCRAPE = 0x1, 70 OT_PERMISSION_MAY_FULLSCRAPE = 0x1,
87 OT_PERMISSION_MAY_STAT = 0x2, 71 OT_PERMISSION_MAY_STAT = 0x2,