llarp::NetworkConfig

Public Functions

Name
void defineConfigOptions(ConfigDefinition & conf, const ConfigGenParameters & params)

Public Attributes

Name
std::optional< bool > m_enableProfiling
bool m_saveProfiles
std::set< RouterID > m_strictConnect
std::string m_ifname
IPRange m_ifaddr
std::optional< fs::path > m_keyfile
std::string m_endpointType
bool m_reachable
std::optional< int > m_Hops
std::optional< int > m_Paths
bool m_AllowExit
std::set< RouterID > m_snodeBlacklist
net::IPRangeMap< service::Address > m_ExitMap
net::IPRangeMap< std::string > m_LNSExitMap
std::unordered_map< service::Address, service::AuthInfo > m_ExitAuths
std::unordered_map< std::string, service::AuthInfo > m_LNSExitAuths
std::unordered_map< net::ipv6addr_t, service::Address > m_mapAddrs
service::AuthType m_AuthType
service::AuthFileType m_AuthFileType
std::optional< std::string > m_AuthUrl
std::optional< std::string > m_AuthMethod
std::unordered_set< service::Address > m_AuthWhitelist
std::unordered_set< std::string > m_AuthStaticTokens
std::set< fs::path > m_AuthFiles
std::vector< llarp::dns::SRVData > m_SRVRecords
std::optional< net::ipv6addr_t > m_baseV6Address
std::set< IPRange > m_OwnedRanges
std::optional< net::TrafficPolicy > m_TrafficPolicy
std::optional< llarp_time_t > m_PathAlignmentTimeout
std::optional< fs::path > m_AddrMapPersistFile
bool m_EnableRoutePoker
bool m_BlackholeRoutes

Public Functions Documentation

function defineConfigOptions

void defineConfigOptions(
    ConfigDefinition & conf,
    const ConfigGenParameters & params
)

Public Attributes Documentation

variable m_enableProfiling

std::optional< bool > m_enableProfiling;

variable m_saveProfiles

bool m_saveProfiles;

variable m_strictConnect

std::set< RouterID > m_strictConnect;

variable m_ifname

std::string m_ifname;

variable m_ifaddr

IPRange m_ifaddr;

variable m_keyfile

std::optional< fs::path > m_keyfile;

variable m_endpointType

std::string m_endpointType;

variable m_reachable

bool m_reachable = false;

variable m_Hops

std::optional< int > m_Hops;

variable m_Paths

std::optional< int > m_Paths;

variable m_AllowExit

bool m_AllowExit = false;

variable m_snodeBlacklist

std::set< RouterID > m_snodeBlacklist;

variable m_ExitMap

net::IPRangeMap< service::Address > m_ExitMap;

variable m_LNSExitMap

net::IPRangeMap< std::string > m_LNSExitMap;

variable m_ExitAuths

std::unordered_map< service::Address, service::AuthInfo > m_ExitAuths;

variable m_LNSExitAuths

std::unordered_map< std::string, service::AuthInfo > m_LNSExitAuths;

variable m_mapAddrs

std::unordered_map< net::ipv6addr_t, service::Address > m_mapAddrs;

variable m_AuthType

service::AuthType m_AuthType = service::AuthType::eAuthTypeNone;

variable m_AuthFileType

service::AuthFileType m_AuthFileType = service::AuthFileType::eAuthFileHashes;

variable m_AuthUrl

std::optional< std::string > m_AuthUrl;

variable m_AuthMethod

std::optional< std::string > m_AuthMethod;

variable m_AuthWhitelist

std::unordered_set< service::Address > m_AuthWhitelist;

variable m_AuthStaticTokens

std::unordered_set< std::string > m_AuthStaticTokens;

variable m_AuthFiles

std::set< fs::path > m_AuthFiles;

variable m_SRVRecords

std::vector< llarp::dns::SRVData > m_SRVRecords;

variable m_baseV6Address

std::optional< net::ipv6addr_t > m_baseV6Address;

variable m_OwnedRanges

std::set< IPRange > m_OwnedRanges;

variable m_TrafficPolicy

std::optional< net::TrafficPolicy > m_TrafficPolicy;

variable m_PathAlignmentTimeout

std::optional< llarp_time_t > m_PathAlignmentTimeout;

variable m_AddrMapPersistFile

std::optional< fs::path > m_AddrMapPersistFile;

variable m_EnableRoutePoker

bool m_EnableRoutePoker;

variable m_BlackholeRoutes

bool m_BlackholeRoutes;

Updated on 2026-01-10 at 22:49:45 +0000