l2e

package
v0.0.0-...-7fa7f61 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package l2e contains generated bindings for API file l2e.api.

Contents:

2 messages

Index

Constants

View Source
const (
	APIFile    = "l2e"
	APIVersion = "1.0.0"
	VersionCrc = 0x6e8abdfb
)

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 interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Enable    bool                           `binapi:"bool,name=enable" json:"enable,omitempty"`
}

L2Emulation defines message 'l2_emulation'. InProgress: the message form may change in the future versions

func (*L2Emulation) GetCrcString

func (*L2Emulation) GetCrcString() string

func (*L2Emulation) GetMessageName

func (*L2Emulation) GetMessageName() string

func (*L2Emulation) GetMessageType

func (*L2Emulation) GetMessageType() api.MessageType

func (*L2Emulation) Marshal

func (m *L2Emulation) Marshal(b []byte) ([]byte, error)

func (*L2Emulation) Reset

func (m *L2Emulation) Reset()

func (*L2Emulation) Size

func (m *L2Emulation) Size() (size int)

func (*L2Emulation) Unmarshal

func (m *L2Emulation) Unmarshal(b []byte) error

type L2EmulationReply

type L2EmulationReply struct {
	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}

L2EmulationReply defines message 'l2_emulation_reply'. InProgress: the message form may change in the future versions

func (*L2EmulationReply) GetCrcString

func (*L2EmulationReply) GetCrcString() string

func (*L2EmulationReply) GetMessageName

func (*L2EmulationReply) GetMessageName() string

func (*L2EmulationReply) GetMessageType

func (*L2EmulationReply) GetMessageType() api.MessageType

func (*L2EmulationReply) Marshal

func (m *L2EmulationReply) Marshal(b []byte) ([]byte, error)

func (*L2EmulationReply) Reset

func (m *L2EmulationReply) Reset()

func (*L2EmulationReply) Size

func (m *L2EmulationReply) Size() (size int)

func (*L2EmulationReply) Unmarshal

func (m *L2EmulationReply) Unmarshal(b []byte) error

type RPCService

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

RPCService defines RPC service l2e.

func NewServiceClient

func NewServiceClient(conn api.Connection) RPCService

Jump to

Keyboard shortcuts

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