cop

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

It consists of:

4 messages
2 services

Index

Constants

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

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type CopInterfaceEnableDisable

type CopInterfaceEnableDisable struct {
	SwIfIndex     uint32
	EnableDisable uint8
}

CopInterfaceEnableDisable represents VPP binary API message 'cop_interface_enable_disable'.

func (*CopInterfaceEnableDisable) GetCrcString

func (*CopInterfaceEnableDisable) GetCrcString() string

func (*CopInterfaceEnableDisable) GetMessageName

func (*CopInterfaceEnableDisable) GetMessageName() string

func (*CopInterfaceEnableDisable) GetMessageType

func (*CopInterfaceEnableDisable) GetMessageType() api.MessageType

func (*CopInterfaceEnableDisable) Reset

func (m *CopInterfaceEnableDisable) Reset()

type CopInterfaceEnableDisableReply

type CopInterfaceEnableDisableReply struct {
	Retval int32
}

CopInterfaceEnableDisableReply represents VPP binary API message 'cop_interface_enable_disable_reply'.

func (*CopInterfaceEnableDisableReply) GetCrcString

func (*CopInterfaceEnableDisableReply) GetCrcString() string

func (*CopInterfaceEnableDisableReply) GetMessageName

func (*CopInterfaceEnableDisableReply) GetMessageName() string

func (*CopInterfaceEnableDisableReply) GetMessageType

func (*CopInterfaceEnableDisableReply) Reset

func (m *CopInterfaceEnableDisableReply) Reset()

type CopWhitelistEnableDisable

type CopWhitelistEnableDisable struct {
	SwIfIndex  uint32
	FibID      uint32
	IP4        uint8
	IP6        uint8
	DefaultCop uint8
}

CopWhitelistEnableDisable represents VPP binary API message 'cop_whitelist_enable_disable'.

func (*CopWhitelistEnableDisable) GetCrcString

func (*CopWhitelistEnableDisable) GetCrcString() string

func (*CopWhitelistEnableDisable) GetMessageName

func (*CopWhitelistEnableDisable) GetMessageName() string

func (*CopWhitelistEnableDisable) GetMessageType

func (*CopWhitelistEnableDisable) GetMessageType() api.MessageType

func (*CopWhitelistEnableDisable) Reset

func (m *CopWhitelistEnableDisable) Reset()

type CopWhitelistEnableDisableReply

type CopWhitelistEnableDisableReply struct {
	Retval int32
}

CopWhitelistEnableDisableReply represents VPP binary API message 'cop_whitelist_enable_disable_reply'.

func (*CopWhitelistEnableDisableReply) GetCrcString

func (*CopWhitelistEnableDisableReply) GetCrcString() string

func (*CopWhitelistEnableDisableReply) GetMessageName

func (*CopWhitelistEnableDisableReply) GetMessageName() string

func (*CopWhitelistEnableDisableReply) GetMessageType

func (*CopWhitelistEnableDisableReply) Reset

func (m *CopWhitelistEnableDisableReply) Reset()

type RPCService

type RPCService interface {
	CopInterfaceEnableDisable(ctx context.Context, in *CopInterfaceEnableDisable) (*CopInterfaceEnableDisableReply, error)
	CopWhitelistEnableDisable(ctx context.Context, in *CopWhitelistEnableDisable) (*CopWhitelistEnableDisableReply, error)
}

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