Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Initialize(mq <-chan []byte, n *topology.Node, rd *nac.RoutingDomain, np *topology.Policy) Close() RouteEventQueue() <-chan *RouteEvent RelayConnQueue() <-chan *routing.NetHop RouterConnQueue() <-chan *routing.NetHop RoutingDomain() *nac.RoutingDomain GetPolicy(subnetID string) *topology.Policy DNSQuery(dnsName string) (ipv4, ipv6 string) CheckIPDst(addr string) error GetNetHop(addr string) (*routing.NetHop, error) GetRelayMAddrs(nh *routing.NetHop) []string GetRouterMAddrs(nh *routing.NetHop) []string // contains filtered or unexported methods }
type RouteEvent ¶
type RouteEvent struct { Type RouteEventType Addr string RouteType routing.RouteType }
type RouteEventType ¶
type RouteEventType int
const ( RouteEventTypeADD RouteEventType = iota RouteEventTypeDELETE )
Click to show internal directories.
Click to hide internal directories.