Documentation ¶
Overview ¶
Package pg is a generated VPP binary API for 'pg' module.
It consists of:
6 messages 3 services
Index ¶
Constants ¶
View Source
const ( // ModuleName is the name of this module. ModuleName = "pg" // APIVersion is the API version of this module. APIVersion = "1.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0xf189eee1 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type PgCapture ¶
type PgCapture struct { InterfaceID uint32 IsEnabled uint8 Count uint32 PcapNameLength uint32 `struc:"sizeof=PcapFileName"` PcapFileName []byte }
PgCapture represents VPP binary API message 'pg_capture'.
func (*PgCapture) GetCrcString ¶
func (*PgCapture) GetMessageName ¶
func (*PgCapture) GetMessageType ¶
func (*PgCapture) GetMessageType() api.MessageType
type PgCaptureReply ¶
type PgCaptureReply struct {
Retval int32
}
PgCaptureReply represents VPP binary API message 'pg_capture_reply'.
func (*PgCaptureReply) GetCrcString ¶
func (*PgCaptureReply) GetCrcString() string
func (*PgCaptureReply) GetMessageName ¶
func (*PgCaptureReply) GetMessageName() string
func (*PgCaptureReply) GetMessageType ¶
func (*PgCaptureReply) GetMessageType() api.MessageType
func (*PgCaptureReply) Reset ¶
func (m *PgCaptureReply) Reset()
type PgCreateInterface ¶
type PgCreateInterface struct {
InterfaceID uint32
}
PgCreateInterface represents VPP binary API message 'pg_create_interface'.
func (*PgCreateInterface) GetCrcString ¶
func (*PgCreateInterface) GetCrcString() string
func (*PgCreateInterface) GetMessageName ¶
func (*PgCreateInterface) GetMessageName() string
func (*PgCreateInterface) GetMessageType ¶
func (*PgCreateInterface) GetMessageType() api.MessageType
func (*PgCreateInterface) Reset ¶
func (m *PgCreateInterface) Reset()
type PgCreateInterfaceReply ¶
PgCreateInterfaceReply represents VPP binary API message 'pg_create_interface_reply'.
func (*PgCreateInterfaceReply) GetCrcString ¶
func (*PgCreateInterfaceReply) GetCrcString() string
func (*PgCreateInterfaceReply) GetMessageName ¶
func (*PgCreateInterfaceReply) GetMessageName() string
func (*PgCreateInterfaceReply) GetMessageType ¶
func (*PgCreateInterfaceReply) GetMessageType() api.MessageType
func (*PgCreateInterfaceReply) Reset ¶
func (m *PgCreateInterfaceReply) Reset()
type PgEnableDisable ¶
type PgEnableDisable struct { IsEnabled uint8 StreamNameLength uint32 `struc:"sizeof=StreamName"` StreamName []byte }
PgEnableDisable represents VPP binary API message 'pg_enable_disable'.
func (*PgEnableDisable) GetCrcString ¶
func (*PgEnableDisable) GetCrcString() string
func (*PgEnableDisable) GetMessageName ¶
func (*PgEnableDisable) GetMessageName() string
func (*PgEnableDisable) GetMessageType ¶
func (*PgEnableDisable) GetMessageType() api.MessageType
func (*PgEnableDisable) Reset ¶
func (m *PgEnableDisable) Reset()
type PgEnableDisableReply ¶
type PgEnableDisableReply struct {
Retval int32
}
PgEnableDisableReply represents VPP binary API message 'pg_enable_disable_reply'.
func (*PgEnableDisableReply) GetCrcString ¶
func (*PgEnableDisableReply) GetCrcString() string
func (*PgEnableDisableReply) GetMessageName ¶
func (*PgEnableDisableReply) GetMessageName() string
func (*PgEnableDisableReply) GetMessageType ¶
func (*PgEnableDisableReply) GetMessageType() api.MessageType
func (*PgEnableDisableReply) Reset ¶
func (m *PgEnableDisableReply) Reset()
type RPCService ¶
type RPCService interface { PgCapture(ctx context.Context, in *PgCapture) (*PgCaptureReply, error) PgCreateInterface(ctx context.Context, in *PgCreateInterface) (*PgCreateInterfaceReply, error) PgEnableDisable(ctx context.Context, in *PgEnableDisable) (*PgEnableDisableReply, error) }
RPCService represents RPC service API for pg module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
Click to show internal directories.
Click to hide internal directories.