Documentation
¶
Index ¶
- Constants
- Variables
- type Config
- func (c *Config) AdvertisementDataPrefix() enc.Name
- func (c *Config) AdvertisementSyncActivePrefix() enc.Name
- func (c *Config) AdvertisementSyncInterval() time.Duration
- func (c *Config) AdvertisementSyncPassivePrefix() enc.Name
- func (c *Config) AdvertisementSyncPrefix() enc.Name
- func (c *Config) MgmtPrefix() enc.Name
- func (c *Config) NetworkName() enc.Name
- func (c *Config) Parse() (err error)
- func (c *Config) PrefixTableDataPrefix() enc.Name
- func (c *Config) PrefixTableSyncPrefix() enc.Name
- func (c *Config) RouterDataPrefix() enc.Name
- func (c *Config) RouterDeadInterval() time.Duration
- func (c *Config) RouterName() enc.Name
- func (c *Config) SchemaBytes() []byte
- func (c *Config) TrustAnchorNames() []enc.Name
- type Neighbor
Constants ¶
View Source
const CostInfinity = uint64(16)
View Source
const NlsrOrigin = uint64(mgmt.RouteOriginNLSR)
Variables ¶
View Source
var MulticastStrategy = enc.LOCALHOST. Append(enc.NewGenericComponent("nfd")). Append(enc.NewGenericComponent("strategy")). Append(enc.NewGenericComponent("multicast"))
View Source
var SchemaBytes []byte
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Network should be the same for all routers in the network. Network string `json:"network"` // Router should be unique for each router in the network. Router string `json:"router"` // Period of sending Advertisement Sync Interests. AdvertisementSyncInterval_ms uint64 `json:"advertise_interval"` // Time after which a neighbor is considered dead. RouterDeadInterval_ms uint64 `json:"router_dead_interval"` // URI specifying KeyChain location. KeyChainUri string `json:"keychain"` // List of trust anchor full names. TrustAnchors []string `json:"trust_anchors"` // List of permanent neighbors. Neighbors []Neighbor `json:"neighbors"` // contains filtered or unexported fields }
func DefaultConfig ¶
func DefaultConfig() *Config
func (*Config) AdvertisementDataPrefix ¶
func (*Config) AdvertisementSyncActivePrefix ¶
func (*Config) AdvertisementSyncInterval ¶
func (*Config) AdvertisementSyncPassivePrefix ¶
func (*Config) AdvertisementSyncPrefix ¶
func (*Config) MgmtPrefix ¶ added in v1.4.3
func (*Config) NetworkName ¶
func (*Config) PrefixTableDataPrefix ¶
func (*Config) PrefixTableSyncPrefix ¶
func (*Config) RouterDataPrefix ¶ added in v1.4.3
func (*Config) RouterDeadInterval ¶
func (*Config) RouterName ¶
func (*Config) SchemaBytes ¶ added in v1.4.3
func (*Config) TrustAnchorNames ¶ added in v1.4.3
Click to show internal directories.
Click to hide internal directories.