Documentation ¶
Index ¶
- func AddArpEntry(name string, arpEntry *netlink.Neigh, log logging.Logger, ...) error
- func AddStaticRoute(name string, route *netlink.Route, log logging.Logger, ...) error
- func DeleteArpEntry(name string, arpEntry *netlink.Neigh, log logging.Logger, ...) error
- func DeleteStaticRoute(name string, route *netlink.Route, log logging.Logger, ...) error
- func ModifyArpEntry(name string, arpEntry *netlink.Neigh, log logging.Logger, ...) error
- func ModifyStaticRoute(name string, route *netlink.Route, log logging.Logger, ...) error
- func ReadArpEntries(interfaceIdx int, family int, log logging.Logger, ...) ([]netlink.Neigh, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddArpEntry ¶
func AddArpEntry(name string, arpEntry *netlink.Neigh, log logging.Logger, timeLog measure.StopWatchEntry) error
AddArpEntry creates a new static ARP entry
func AddStaticRoute ¶
func AddStaticRoute(name string, route *netlink.Route, log logging.Logger, timeLog measure.StopWatchEntry) error
AddStaticRoute creates the new static route
func DeleteArpEntry ¶
func DeleteArpEntry(name string, arpEntry *netlink.Neigh, log logging.Logger, timeLog measure.StopWatchEntry) error
DeleteArpEntry removes an static ARP entry
func DeleteStaticRoute ¶
func DeleteStaticRoute(name string, route *netlink.Route, log logging.Logger, timeLog measure.StopWatchEntry) error
DeleteStaticRoute removes the static route
func ModifyArpEntry ¶
func ModifyArpEntry(name string, arpEntry *netlink.Neigh, log logging.Logger, timeLog measure.StopWatchEntry) error
ModifyArpEntry updates existing arp entry
func ModifyStaticRoute ¶
func ModifyStaticRoute(name string, route *netlink.Route, log logging.Logger, timeLog measure.StopWatchEntry) error
ModifyStaticRoute removes the static route
func ReadArpEntries ¶
func ReadArpEntries(interfaceIdx int, family int, log logging.Logger, timeLog measure.StopWatchEntry) ([]netlink.Neigh, error)
ReadArpEntries reads all configured static ARP entries for given interface <interfaceIdx> and <family> parameters works as filters, if they are set to zero, all arp entries are returned
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.