Documentation ¶
Index ¶
- type NetLink
- func (n *NetLink) AddrAdd(link netlink.Link, addr *netlink.Addr) error
- func (n *NetLink) AwaitLink(name string) (link netlink.Link)
- func (n *NetLink) AwaitNeighbors(linkIndex int, expIPs ...string)
- func (n *NetLink) AwaitNoLink(name string)
- func (n *NetLink) AwaitNoNeighbors(linkIndex int, expIPs ...string)
- func (n *NetLink) AwaitNoRoutes(linkIndex int, destCIDRs ...string)
- func (n *NetLink) AwaitNoRule(table int)
- func (n *NetLink) AwaitRoutes(linkIndex int, destCIDRs ...string)
- func (n *NetLink) AwaitRule(table int)
- func (n *NetLink) ConfigureTCPMTUProbe(mtuProbe, baseMss string) error
- func (n *NetLink) EnableLooseModeReversePathFilter(interfaceName string) error
- func (n *NetLink) FlushRouteTable(table int) error
- func (n *NetLink) LinkAdd(link netlink.Link) error
- func (n *NetLink) LinkByName(name string) (netlink.Link, error)
- func (n *NetLink) LinkDel(link netlink.Link) error
- func (n *NetLink) LinkSetUp(link netlink.Link) error
- func (n *NetLink) NeighAppend(neigh *netlink.Neigh) error
- func (n *NetLink) NeighDel(neigh *netlink.Neigh) error
- func (n *NetLink) RouteAdd(route *netlink.Route) error
- func (n *NetLink) RouteDel(route *netlink.Route) error
- func (n *NetLink) RouteGet(destination net.IP) ([]netlink.Route, error)
- func (n *NetLink) RouteList(link netlink.Link, family int) ([]netlink.Route, error)
- func (n *NetLink) RuleAdd(rule *netlink.Rule) error
- func (n *NetLink) RuleDel(rule *netlink.Rule) error
- func (n *NetLink) SetLinkIndex(name string, index int)
- func (n *NetLink) XfrmPolicyAdd(policy *netlink.XfrmPolicy) error
- func (n *NetLink) XfrmPolicyDel(policy *netlink.XfrmPolicy) error
- func (n *NetLink) XfrmPolicyList(family int) ([]netlink.XfrmPolicy, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetLink ¶
type NetLink struct {
// contains filtered or unexported fields
}
func (*NetLink) AwaitNeighbors ¶
func (*NetLink) AwaitNoLink ¶
func (*NetLink) AwaitNoNeighbors ¶
func (*NetLink) AwaitNoRoutes ¶
func (*NetLink) AwaitNoRule ¶
func (*NetLink) AwaitRoutes ¶
func (*NetLink) ConfigureTCPMTUProbe ¶
func (*NetLink) EnableLooseModeReversePathFilter ¶
func (*NetLink) FlushRouteTable ¶
func (*NetLink) SetLinkIndex ¶
func (*NetLink) XfrmPolicyAdd ¶
func (n *NetLink) XfrmPolicyAdd(policy *netlink.XfrmPolicy) error
func (*NetLink) XfrmPolicyDel ¶
func (n *NetLink) XfrmPolicyDel(policy *netlink.XfrmPolicy) error
func (*NetLink) XfrmPolicyList ¶
func (n *NetLink) XfrmPolicyList(family int) ([]netlink.XfrmPolicy, error)
Click to show internal directories.
Click to hide internal directories.