p2p_ethernet

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

It consists of:

4 messages
2 services

Index

Constants

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

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type P2pEthernetAdd

type P2pEthernetAdd struct {
	ParentIfIndex uint32
	SubifID       uint32
	RemoteMac     []byte `struc:"[6]byte"`
}

P2pEthernetAdd represents VPP binary API message 'p2p_ethernet_add'.

func (*P2pEthernetAdd) GetCrcString

func (*P2pEthernetAdd) GetCrcString() string

func (*P2pEthernetAdd) GetMessageName

func (*P2pEthernetAdd) GetMessageName() string

func (*P2pEthernetAdd) GetMessageType

func (*P2pEthernetAdd) GetMessageType() api.MessageType

func (*P2pEthernetAdd) Reset

func (m *P2pEthernetAdd) Reset()

type P2pEthernetAddReply

type P2pEthernetAddReply struct {
	Retval    int32
	SwIfIndex uint32
}

P2pEthernetAddReply represents VPP binary API message 'p2p_ethernet_add_reply'.

func (*P2pEthernetAddReply) GetCrcString

func (*P2pEthernetAddReply) GetCrcString() string

func (*P2pEthernetAddReply) GetMessageName

func (*P2pEthernetAddReply) GetMessageName() string

func (*P2pEthernetAddReply) GetMessageType

func (*P2pEthernetAddReply) GetMessageType() api.MessageType

func (*P2pEthernetAddReply) Reset

func (m *P2pEthernetAddReply) Reset()

type P2pEthernetDel

type P2pEthernetDel struct {
	ParentIfIndex uint32
	RemoteMac     []byte `struc:"[6]byte"`
}

P2pEthernetDel represents VPP binary API message 'p2p_ethernet_del'.

func (*P2pEthernetDel) GetCrcString

func (*P2pEthernetDel) GetCrcString() string

func (*P2pEthernetDel) GetMessageName

func (*P2pEthernetDel) GetMessageName() string

func (*P2pEthernetDel) GetMessageType

func (*P2pEthernetDel) GetMessageType() api.MessageType

func (*P2pEthernetDel) Reset

func (m *P2pEthernetDel) Reset()

type P2pEthernetDelReply

type P2pEthernetDelReply struct {
	Retval int32
}

P2pEthernetDelReply represents VPP binary API message 'p2p_ethernet_del_reply'.

func (*P2pEthernetDelReply) GetCrcString

func (*P2pEthernetDelReply) GetCrcString() string

func (*P2pEthernetDelReply) GetMessageName

func (*P2pEthernetDelReply) GetMessageName() string

func (*P2pEthernetDelReply) GetMessageType

func (*P2pEthernetDelReply) GetMessageType() api.MessageType

func (*P2pEthernetDelReply) Reset

func (m *P2pEthernetDelReply) Reset()

type RPCService

type RPCService interface {
	P2pEthernetAdd(ctx context.Context, in *P2pEthernetAdd) (*P2pEthernetAddReply, error)
	P2pEthernetDel(ctx context.Context, in *P2pEthernetDel) (*P2pEthernetDelReply, error)
}

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