Documentation ¶
Overview ¶
Package punt is a generated VPP binary API for 'punt' module.
It consists of:
1 type 10 messages 5 services
Index ¶
- Constants
- func AllMessages() []api.Message
- type Punt
- type PuntDetails
- type PuntDump
- type PuntSocketDeregister
- type PuntSocketDeregisterReply
- type PuntSocketDetails
- type PuntSocketDump
- type PuntSocketRegister
- type PuntSocketRegisterReply
- type RPCService
- type RPCService_DumpPuntClient
- type RPCService_DumpPuntSocketClient
- type SetPunt
- type SetPuntReply
Constants ¶
const ( // ModuleName is the name of this module. ModuleName = "punt" // VersionCrc is the CRC of this module. VersionCrc = 0x1c487f2b )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type Punt ¶
Punt represents VPP binary API type 'punt'.
func (*Punt) GetCrcString ¶
func (*Punt) GetTypeName ¶
type PuntDetails ¶
type PuntDetails struct {
Punt Punt
}
PuntDetails represents VPP binary API message 'punt_details'.
func (*PuntDetails) GetCrcString ¶
func (*PuntDetails) GetCrcString() string
func (*PuntDetails) GetMessageName ¶
func (*PuntDetails) GetMessageName() string
func (*PuntDetails) GetMessageType ¶
func (*PuntDetails) GetMessageType() api.MessageType
type PuntDump ¶
type PuntDump struct {
IsIPv6 uint8
}
PuntDump represents VPP binary API message 'punt_dump'.
func (*PuntDump) GetCrcString ¶
func (*PuntDump) GetMessageName ¶
func (*PuntDump) GetMessageType ¶
func (*PuntDump) GetMessageType() api.MessageType
type PuntSocketDeregister ¶
type PuntSocketDeregister struct {
Punt Punt
}
PuntSocketDeregister represents VPP binary API message 'punt_socket_deregister'.
func (*PuntSocketDeregister) GetCrcString ¶
func (*PuntSocketDeregister) GetCrcString() string
func (*PuntSocketDeregister) GetMessageName ¶
func (*PuntSocketDeregister) GetMessageName() string
func (*PuntSocketDeregister) GetMessageType ¶
func (*PuntSocketDeregister) GetMessageType() api.MessageType
type PuntSocketDeregisterReply ¶
type PuntSocketDeregisterReply struct {
Retval int32
}
PuntSocketDeregisterReply represents VPP binary API message 'punt_socket_deregister_reply'.
func (*PuntSocketDeregisterReply) GetCrcString ¶
func (*PuntSocketDeregisterReply) GetCrcString() string
func (*PuntSocketDeregisterReply) GetMessageName ¶
func (*PuntSocketDeregisterReply) GetMessageName() string
func (*PuntSocketDeregisterReply) GetMessageType ¶
func (*PuntSocketDeregisterReply) GetMessageType() api.MessageType
type PuntSocketDetails ¶
PuntSocketDetails represents VPP binary API message 'punt_socket_details'.
func (*PuntSocketDetails) GetCrcString ¶
func (*PuntSocketDetails) GetCrcString() string
func (*PuntSocketDetails) GetMessageName ¶
func (*PuntSocketDetails) GetMessageName() string
func (*PuntSocketDetails) GetMessageType ¶
func (*PuntSocketDetails) GetMessageType() api.MessageType
type PuntSocketDump ¶
type PuntSocketDump struct {
IsIPv6 uint8
}
PuntSocketDump represents VPP binary API message 'punt_socket_dump'.
func (*PuntSocketDump) GetCrcString ¶
func (*PuntSocketDump) GetCrcString() string
func (*PuntSocketDump) GetMessageName ¶
func (*PuntSocketDump) GetMessageName() string
func (*PuntSocketDump) GetMessageType ¶
func (*PuntSocketDump) GetMessageType() api.MessageType
type PuntSocketRegister ¶
type PuntSocketRegister struct { HeaderVersion uint32 Punt Punt Pathname []byte `struc:"[108]byte"` }
PuntSocketRegister represents VPP binary API message 'punt_socket_register'.
func (*PuntSocketRegister) GetCrcString ¶
func (*PuntSocketRegister) GetCrcString() string
func (*PuntSocketRegister) GetMessageName ¶
func (*PuntSocketRegister) GetMessageName() string
func (*PuntSocketRegister) GetMessageType ¶
func (*PuntSocketRegister) GetMessageType() api.MessageType
type PuntSocketRegisterReply ¶
PuntSocketRegisterReply represents VPP binary API message 'punt_socket_register_reply'.
func (*PuntSocketRegisterReply) GetCrcString ¶
func (*PuntSocketRegisterReply) GetCrcString() string
func (*PuntSocketRegisterReply) GetMessageName ¶
func (*PuntSocketRegisterReply) GetMessageName() string
func (*PuntSocketRegisterReply) GetMessageType ¶
func (*PuntSocketRegisterReply) GetMessageType() api.MessageType
type RPCService ¶
type RPCService interface { DumpPunt(ctx context.Context, in *PuntDump) (RPCService_DumpPuntClient, error) DumpPuntSocket(ctx context.Context, in *PuntSocketDump) (RPCService_DumpPuntSocketClient, error) PuntSocketDeregister(ctx context.Context, in *PuntSocketDeregister) (*PuntSocketDeregisterReply, error) PuntSocketRegister(ctx context.Context, in *PuntSocketRegister) (*PuntSocketRegisterReply, error) SetPunt(ctx context.Context, in *SetPunt) (*SetPuntReply, error) }
RPCService represents RPC service API for punt module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpPuntClient ¶
type RPCService_DumpPuntClient interface {
Recv() (*PuntDetails, error)
}
type RPCService_DumpPuntSocketClient ¶
type RPCService_DumpPuntSocketClient interface {
Recv() (*PuntSocketDetails, error)
}
type SetPunt ¶
SetPunt represents VPP binary API message 'set_punt'.
func (*SetPunt) GetCrcString ¶
func (*SetPunt) GetMessageName ¶
func (*SetPunt) GetMessageType ¶
func (*SetPunt) GetMessageType() api.MessageType
type SetPuntReply ¶
type SetPuntReply struct {
Retval int32
}
SetPuntReply represents VPP binary API message 'set_punt_reply'.
func (*SetPuntReply) GetCrcString ¶
func (*SetPuntReply) GetCrcString() string
func (*SetPuntReply) GetMessageName ¶
func (*SetPuntReply) GetMessageName() string
func (*SetPuntReply) GetMessageType ¶
func (*SetPuntReply) GetMessageType() api.MessageType