Documentation ¶
Overview ¶
Package kernel implements client and server kernel mechanism chain element supports both kernel and smartvf datapath
Index ¶
- func GetVethPeerName(conn *networkservice.Connection, ifPrefix string, isClient bool) string
- func NewClient(bridgeName string, mutex sync.Locker, parentIfRefCountMap map[string]int) networkservice.NetworkServiceClient
- func NewSmartVFServer(bridgeName string, mutex sync.Locker, parentIfRefCountMap map[string]int) networkservice.NetworkServiceServer
- func NewVethServer(bridgeName string, mutex sync.Locker, parentIfRefCountMap map[string]int) networkservice.NetworkServiceServer
- func SetInterfacesUp(logger log.Logger, ifaceNames ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVethPeerName ¶
func GetVethPeerName(conn *networkservice.Connection, ifPrefix string, isClient bool) string
GetVethPeerName get appropriate veth peer interface name for the given connection.
func NewClient ¶
func NewClient(bridgeName string, mutex sync.Locker, parentIfRefCountMap map[string]int) networkservice.NetworkServiceClient
NewClient returns a client chain element implementing kernel mechanism with veth pair or smartvf
func NewSmartVFServer ¶
func NewSmartVFServer(bridgeName string, mutex sync.Locker, parentIfRefCountMap map[string]int) networkservice.NetworkServiceServer
NewSmartVFServer - return a new Smart VF Server chain element for kernel mechanism
func NewVethServer ¶
func NewVethServer(bridgeName string, mutex sync.Locker, parentIfRefCountMap map[string]int) networkservice.NetworkServiceServer
NewVethServer - return a new Veth Server chain element for kernel mechanism
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.