Versions in this module Expand all Collapse all v1 v1.1.0 Jul 26, 2018 v1.0.0 Jun 3, 2018 Changes in this version + type NetLink interface + AddrAdd func(link netlink.Link, addr *netlink.Addr) error + AddrList func(link netlink.Link, family int) ([]netlink.Addr, error) + LinkAdd func(link netlink.Link) error + LinkByName func(name string) (netlink.Link, error) + LinkDel func(link netlink.Link) error + LinkList func() ([]netlink.Link, error) + LinkSetDown func(link netlink.Link) error + LinkSetNsFd func(link netlink.Link, fd int) error + LinkSetUp func(link netlink.Link) error + NeighAdd func(neigh *netlink.Neigh) error + NewRule func() *netlink.Rule + ParseAddr func(s string) (*netlink.Addr, error) + RouteAdd func(route *netlink.Route) error + RouteDel func(route *netlink.Route) error + RouteList func(link netlink.Link, family int) ([]netlink.Route, error) + RuleAdd func(rule *netlink.Rule) error + RuleDel func(rule *netlink.Rule) error + func NewNetLink() NetLink