Documentation ¶
Overview ¶
Package conf holds all of the global router state, for access by the router's various packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conf ¶
type Conf struct { // Topo contains the names of all local infrastructure elements, a map // of interface IDs to routers, and the actual topology. Topo *topology.Topo // IA is the current ISD-AS. IA addr.IA // BR is the topology information of this router. BR *topology.BRInfo // ASConf is the local AS configuration. ASConf *as_conf.ASConf // MasterKeys holds the local AS master keys. MasterKeys *as_conf.MasterKeys // HFMacPool is the pool of Hop Field MAC generation instances. HFMacPool sync.Pool // Net is the network configuration of this router. Net *netconf.NetConf // Dir is the configuration directory. Dir string }
Conf is the main config structure.
Click to show internal directories.
Click to hide internal directories.