Documentation ¶
Index ¶
- func AddSnatRule(match string, ip net.IP) error
- func AllowIPAddresses(bridgeName string, skipAddresses []string, action string) error
- func BlockIPAddresses(bridgeName string, action string) error
- func DisableRAForInterface(ifName string) error
- func EnableIPForwarding(ifName string) error
- func EnableIPV6Forwarding() error
- func UpdateIPV6Setting(disable int) error
- type EPCommon
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSnatRule ¶ added in v1.1.0
This fucntion adds rule which snat to ip passed filtered by match string.
func AllowIPAddresses ¶ added in v1.0.24
func BlockIPAddresses ¶ added in v1.0.24
func DisableRAForInterface ¶ added in v1.1.3
func EnableIPForwarding ¶ added in v1.0.26
This fucntion enables ip forwarding in VM and allow forwarding packets from the interface
func EnableIPV6Forwarding ¶ added in v1.1.0
func EnableIPV6Forwarding() error
func UpdateIPV6Setting ¶ added in v1.1.0
This functions enables/disables ipv6 setting based on enable parameter passed.
Types ¶
type EPCommon ¶ added in v1.4.13
type EPCommon struct {
// contains filtered or unexported fields
}
func NewEPCommon ¶ added in v1.4.13
func NewEPCommon(nl netlink.NetlinkInterface) EPCommon
func (EPCommon) AssignIPToInterface ¶ added in v1.4.13
func (EPCommon) CreateEndpoint ¶ added in v1.4.13
Click to show internal directories.
Click to hide internal directories.