Documentation ¶
Index ¶
- Variables
- func ApplyFDBs(current, desired map[string]*netlink.Neigh) (err error)
- func ApplyRoutes(current, desired map[string]*netlink.Route) (err error)
- func ApplyRules(current, desired map[string]*netlink.Rule) (err error)
- func CleanRoutesOnNode(routeTableID int) error
- func CleanRulesOnNode(routeTableID int) error
- func ListFDBsOnNode(link netlink.Link) (map[string]*netlink.Neigh, error)
- func ListRoutesOnNode(routeTableID int) (map[string]*netlink.Route, error)
- func ListRulesOnNode(routeTableID int) (map[string]*netlink.Rule, error)
- func NewRavenRule(rulePriority int, routeTableID int) *netlink.Rule
- func RouteKey(route *netlink.Route) string
- func RuleKey(rule *netlink.Rule) string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
AllZeroMAC = net.HardwareAddr{0, 0, 0, 0, 0, 0}
)
Functions ¶
func CleanRoutesOnNode ¶
func CleanRulesOnNode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.