Commit Graph

7 Commits (ece91e87fc1031763d560640abbcaba18fdc685e)

Author SHA1 Message Date
lyyn ece91e87fc
Migrate tests from gtest to catch2 3 years ago
Jeff Becker 0f21eeccb0
* rework exit codepath to allow multiple exits
* rework net code for ip ranges to be cleaner
* clean up endpoint auth code
* refactor config to validate network configs before setting up endpoints
* remove buildone from path/pathbuilder.cpp so we don't spam connection attempts
4 years ago
Jason Rhinelander bdc9c7bfa8 Move IPRange out of net.hpp; free up TruncateV6 etc.
- Move IPRange into its own net/ip_range.hpp

- Move the static net::IPPacket::TruncateV6, etc. functions to free
net::TruncateV6, etc. functions (now from net/ip.hpp instead of
net/ip_packet.hpp).

- Make net::TruncateV6 and net::ExpandV4 constexpr.

- Add IPRange::FromIPv4 factory function (to replace the iprange_ipv4
free function)
4 years ago
Jeff Becker ac686a9329
remove valgrind access errors 5 years ago
Jeff Becker 2403ab8f86
ipv6 5 years ago
Michael 9ee525a006
Fix shadowing warnings 5 years ago
Michael a3463120cc
Move net components into a distinct folder 5 years ago