Documentation ¶
Index ¶
Constants ¶
View Source
const ( RtLocal uint32 = 255 // according to man ip-route: 255 is reserved for built-in use RtMain uint32 = 254 // This is the default table where routes are inserted RtDefault uint32 = 253 // according to man ip-route: 253 is reserved for built-in use RtUnspec uint32 = 0 // according to man ip-route: 0 is reserved for built-in use )
Constants for default routing tables in the Linux Kernel
View Source
const BGPPORT = uint16(179)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Global ¶
type Global struct { LocalASN uint32 RouterID uint32 Port uint16 LocalAddressList []net.IP Listen bool }
func (*Global) SetDefaultGlobalConfigValues ¶
type ISISConfig ¶
type ISISConfig struct { NETs []NET Interfaces []ISISInterfaceConfig TrafficEngineeringRouterID [4]byte }
type ISISInterfaceConfig ¶
type ISISInterfaceConfig struct { Name string Passive bool P2P bool ISISLevel1Config *ISISLevelConfig ISISLevel2Config *ISISLevelConfig }
type ISISLevelConfig ¶
type Netlink ¶
type Netlink struct { HoldTime time.Duration UpdateInterval time.Duration RoutingTable uint32 ImportFilterChain filter.Chain // Which routes are imported from the Kernel ExportFilterChain filter.Chain // Which routes are exported to the Kernel }
Netlink holds the configuration of the Netlink protocol
Click to show internal directories.
Click to hide internal directories.