memif

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: Apache-2.0 Imports: 26 Imported by: 4

Documentation

Overview

Package memif provides a chain element for the memif mechanism using vpp

Index

Constants

View Source
const (
	// MECHANISM string
	MECHANISM = memif.MECHANISM
)

Variables

This section is empty.

Functions

func NewClient

NewClient provides a NetworkServiceClient chain elements that support the memif Mechanism

func NewServer

func NewServer(vppConn api.Connection, options ...Option) networkservice.NetworkServiceServer

NewServer provides a NetworkServiceServer chain elements that support the memif Mechanism

Types

type Option added in v1.1.0

type Option func(s *memifServer)

Option is an option for the connect server

func WithDirectMemif added in v1.1.0

func WithDirectMemif() Option

WithDirectMemif turn on direct memif logic

Directories

Path Synopsis
Package memifproxy provides a NetworkServiceClient chain element to 'proxy' to the memif control socket This is done in case the vpp instance can't open the memif socketfile
Package memifproxy provides a NetworkServiceClient chain element to 'proxy' to the memif control socket This is done in case the vpp instance can't open the memif socketfile

Jump to

Keyboard shortcuts

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