vppinit

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package vppinit contains initialization code for vpp

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LinkToAfPacket

func LinkToAfPacket(ctx context.Context, vppConn api.Connection, tunnelIP net.IP) (net.IP, error)

LinkToAfPacket - will link vpp via af_packet to the interface having the tunnelIP if tunnelIP is nil, it will find the interface for the default route and use that instead. It returns the resulting tunnelIP

func Must

func Must(tunnelIP net.IP, err error) net.IP

Must - simple wrapper to panic in the event of an error

Types

This section is empty.

Jump to

Keyboard shortcuts

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