Documentation ¶
Index ¶
- Variables
- func ApplyARPs(current, desired map[string]*netlink.Neigh) (err error)
- func ApplyFDBs(current, desired map[string]*netlink.Neigh) (err error)
- func ApplyIPSet(set ipsetutil.IPSetInterface, current, desired map[string]*netlink.IPSetEntry) (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 ListARPsOnNode(link netlink.Link) (map[string]*netlink.Neigh, error)
- func ListFDBsOnNode(link netlink.Link) (map[string]*netlink.Neigh, error)
- func ListIPSetOnNode(set ipsetutil.IPSetInterface) (map[string]*netlink.IPSetEntry, error)
- func ListRoutesOnNode(routeTableID int) (map[string]*netlink.Route, error)
- func ListRulesOnNode(routeTableID int) (map[string]*netlink.Rule, error)
- func NeighKey(neigh *netlink.Neigh) string
- 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} AllZeroAddress = "0.0.0.0/0" )
Functions ¶
func ApplyIPSet ¶ added in v0.3.2
func ApplyIPSet(set ipsetutil.IPSetInterface, current, desired map[string]*netlink.IPSetEntry) (err error)
func CleanRoutesOnNode ¶
func CleanRulesOnNode ¶
func ListARPsOnNode ¶ added in v0.4.2
func ListIPSetOnNode ¶ added in v0.3.2
func ListIPSetOnNode(set ipsetutil.IPSetInterface) (map[string]*netlink.IPSetEntry, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.