linuxcalls

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2018 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL