Versions in this module Expand all Collapse all v1 v1.0.10 Mar 20, 2019 Changes in this version + const MTU + var LINK_IP = &net.IPNet + func SetupVethPair(contVethName, pairName string, mtu int, hostNS ns.NetNS) (net.Interface, net.Interface, error) + type NetnsDriver interface + Setup func(hostVeth string, containerVeth string, ipv4Addr *net.IPNet, gateway net.IP, ...) error + Teardown func(hostVeth string, containerVeth string, netNS ns.NetNS) error + var NicDriver NetnsDriver = &rawNicDriver{} + var VethDriver NetnsDriver = &vethDriver{}