pppoe

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 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

func AllMessages() []api.Message

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

type PppoeAddDelSessionReply struct {
	Retval    int32
	SwIfIndex uint32
}

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL