Documentation ¶
Overview ¶
SPDX-License-Identifier: Apache-2.0
Copyright Contributors to the Submariner project.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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 ¶
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.