Documentation ¶
Overview ¶
Package routes provides a NetworkServiceServer that sets the routes in the kernel from the connection context
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient() networkservice.NetworkServiceClient
NewClient creates a NetworkServiceClient that will put the routes from the connection context into
the kernel network namespace kernel interface being inserted iff the selected mechanism for the connection is a kernel mechanism Client +- - - - - - - - - - - - - - - -+ +---------------------------+ | | | kernel network namespace | | | | | | | | | | | | | | | | | | | +--------- ---------+ | | | | | | | | | | | | routes.Client() | | | | | | | | | | | +- - - - - - - - - - - - - - - -+ +---------------------------+
func NewServer ¶
func NewServer() networkservice.NetworkServiceServer
NewServer creates a NetworkServiceServer that will put the routes from the connection context into
connection context into the kernel network namespace kernel interface being inserted iff the selected mechanism for the connection is a kernel mechanism Endpoint +- - - - - - - - - - - - - - - -+ +---------------------------+ | kernel network namespace | | | | | | | | | | | | | | | | | | | | | +--------- ---------+ | | | | | | | | | | | routes.NewServer() | | | | | | | | | | | | +- - - - - - - - - - - - - - - -+ +---------------------------+
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.