netmap

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

It consists of:

4 messages
2 services

Index

Constants

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

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type NetmapCreate

type NetmapCreate struct {
	NetmapIfName    []byte `struc:"[64]byte"`
	HwAddr          []byte `struc:"[6]byte"`
	UseRandomHwAddr uint8
	IsPipe          uint8
	IsMaster        uint8
}

NetmapCreate represents VPP binary API message 'netmap_create'.

func (*NetmapCreate) GetCrcString

func (*NetmapCreate) GetCrcString() string

func (*NetmapCreate) GetMessageName

func (*NetmapCreate) GetMessageName() string

func (*NetmapCreate) GetMessageType

func (*NetmapCreate) GetMessageType() api.MessageType

func (*NetmapCreate) Reset

func (m *NetmapCreate) Reset()

type NetmapCreateReply

type NetmapCreateReply struct {
	Retval int32
}

NetmapCreateReply represents VPP binary API message 'netmap_create_reply'.

func (*NetmapCreateReply) GetCrcString

func (*NetmapCreateReply) GetCrcString() string

func (*NetmapCreateReply) GetMessageName

func (*NetmapCreateReply) GetMessageName() string

func (*NetmapCreateReply) GetMessageType

func (*NetmapCreateReply) GetMessageType() api.MessageType

func (*NetmapCreateReply) Reset

func (m *NetmapCreateReply) Reset()

type NetmapDelete

type NetmapDelete struct {
	NetmapIfName []byte `struc:"[64]byte"`
}

NetmapDelete represents VPP binary API message 'netmap_delete'.

func (*NetmapDelete) GetCrcString

func (*NetmapDelete) GetCrcString() string

func (*NetmapDelete) GetMessageName

func (*NetmapDelete) GetMessageName() string

func (*NetmapDelete) GetMessageType

func (*NetmapDelete) GetMessageType() api.MessageType

func (*NetmapDelete) Reset

func (m *NetmapDelete) Reset()

type NetmapDeleteReply

type NetmapDeleteReply struct {
	Retval int32
}

NetmapDeleteReply represents VPP binary API message 'netmap_delete_reply'.

func (*NetmapDeleteReply) GetCrcString

func (*NetmapDeleteReply) GetCrcString() string

func (*NetmapDeleteReply) GetMessageName

func (*NetmapDeleteReply) GetMessageName() string

func (*NetmapDeleteReply) GetMessageType

func (*NetmapDeleteReply) GetMessageType() api.MessageType

func (*NetmapDeleteReply) Reset

func (m *NetmapDeleteReply) Reset()

type RPCService

type RPCService interface {
	NetmapCreate(ctx context.Context, in *NetmapCreate) (*NetmapCreateReply, error)
	NetmapDelete(ctx context.Context, in *NetmapDelete) (*NetmapDeleteReply, error)
}

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