Documentation
¶
Overview ¶
Package pppoe is a generated VPP binary API for 'pppoe' module.
It consists of:
4 messages 2 services
Index ¶
Constants ¶
View Source
const ( // ModuleName is the name of this module. ModuleName = "pppoe" // APIVersion is the API version of this module. APIVersion = "1.0.0" // VersionCrc is the CRC of this module. VersionCrc = 0x4def67c4 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type PppoeAddDelSession ¶
type PppoeAddDelSession struct { IsAdd uint8 IsIPv6 uint8 SessionID uint16 ClientIP []byte `struc:"[16]byte"` DecapVrfID uint32 ClientMac []byte `struc:"[6]byte"` }
PppoeAddDelSession represents VPP binary API message 'pppoe_add_del_session'.
func (*PppoeAddDelSession) GetCrcString ¶
func (*PppoeAddDelSession) GetCrcString() string
func (*PppoeAddDelSession) GetMessageName ¶
func (*PppoeAddDelSession) GetMessageName() string
func (*PppoeAddDelSession) GetMessageType ¶
func (*PppoeAddDelSession) GetMessageType() api.MessageType
func (*PppoeAddDelSession) Reset ¶
func (m *PppoeAddDelSession) Reset()
type PppoeAddDelSessionReply ¶
PppoeAddDelSessionReply represents VPP binary API message 'pppoe_add_del_session_reply'.
func (*PppoeAddDelSessionReply) GetCrcString ¶
func (*PppoeAddDelSessionReply) GetCrcString() string
func (*PppoeAddDelSessionReply) GetMessageName ¶
func (*PppoeAddDelSessionReply) GetMessageName() string
func (*PppoeAddDelSessionReply) GetMessageType ¶
func (*PppoeAddDelSessionReply) GetMessageType() api.MessageType
func (*PppoeAddDelSessionReply) Reset ¶
func (m *PppoeAddDelSessionReply) Reset()
type PppoeSessionDetails ¶
type PppoeSessionDetails struct { SwIfIndex uint32 IsIPv6 uint8 SessionID uint16 ClientIP []byte `struc:"[16]byte"` EncapIfIndex uint32 DecapVrfID uint32 LocalMac []byte `struc:"[6]byte"` ClientMac []byte `struc:"[6]byte"` }
PppoeSessionDetails represents VPP binary API message 'pppoe_session_details'.
func (*PppoeSessionDetails) GetCrcString ¶
func (*PppoeSessionDetails) GetCrcString() string
func (*PppoeSessionDetails) GetMessageName ¶
func (*PppoeSessionDetails) GetMessageName() string
func (*PppoeSessionDetails) GetMessageType ¶
func (*PppoeSessionDetails) GetMessageType() api.MessageType
func (*PppoeSessionDetails) Reset ¶
func (m *PppoeSessionDetails) Reset()
type PppoeSessionDump ¶
type PppoeSessionDump struct {
SwIfIndex uint32
}
PppoeSessionDump represents VPP binary API message 'pppoe_session_dump'.
func (*PppoeSessionDump) GetCrcString ¶
func (*PppoeSessionDump) GetCrcString() string
func (*PppoeSessionDump) GetMessageName ¶
func (*PppoeSessionDump) GetMessageName() string
func (*PppoeSessionDump) GetMessageType ¶
func (*PppoeSessionDump) GetMessageType() api.MessageType
func (*PppoeSessionDump) Reset ¶
func (m *PppoeSessionDump) Reset()
type RPCService ¶
type RPCService interface { DumpPppoeSession(ctx context.Context, in *PppoeSessionDump) (RPCService_DumpPppoeSessionClient, error) PppoeAddDelSession(ctx context.Context, in *PppoeAddDelSession) (*PppoeAddDelSessionReply, error) }
RPCService represents RPC service API for pppoe module.
func NewServiceClient ¶
func NewServiceClient(ch api.Channel) RPCService
type RPCService_DumpPppoeSessionClient ¶
type RPCService_DumpPppoeSessionClient interface {
Recv() (*PppoeSessionDetails, error)
}
Click to show internal directories.
Click to hide internal directories.