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 = 0x40512488 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type CopInterfaceEnableDisable ¶
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) GetMessageType() api.MessageType
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) GetMessageType() api.MessageType
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
Click to show internal directories.
Click to hide internal directories.