l2e

package
v0.0.0-...-f91f7f2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package l2e is a generated VPP binary API for 'l2e' module.

It consists of:

2 messages
1 service

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "l2e"
	// APIVersion is the API version of this module.
	APIVersion = "1.0.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0x98d42a7a
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type L2Emulation

type L2Emulation struct {
	SwIfIndex uint32
	Enable    uint8
}

L2Emulation represents VPP binary API message 'l2_emulation'.

func (*L2Emulation) GetCrcString

func (*L2Emulation) GetCrcString() string

func (*L2Emulation) GetMessageName

func (*L2Emulation) GetMessageName() string

func (*L2Emulation) GetMessageType

func (*L2Emulation) GetMessageType() api.MessageType

func (*L2Emulation) Reset

func (m *L2Emulation) Reset()

type L2EmulationReply

type L2EmulationReply struct {
	Retval int32
}

L2EmulationReply represents VPP binary API message 'l2_emulation_reply'.

func (*L2EmulationReply) GetCrcString

func (*L2EmulationReply) GetCrcString() string

func (*L2EmulationReply) GetMessageName

func (*L2EmulationReply) GetMessageName() string

func (*L2EmulationReply) GetMessageType

func (*L2EmulationReply) GetMessageType() api.MessageType

func (*L2EmulationReply) Reset

func (m *L2EmulationReply) Reset()

type RPCService

type RPCService interface {
	L2Emulation(ctx context.Context, in *L2Emulation) (*L2EmulationReply, error)
}

RPCService represents RPC service API for l2e module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

Jump to

Keyboard shortcuts

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