oddbuf

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 oddbuf is a generated VPP binary API for 'oddbuf' module.

It consists of:

1 alias
2 messages
1 service

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "oddbuf"
	// APIVersion is the API version of this module.
	APIVersion = "0.1.0"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0x723de524
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type InterfaceIndex

type InterfaceIndex uint32

InterfaceIndex represents VPP binary API alias 'interface_index'.

type OddbufEnableDisable

type OddbufEnableDisable struct {
	EnableDisable bool
	SwIfIndex     InterfaceIndex
}

OddbufEnableDisable represents VPP binary API message 'oddbuf_enable_disable'.

func (*OddbufEnableDisable) GetCrcString

func (*OddbufEnableDisable) GetCrcString() string

func (*OddbufEnableDisable) GetMessageName

func (*OddbufEnableDisable) GetMessageName() string

func (*OddbufEnableDisable) GetMessageType

func (*OddbufEnableDisable) GetMessageType() api.MessageType

func (*OddbufEnableDisable) Reset

func (m *OddbufEnableDisable) Reset()

type OddbufEnableDisableReply

type OddbufEnableDisableReply struct {
	Retval int32
}

OddbufEnableDisableReply represents VPP binary API message 'oddbuf_enable_disable_reply'.

func (*OddbufEnableDisableReply) GetCrcString

func (*OddbufEnableDisableReply) GetCrcString() string

func (*OddbufEnableDisableReply) GetMessageName

func (*OddbufEnableDisableReply) GetMessageName() string

func (*OddbufEnableDisableReply) GetMessageType

func (*OddbufEnableDisableReply) GetMessageType() api.MessageType

func (*OddbufEnableDisableReply) Reset

func (m *OddbufEnableDisableReply) Reset()

type RPCService

type RPCService interface {
	OddbufEnableDisable(ctx context.Context, in *OddbufEnableDisable) (*OddbufEnableDisableReply, error)
}

RPCService represents RPC service API for oddbuf 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