You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lokinet/llarp/util
Jeff 74362149eb
refactor dns subsystem
we want to be able to have multiple locally bound dns sockets in lokinet so
i restructured most of the dns subsystem in order to make this easier.

specifically, we have a new structure to dns subsystem:

* dns::QueryJob_Base

base type for holding a dns query and response with virtual methods
in charge of sending a reply to whoever requested.

* dns::PacketSource_Base

base type for reading and writing dns messages to and from wherever they came from

* dns::Resolver_Base

base type for filtering and handling of dns messages asynchronously.

* dns::Server

contextualized per endpoint dns object, responsible for all dns related isms.

this change hides all impelementation details of all of the dns components.
adds some more helper functions for parsing dns and dealing with OwnedBuffer.

overall dns becomes less of a pain with this new structure. probably.
2 years ago
..
logging Replace logging with oxen-logger 2 years ago
meta Remote util::Printer and related cruft 2 years ago
thread Replace logging with oxen-logger 2 years ago
algorithm.hpp add forgotten file again 3 years ago
aligned.hpp Remote util::Printer and related cruft 2 years ago
bencode.cpp Replace logging with oxen-logger 2 years ago
bencode.h standardize include format and pragma once 3 years ago
bencode.hpp Replace logging with oxen-logger 2 years ago
bits.hpp standardize include format and pragma once 3 years ago
buffer.cpp refactor dns subsystem 2 years ago
buffer.hpp refactor dns subsystem 2 years ago
common.hpp standardize include format and pragma once 3 years ago
compare_ptr.hpp refactor dns subsystem 2 years ago
copy_or_nullptr.hpp standardize include format and pragma once 3 years ago
decaying_hashset.hpp publish our rc out to the network when we regenerate them 2 years ago
decaying_hashtable.hpp Merge pull request #1541 from majestrate/lns-consensus-2021-02-19 3 years ago
exceptions.hpp fix up log statements 2 years ago
formattable.hpp Remote util::Printer and related cruft 2 years ago
fs.cpp Replace logging with oxen-logger 2 years ago
fs.hpp Update fs.hpp 3 years ago
json.cpp standardize include format and pragma once 3 years ago
json.hpp standardize include format and pragma once 3 years ago
logging.hpp Add missing header to fix libc++ build 2 years ago
lokinet_init.c standardize include format and pragma once 3 years ago
lokinet_init.h standardize include format and pragma once 3 years ago
mem.cpp standardize include format and pragma once 3 years ago
mem.h standardize include format and pragma once 3 years ago
mem.hpp standardize include format and pragma once 3 years ago
priority_queue.hpp add util::ascending_priority_queue type 2 years ago
status.hpp standardize include format and pragma once 3 years ago
str.cpp Use more fmt 2 years ago
str.hpp Use more fmt 2 years ago
time.cpp Replace logging with oxen-logger 2 years ago
time.hpp Replace logging with oxen-logger 2 years ago
types.hpp add gossip info to systemd status 2 years ago