mtu

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package mtu provides networkservice chain elements that support setting MTU on the vethpeer connected to VPP interfaces

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

NewClient provides a NetworkServiceClient that sets the MTU on a kernel interface It sets the MTU on the *kernel* side of an interface leaving the Client. Generally only used by privileged Clients like those implementing the Cross Connect Network Service for K8s (formerly known as NSM Forwarder).

           Client
+---------------------------+
|                           |
|                           |
|                           |
|                           |
|                           |
|                           |
|                           |
|                           +-------------------+
|                           |          mtu.NewClient()
|                           |
|                           |
|                           |
|                           |
|                           |
|                           |
+---------------------------+

func NewServer

NewServer provides a NetworkServiceServer that sets the MTU on a kernel interface It sets the MTU on the *kernel* side of an interface plugged into the Endpoint. Generally only used by privileged Endpoints like those implementing the Cross Connect Network Service for K8s (formerly known as NSM Forwarder).

                                       Endpoint
                            +---------------------------+
                            |                           |
                            |                           |
                            |                           |
                            |                           |
                            |                           |
                            |                           |
                            |                           |
        +-------------------+                           |
mtu.NewServer()             |                           |
                            |                           |
                            |                           |
                            |                           |
                            |                           |
                            |                           |
                            |                           |
                            +---------------------------+

Types

This section is empty.

Jump to

Keyboard shortcuts

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