Documentation ¶
Index ¶
- Constants
- func AcquireLinks(n *Network) error
- func ConfigureNetwork(link string, n *Network) error
- func GetDefaultIpv4Gateway() (string, error)
- func GetDefaultIpv4GatewayByLink(ifIndex int) (string, error)
- func GetIpv4Gateway(ifIndex int) (string, error)
- func GetIpv4GatewayByLink(ifIndex int) (string, error)
- func WatchNetwork(n *Network)
- type Network
- type Route
- type RoutingRule
Constants ¶
View Source
const (
MaxChannelSize = 1024
)
Variables ¶
This section is empty.
Functions ¶
func AcquireLinks ¶
func ConfigureNetwork ¶
func GetDefaultIpv4Gateway ¶
func GetIpv4Gateway ¶
func GetIpv4GatewayByLink ¶
func WatchNetwork ¶
func WatchNetwork(n *Network)
Types ¶
type Network ¶
type Route ¶
func (*Route) RouteRemove ¶
type RoutingRule ¶
func (*RoutingRule) RoutingPolicyRuleAdd ¶
func (rule *RoutingRule) RoutingPolicyRuleAdd() error
func (*RoutingRule) RoutingPolicyRuleRemove ¶
func (rule *RoutingRule) RoutingPolicyRuleRemove() error
Click to show internal directories.
Click to hide internal directories.