Documentation ¶
Index ¶
- func AddArp(vtepDeviceIndex int, vtepIP net.IP, vtepMAC net.HardwareAddr) error
- func AddDefaultRoute(gw net.IP, dev netlink.Link) error
- func AddFDB(vtepDeviceIndex int, vtepIP net.IP, vtepMAC net.HardwareAddr) error
- func AddRoute(ipn *net.IPNet, gw net.IP, dev netlink.Link) error
- func DelArp(vtepDeviceIndex int, vtepIP net.IP, vtepMAC net.HardwareAddr) error
- func DelFDB(vtepDeviceIndex int, vtepIP net.IP, vtepMAC net.HardwareAddr) error
- func DelRoute(vtepDeviceIndex int, dst *net.IPNet, gateway net.IP) error
- func ReplaceRoute(localVtepID int, dst *net.IPNet) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDefaultRoute ¶
AddDefaultRoute sets the default route on the given gateway.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.