kernel

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 8 Imported by: 12

Documentation

Overview

Package kernel provides the necessary mechanisms to request and inject a kernel interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(opts ...Option) networkservice.NetworkServiceClient

NewClient - returns client that sets kernel preferred mechanism

func NewServer

func NewServer(opts ...Option) networkservice.NetworkServiceServer

NewServer - creates a NetworkServiceServer that requests a kernel interface and populates the netns inode

Types

type Option

type Option func(o *options)

Option is an option pattern for kernelMechanismClient/Server

func WithInterfaceName

func WithInterfaceName(interfaceName string) Option

WithInterfaceName sets interface name

Directories

Path Synopsis
Package vlan provides server chain element setting vlan id on the kernel mechanism
Package vlan provides server chain element setting vlan id on the kernel mechanism

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL