session

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 session is a generated VPP binary API for 'session' module.

It consists of:

44 messages
22 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "session"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0xdf888b15
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type AppAddCertKeyPair

type AppAddCertKeyPair struct {
	CertLen    uint16
	CertkeyLen uint16 `struc:"sizeof=Certkey"`
	Certkey    []byte
}

AppAddCertKeyPair represents VPP binary API message 'app_add_cert_key_pair'.

func (*AppAddCertKeyPair) GetCrcString

func (*AppAddCertKeyPair) GetCrcString() string

func (*AppAddCertKeyPair) GetMessageName

func (*AppAddCertKeyPair) GetMessageName() string

func (*AppAddCertKeyPair) GetMessageType

func (*AppAddCertKeyPair) GetMessageType() api.MessageType

func (*AppAddCertKeyPair) Reset

func (m *AppAddCertKeyPair) Reset()

type AppAddCertKeyPairReply

type AppAddCertKeyPairReply struct {
	Retval int32
	Index  uint32
}

AppAddCertKeyPairReply represents VPP binary API message 'app_add_cert_key_pair_reply'.

func (*AppAddCertKeyPairReply) GetCrcString

func (*AppAddCertKeyPairReply) GetCrcString() string

func (*AppAddCertKeyPairReply) GetMessageName

func (*AppAddCertKeyPairReply) GetMessageName() string

func (*AppAddCertKeyPairReply) GetMessageType

func (*AppAddCertKeyPairReply) GetMessageType() api.MessageType

func (*AppAddCertKeyPairReply) Reset

func (m *AppAddCertKeyPairReply) Reset()

type AppAttach

type AppAttach struct {
	Options        []uint64 `struc:"[16]uint64"`
	NamespaceIDLen uint8
	NamespaceID    []byte `struc:"[64]byte"`
}

AppAttach represents VPP binary API message 'app_attach'.

func (*AppAttach) GetCrcString

func (*AppAttach) GetCrcString() string

func (*AppAttach) GetMessageName

func (*AppAttach) GetMessageName() string

func (*AppAttach) GetMessageType

func (*AppAttach) GetMessageType() api.MessageType

func (*AppAttach) Reset

func (m *AppAttach) Reset()

type AppAttachReply

type AppAttachReply struct {
	Retval            int32
	AppMq             uint64
	VppCtrlMq         uint64
	VppCtrlMqThread   uint8
	AppIndex          uint32
	NFds              uint8
	FdFlags           uint8
	SegmentSize       uint32
	SegmentNameLength uint8
	SegmentName       []byte `struc:"[128]byte"`
	SegmentHandle     uint64
}

AppAttachReply represents VPP binary API message 'app_attach_reply'.

func (*AppAttachReply) GetCrcString

func (*AppAttachReply) GetCrcString() string

func (*AppAttachReply) GetMessageName

func (*AppAttachReply) GetMessageName() string

func (*AppAttachReply) GetMessageType

func (*AppAttachReply) GetMessageType() api.MessageType

func (*AppAttachReply) Reset

func (m *AppAttachReply) Reset()

type AppCutThroughRegistrationAdd

type AppCutThroughRegistrationAdd struct {
	EvtQAddress     uint64
	PeerEvtQAddress uint64
	WrkIndex        uint32
	NFds            uint8
	FdFlags         uint8
}

AppCutThroughRegistrationAdd represents VPP binary API message 'app_cut_through_registration_add'.

func (*AppCutThroughRegistrationAdd) GetCrcString

func (*AppCutThroughRegistrationAdd) GetCrcString() string

func (*AppCutThroughRegistrationAdd) GetMessageName

func (*AppCutThroughRegistrationAdd) GetMessageName() string

func (*AppCutThroughRegistrationAdd) GetMessageType

func (*AppCutThroughRegistrationAdd) GetMessageType() api.MessageType

func (*AppCutThroughRegistrationAdd) Reset

func (m *AppCutThroughRegistrationAdd) Reset()

type AppCutThroughRegistrationAddReply

type AppCutThroughRegistrationAddReply struct {
	Retval int32
}

AppCutThroughRegistrationAddReply represents VPP binary API message 'app_cut_through_registration_add_reply'.

func (*AppCutThroughRegistrationAddReply) GetCrcString

func (*AppCutThroughRegistrationAddReply) GetCrcString() string

func (*AppCutThroughRegistrationAddReply) GetMessageName

func (*AppCutThroughRegistrationAddReply) GetMessageName() string

func (*AppCutThroughRegistrationAddReply) GetMessageType

func (*AppCutThroughRegistrationAddReply) Reset

type AppDelCertKeyPair

type AppDelCertKeyPair struct {
	Index uint32
}

AppDelCertKeyPair represents VPP binary API message 'app_del_cert_key_pair'.

func (*AppDelCertKeyPair) GetCrcString

func (*AppDelCertKeyPair) GetCrcString() string

func (*AppDelCertKeyPair) GetMessageName

func (*AppDelCertKeyPair) GetMessageName() string

func (*AppDelCertKeyPair) GetMessageType

func (*AppDelCertKeyPair) GetMessageType() api.MessageType

func (*AppDelCertKeyPair) Reset

func (m *AppDelCertKeyPair) Reset()

type AppDelCertKeyPairReply

type AppDelCertKeyPairReply struct {
	Retval int32
}

AppDelCertKeyPairReply represents VPP binary API message 'app_del_cert_key_pair_reply'.

func (*AppDelCertKeyPairReply) GetCrcString

func (*AppDelCertKeyPairReply) GetCrcString() string

func (*AppDelCertKeyPairReply) GetMessageName

func (*AppDelCertKeyPairReply) GetMessageName() string

func (*AppDelCertKeyPairReply) GetMessageType

func (*AppDelCertKeyPairReply) GetMessageType() api.MessageType

func (*AppDelCertKeyPairReply) Reset

func (m *AppDelCertKeyPairReply) Reset()

type AppNamespaceAddDel

type AppNamespaceAddDel struct {
	Secret         uint64
	SwIfIndex      uint32
	IP4FibID       uint32
	IP6FibID       uint32
	NamespaceIDLen uint8
	NamespaceID    []byte `struc:"[64]byte"`
}

AppNamespaceAddDel represents VPP binary API message 'app_namespace_add_del'.

func (*AppNamespaceAddDel) GetCrcString

func (*AppNamespaceAddDel) GetCrcString() string

func (*AppNamespaceAddDel) GetMessageName

func (*AppNamespaceAddDel) GetMessageName() string

func (*AppNamespaceAddDel) GetMessageType

func (*AppNamespaceAddDel) GetMessageType() api.MessageType

func (*AppNamespaceAddDel) Reset

func (m *AppNamespaceAddDel) Reset()

type AppNamespaceAddDelReply

type AppNamespaceAddDelReply struct {
	Retval     int32
	AppnsIndex uint32
}

AppNamespaceAddDelReply represents VPP binary API message 'app_namespace_add_del_reply'.

func (*AppNamespaceAddDelReply) GetCrcString

func (*AppNamespaceAddDelReply) GetCrcString() string

func (*AppNamespaceAddDelReply) GetMessageName

func (*AppNamespaceAddDelReply) GetMessageName() string

func (*AppNamespaceAddDelReply) GetMessageType

func (*AppNamespaceAddDelReply) GetMessageType() api.MessageType

func (*AppNamespaceAddDelReply) Reset

func (m *AppNamespaceAddDelReply) Reset()

type AppWorkerAddDel

type AppWorkerAddDel struct {
	AppIndex uint32
	WrkIndex uint32
	IsAdd    uint8
}

AppWorkerAddDel represents VPP binary API message 'app_worker_add_del'.

func (*AppWorkerAddDel) GetCrcString

func (*AppWorkerAddDel) GetCrcString() string

func (*AppWorkerAddDel) GetMessageName

func (*AppWorkerAddDel) GetMessageName() string

func (*AppWorkerAddDel) GetMessageType

func (*AppWorkerAddDel) GetMessageType() api.MessageType

func (*AppWorkerAddDel) Reset

func (m *AppWorkerAddDel) Reset()

type AppWorkerAddDelReply

type AppWorkerAddDelReply struct {
	Retval               int32
	WrkIndex             uint32
	AppEventQueueAddress uint64
	NFds                 uint8
	FdFlags              uint8
	SegmentNameLength    uint8
	SegmentName          []byte `struc:"[128]byte"`
	SegmentHandle        uint64
	IsAdd                uint8
}

AppWorkerAddDelReply represents VPP binary API message 'app_worker_add_del_reply'.

func (*AppWorkerAddDelReply) GetCrcString

func (*AppWorkerAddDelReply) GetCrcString() string

func (*AppWorkerAddDelReply) GetMessageName

func (*AppWorkerAddDelReply) GetMessageName() string

func (*AppWorkerAddDelReply) GetMessageType

func (*AppWorkerAddDelReply) GetMessageType() api.MessageType

func (*AppWorkerAddDelReply) Reset

func (m *AppWorkerAddDelReply) Reset()

type ApplicationAttach

type ApplicationAttach struct {
	InitialSegmentSize uint32
	Options            []uint64 `struc:"[16]uint64"`
	NamespaceIDLen     uint8
	NamespaceID        []byte `struc:"[64]byte"`
}

ApplicationAttach represents VPP binary API message 'application_attach'.

func (*ApplicationAttach) GetCrcString

func (*ApplicationAttach) GetCrcString() string

func (*ApplicationAttach) GetMessageName

func (*ApplicationAttach) GetMessageName() string

func (*ApplicationAttach) GetMessageType

func (*ApplicationAttach) GetMessageType() api.MessageType

func (*ApplicationAttach) Reset

func (m *ApplicationAttach) Reset()

type ApplicationAttachReply

type ApplicationAttachReply struct {
	Retval               int32
	AppEventQueueAddress uint64
	NFds                 uint8
	FdFlags              uint8
	SegmentSize          uint32
	SegmentNameLength    uint8
	SegmentName          []byte `struc:"[128]byte"`
	AppIndex             uint32
	SegmentHandle        uint64
}

ApplicationAttachReply represents VPP binary API message 'application_attach_reply'.

func (*ApplicationAttachReply) GetCrcString

func (*ApplicationAttachReply) GetCrcString() string

func (*ApplicationAttachReply) GetMessageName

func (*ApplicationAttachReply) GetMessageName() string

func (*ApplicationAttachReply) GetMessageType

func (*ApplicationAttachReply) GetMessageType() api.MessageType

func (*ApplicationAttachReply) Reset

func (m *ApplicationAttachReply) Reset()

type ApplicationDetach

type ApplicationDetach struct{}

ApplicationDetach represents VPP binary API message 'application_detach'.

func (*ApplicationDetach) GetCrcString

func (*ApplicationDetach) GetCrcString() string

func (*ApplicationDetach) GetMessageName

func (*ApplicationDetach) GetMessageName() string

func (*ApplicationDetach) GetMessageType

func (*ApplicationDetach) GetMessageType() api.MessageType

func (*ApplicationDetach) Reset

func (m *ApplicationDetach) Reset()

type ApplicationDetachReply

type ApplicationDetachReply struct {
	Retval int32
}

ApplicationDetachReply represents VPP binary API message 'application_detach_reply'.

func (*ApplicationDetachReply) GetCrcString

func (*ApplicationDetachReply) GetCrcString() string

func (*ApplicationDetachReply) GetMessageName

func (*ApplicationDetachReply) GetMessageName() string

func (*ApplicationDetachReply) GetMessageType

func (*ApplicationDetachReply) GetMessageType() api.MessageType

func (*ApplicationDetachReply) Reset

func (m *ApplicationDetachReply) Reset()

type ApplicationTLSCertAdd

type ApplicationTLSCertAdd struct {
	AppIndex uint32
	CertLen  uint16 `struc:"sizeof=Cert"`
	Cert     []byte
}

ApplicationTLSCertAdd represents VPP binary API message 'application_tls_cert_add'.

func (*ApplicationTLSCertAdd) GetCrcString

func (*ApplicationTLSCertAdd) GetCrcString() string

func (*ApplicationTLSCertAdd) GetMessageName

func (*ApplicationTLSCertAdd) GetMessageName() string

func (*ApplicationTLSCertAdd) GetMessageType

func (*ApplicationTLSCertAdd) GetMessageType() api.MessageType

func (*ApplicationTLSCertAdd) Reset

func (m *ApplicationTLSCertAdd) Reset()

type ApplicationTLSCertAddReply

type ApplicationTLSCertAddReply struct {
	Retval int32
}

ApplicationTLSCertAddReply represents VPP binary API message 'application_tls_cert_add_reply'.

func (*ApplicationTLSCertAddReply) GetCrcString

func (*ApplicationTLSCertAddReply) GetCrcString() string

func (*ApplicationTLSCertAddReply) GetMessageName

func (*ApplicationTLSCertAddReply) GetMessageName() string

func (*ApplicationTLSCertAddReply) GetMessageType

func (*ApplicationTLSCertAddReply) GetMessageType() api.MessageType

func (*ApplicationTLSCertAddReply) Reset

func (m *ApplicationTLSCertAddReply) Reset()

type ApplicationTLSKeyAdd

type ApplicationTLSKeyAdd struct {
	AppIndex uint32
	KeyLen   uint16 `struc:"sizeof=Key"`
	Key      []byte
}

ApplicationTLSKeyAdd represents VPP binary API message 'application_tls_key_add'.

func (*ApplicationTLSKeyAdd) GetCrcString

func (*ApplicationTLSKeyAdd) GetCrcString() string

func (*ApplicationTLSKeyAdd) GetMessageName

func (*ApplicationTLSKeyAdd) GetMessageName() string

func (*ApplicationTLSKeyAdd) GetMessageType

func (*ApplicationTLSKeyAdd) GetMessageType() api.MessageType

func (*ApplicationTLSKeyAdd) Reset

func (m *ApplicationTLSKeyAdd) Reset()

type ApplicationTLSKeyAddReply

type ApplicationTLSKeyAddReply struct {
	Retval int32
}

ApplicationTLSKeyAddReply represents VPP binary API message 'application_tls_key_add_reply'.

func (*ApplicationTLSKeyAddReply) GetCrcString

func (*ApplicationTLSKeyAddReply) GetCrcString() string

func (*ApplicationTLSKeyAddReply) GetMessageName

func (*ApplicationTLSKeyAddReply) GetMessageName() string

func (*ApplicationTLSKeyAddReply) GetMessageType

func (*ApplicationTLSKeyAddReply) GetMessageType() api.MessageType

func (*ApplicationTLSKeyAddReply) Reset

func (m *ApplicationTLSKeyAddReply) Reset()

type BindSock

type BindSock struct {
	WrkIndex uint32
	Vrf      uint32
	IsIP4    uint8
	IP       []byte `struc:"[16]byte"`
	Port     uint16
	Proto    uint8
	Options  []uint64 `struc:"[16]uint64"`
}

BindSock represents VPP binary API message 'bind_sock'.

func (*BindSock) GetCrcString

func (*BindSock) GetCrcString() string

func (*BindSock) GetMessageName

func (*BindSock) GetMessageName() string

func (*BindSock) GetMessageType

func (*BindSock) GetMessageType() api.MessageType

func (*BindSock) Reset

func (m *BindSock) Reset()

type BindSockReply

type BindSockReply struct {
	Retval int32
}

BindSockReply represents VPP binary API message 'bind_sock_reply'.

func (*BindSockReply) GetCrcString

func (*BindSockReply) GetCrcString() string

func (*BindSockReply) GetMessageName

func (*BindSockReply) GetMessageName() string

func (*BindSockReply) GetMessageType

func (*BindSockReply) GetMessageType() api.MessageType

func (*BindSockReply) Reset

func (m *BindSockReply) Reset()

type BindURI

type BindURI struct {
	AcceptCookie uint32
	URI          []byte `struc:"[128]byte"`
}

BindURI represents VPP binary API message 'bind_uri'.

func (*BindURI) GetCrcString

func (*BindURI) GetCrcString() string

func (*BindURI) GetMessageName

func (*BindURI) GetMessageName() string

func (*BindURI) GetMessageType

func (*BindURI) GetMessageType() api.MessageType

func (*BindURI) Reset

func (m *BindURI) Reset()

type BindURIReply

type BindURIReply struct {
	Retval int32
}

BindURIReply represents VPP binary API message 'bind_uri_reply'.

func (*BindURIReply) GetCrcString

func (*BindURIReply) GetCrcString() string

func (*BindURIReply) GetMessageName

func (*BindURIReply) GetMessageName() string

func (*BindURIReply) GetMessageType

func (*BindURIReply) GetMessageType() api.MessageType

func (*BindURIReply) Reset

func (m *BindURIReply) Reset()

type ConnectSock

type ConnectSock struct {
	WrkIndex           uint32
	ClientQueueAddress uint64
	Options            []uint64 `struc:"[16]uint64"`
	Vrf                uint32
	IsIP4              uint8
	IP                 []byte `struc:"[16]byte"`
	Port               uint16
	Proto              uint8
	ParentHandle       uint64
	HostnameLen        uint8 `struc:"sizeof=Hostname"`
	Hostname           []byte
}

ConnectSock represents VPP binary API message 'connect_sock'.

func (*ConnectSock) GetCrcString

func (*ConnectSock) GetCrcString() string

func (*ConnectSock) GetMessageName

func (*ConnectSock) GetMessageName() string

func (*ConnectSock) GetMessageType

func (*ConnectSock) GetMessageType() api.MessageType

func (*ConnectSock) Reset

func (m *ConnectSock) Reset()

type ConnectSockReply

type ConnectSockReply struct {
	Retval int32
}

ConnectSockReply represents VPP binary API message 'connect_sock_reply'.

func (*ConnectSockReply) GetCrcString

func (*ConnectSockReply) GetCrcString() string

func (*ConnectSockReply) GetMessageName

func (*ConnectSockReply) GetMessageName() string

func (*ConnectSockReply) GetMessageType

func (*ConnectSockReply) GetMessageType() api.MessageType

func (*ConnectSockReply) Reset

func (m *ConnectSockReply) Reset()

type ConnectURI

type ConnectURI struct {
	ClientQueueAddress uint64
	Options            []uint64 `struc:"[16]uint64"`
	URI                []byte   `struc:"[128]byte"`
}

ConnectURI represents VPP binary API message 'connect_uri'.

func (*ConnectURI) GetCrcString

func (*ConnectURI) GetCrcString() string

func (*ConnectURI) GetMessageName

func (*ConnectURI) GetMessageName() string

func (*ConnectURI) GetMessageType

func (*ConnectURI) GetMessageType() api.MessageType

func (*ConnectURI) Reset

func (m *ConnectURI) Reset()

type ConnectURIReply

type ConnectURIReply struct {
	Retval int32
}

ConnectURIReply represents VPP binary API message 'connect_uri_reply'.

func (*ConnectURIReply) GetCrcString

func (*ConnectURIReply) GetCrcString() string

func (*ConnectURIReply) GetMessageName

func (*ConnectURIReply) GetMessageName() string

func (*ConnectURIReply) GetMessageType

func (*ConnectURIReply) GetMessageType() api.MessageType

func (*ConnectURIReply) Reset

func (m *ConnectURIReply) Reset()

type DisconnectSession

type DisconnectSession struct {
	Handle uint64
}

DisconnectSession represents VPP binary API message 'disconnect_session'.

func (*DisconnectSession) GetCrcString

func (*DisconnectSession) GetCrcString() string

func (*DisconnectSession) GetMessageName

func (*DisconnectSession) GetMessageName() string

func (*DisconnectSession) GetMessageType

func (*DisconnectSession) GetMessageType() api.MessageType

func (*DisconnectSession) Reset

func (m *DisconnectSession) Reset()

type DisconnectSessionReply

type DisconnectSessionReply struct {
	Retval int32
	Handle uint64
}

DisconnectSessionReply represents VPP binary API message 'disconnect_session_reply'.

func (*DisconnectSessionReply) GetCrcString

func (*DisconnectSessionReply) GetCrcString() string

func (*DisconnectSessionReply) GetMessageName

func (*DisconnectSessionReply) GetMessageName() string

func (*DisconnectSessionReply) GetMessageType

func (*DisconnectSessionReply) GetMessageType() api.MessageType

func (*DisconnectSessionReply) Reset

func (m *DisconnectSessionReply) Reset()

type MapAnotherSegment

type MapAnotherSegment struct {
	FdFlags       uint8
	SegmentSize   uint32
	SegmentName   []byte `struc:"[128]byte"`
	SegmentHandle uint64
}

MapAnotherSegment represents VPP binary API message 'map_another_segment'.

func (*MapAnotherSegment) GetCrcString

func (*MapAnotherSegment) GetCrcString() string

func (*MapAnotherSegment) GetMessageName

func (*MapAnotherSegment) GetMessageName() string

func (*MapAnotherSegment) GetMessageType

func (*MapAnotherSegment) GetMessageType() api.MessageType

func (*MapAnotherSegment) Reset

func (m *MapAnotherSegment) Reset()

type MapAnotherSegmentReply

type MapAnotherSegmentReply struct {
	Retval int32
}

MapAnotherSegmentReply represents VPP binary API message 'map_another_segment_reply'.

func (*MapAnotherSegmentReply) GetCrcString

func (*MapAnotherSegmentReply) GetCrcString() string

func (*MapAnotherSegmentReply) GetMessageName

func (*MapAnotherSegmentReply) GetMessageName() string

func (*MapAnotherSegmentReply) GetMessageType

func (*MapAnotherSegmentReply) GetMessageType() api.MessageType

func (*MapAnotherSegmentReply) Reset

func (m *MapAnotherSegmentReply) Reset()

type RPCService

type RPCService interface {
	DumpSessionRules(ctx context.Context, in *SessionRulesDump) (RPCService_DumpSessionRulesClient, error)
	AppAddCertKeyPair(ctx context.Context, in *AppAddCertKeyPair) (*AppAddCertKeyPairReply, error)
	AppAttach(ctx context.Context, in *AppAttach) (*AppAttachReply, error)
	AppCutThroughRegistrationAdd(ctx context.Context, in *AppCutThroughRegistrationAdd) (*AppCutThroughRegistrationAddReply, error)
	AppDelCertKeyPair(ctx context.Context, in *AppDelCertKeyPair) (*AppDelCertKeyPairReply, error)
	AppNamespaceAddDel(ctx context.Context, in *AppNamespaceAddDel) (*AppNamespaceAddDelReply, error)
	AppWorkerAddDel(ctx context.Context, in *AppWorkerAddDel) (*AppWorkerAddDelReply, error)
	ApplicationAttach(ctx context.Context, in *ApplicationAttach) (*ApplicationAttachReply, error)
	ApplicationDetach(ctx context.Context, in *ApplicationDetach) (*ApplicationDetachReply, error)
	ApplicationTLSCertAdd(ctx context.Context, in *ApplicationTLSCertAdd) (*ApplicationTLSCertAddReply, error)
	ApplicationTLSKeyAdd(ctx context.Context, in *ApplicationTLSKeyAdd) (*ApplicationTLSKeyAddReply, error)
	BindSock(ctx context.Context, in *BindSock) (*BindSockReply, error)
	BindURI(ctx context.Context, in *BindURI) (*BindURIReply, error)
	ConnectSock(ctx context.Context, in *ConnectSock) (*ConnectSockReply, error)
	ConnectURI(ctx context.Context, in *ConnectURI) (*ConnectURIReply, error)
	DisconnectSession(ctx context.Context, in *DisconnectSession) (*DisconnectSessionReply, error)
	MapAnotherSegment(ctx context.Context, in *MapAnotherSegment) (*MapAnotherSegmentReply, error)
	SessionEnableDisable(ctx context.Context, in *SessionEnableDisable) (*SessionEnableDisableReply, error)
	SessionRuleAddDel(ctx context.Context, in *SessionRuleAddDel) (*SessionRuleAddDelReply, error)
	UnbindSock(ctx context.Context, in *UnbindSock) (*UnbindSockReply, error)
	UnbindURI(ctx context.Context, in *UnbindURI) (*UnbindURIReply, error)
	UnmapSegment(ctx context.Context, in *UnmapSegment) (*UnmapSegmentReply, error)
}

RPCService represents RPC service API for session module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type RPCService_DumpSessionRulesClient

type RPCService_DumpSessionRulesClient interface {
	Recv() (*SessionRulesDetails, error)
}

type SessionEnableDisable

type SessionEnableDisable struct {
	IsEnable uint8
}

SessionEnableDisable represents VPP binary API message 'session_enable_disable'.

func (*SessionEnableDisable) GetCrcString

func (*SessionEnableDisable) GetCrcString() string

func (*SessionEnableDisable) GetMessageName

func (*SessionEnableDisable) GetMessageName() string

func (*SessionEnableDisable) GetMessageType

func (*SessionEnableDisable) GetMessageType() api.MessageType

func (*SessionEnableDisable) Reset

func (m *SessionEnableDisable) Reset()

type SessionEnableDisableReply

type SessionEnableDisableReply struct {
	Retval int32
}

SessionEnableDisableReply represents VPP binary API message 'session_enable_disable_reply'.

func (*SessionEnableDisableReply) GetCrcString

func (*SessionEnableDisableReply) GetCrcString() string

func (*SessionEnableDisableReply) GetMessageName

func (*SessionEnableDisableReply) GetMessageName() string

func (*SessionEnableDisableReply) GetMessageType

func (*SessionEnableDisableReply) GetMessageType() api.MessageType

func (*SessionEnableDisableReply) Reset

func (m *SessionEnableDisableReply) Reset()

type SessionRuleAddDel

type SessionRuleAddDel struct {
	TransportProto uint8
	IsIP4          uint8
	LclIP          []byte `struc:"[16]byte"`
	LclPlen        uint8
	RmtIP          []byte `struc:"[16]byte"`
	RmtPlen        uint8
	LclPort        uint16
	RmtPort        uint16
	ActionIndex    uint32
	IsAdd          uint8
	AppnsIndex     uint32
	Scope          uint8
	Tag            []byte `struc:"[64]byte"`
}

SessionRuleAddDel represents VPP binary API message 'session_rule_add_del'.

func (*SessionRuleAddDel) GetCrcString

func (*SessionRuleAddDel) GetCrcString() string

func (*SessionRuleAddDel) GetMessageName

func (*SessionRuleAddDel) GetMessageName() string

func (*SessionRuleAddDel) GetMessageType

func (*SessionRuleAddDel) GetMessageType() api.MessageType

func (*SessionRuleAddDel) Reset

func (m *SessionRuleAddDel) Reset()

type SessionRuleAddDelReply

type SessionRuleAddDelReply struct {
	Retval int32
}

SessionRuleAddDelReply represents VPP binary API message 'session_rule_add_del_reply'.

func (*SessionRuleAddDelReply) GetCrcString

func (*SessionRuleAddDelReply) GetCrcString() string

func (*SessionRuleAddDelReply) GetMessageName

func (*SessionRuleAddDelReply) GetMessageName() string

func (*SessionRuleAddDelReply) GetMessageType

func (*SessionRuleAddDelReply) GetMessageType() api.MessageType

func (*SessionRuleAddDelReply) Reset

func (m *SessionRuleAddDelReply) Reset()

type SessionRulesDetails

type SessionRulesDetails struct {
	TransportProto uint8
	IsIP4          uint8
	LclIP          []byte `struc:"[16]byte"`
	LclPlen        uint8
	RmtIP          []byte `struc:"[16]byte"`
	RmtPlen        uint8
	LclPort        uint16
	RmtPort        uint16
	ActionIndex    uint32
	AppnsIndex     uint32
	Scope          uint8
	Tag            []byte `struc:"[64]byte"`
}

SessionRulesDetails represents VPP binary API message 'session_rules_details'.

func (*SessionRulesDetails) GetCrcString

func (*SessionRulesDetails) GetCrcString() string

func (*SessionRulesDetails) GetMessageName

func (*SessionRulesDetails) GetMessageName() string

func (*SessionRulesDetails) GetMessageType

func (*SessionRulesDetails) GetMessageType() api.MessageType

func (*SessionRulesDetails) Reset

func (m *SessionRulesDetails) Reset()

type SessionRulesDump

type SessionRulesDump struct{}

SessionRulesDump represents VPP binary API message 'session_rules_dump'.

func (*SessionRulesDump) GetCrcString

func (*SessionRulesDump) GetCrcString() string

func (*SessionRulesDump) GetMessageName

func (*SessionRulesDump) GetMessageName() string

func (*SessionRulesDump) GetMessageType

func (*SessionRulesDump) GetMessageType() api.MessageType

func (*SessionRulesDump) Reset

func (m *SessionRulesDump) Reset()

type UnbindSock

type UnbindSock struct {
	WrkIndex uint32
	Handle   uint64
}

UnbindSock represents VPP binary API message 'unbind_sock'.

func (*UnbindSock) GetCrcString

func (*UnbindSock) GetCrcString() string

func (*UnbindSock) GetMessageName

func (*UnbindSock) GetMessageName() string

func (*UnbindSock) GetMessageType

func (*UnbindSock) GetMessageType() api.MessageType

func (*UnbindSock) Reset

func (m *UnbindSock) Reset()

type UnbindSockReply

type UnbindSockReply struct {
	Retval int32
}

UnbindSockReply represents VPP binary API message 'unbind_sock_reply'.

func (*UnbindSockReply) GetCrcString

func (*UnbindSockReply) GetCrcString() string

func (*UnbindSockReply) GetMessageName

func (*UnbindSockReply) GetMessageName() string

func (*UnbindSockReply) GetMessageType

func (*UnbindSockReply) GetMessageType() api.MessageType

func (*UnbindSockReply) Reset

func (m *UnbindSockReply) Reset()

type UnbindURI

type UnbindURI struct {
	URI []byte `struc:"[128]byte"`
}

UnbindURI represents VPP binary API message 'unbind_uri'.

func (*UnbindURI) GetCrcString

func (*UnbindURI) GetCrcString() string

func (*UnbindURI) GetMessageName

func (*UnbindURI) GetMessageName() string

func (*UnbindURI) GetMessageType

func (*UnbindURI) GetMessageType() api.MessageType

func (*UnbindURI) Reset

func (m *UnbindURI) Reset()

type UnbindURIReply

type UnbindURIReply struct {
	Retval int32
}

UnbindURIReply represents VPP binary API message 'unbind_uri_reply'.

func (*UnbindURIReply) GetCrcString

func (*UnbindURIReply) GetCrcString() string

func (*UnbindURIReply) GetMessageName

func (*UnbindURIReply) GetMessageName() string

func (*UnbindURIReply) GetMessageType

func (*UnbindURIReply) GetMessageType() api.MessageType

func (*UnbindURIReply) Reset

func (m *UnbindURIReply) Reset()

type UnmapSegment

type UnmapSegment struct {
	SegmentHandle uint64
}

UnmapSegment represents VPP binary API message 'unmap_segment'.

func (*UnmapSegment) GetCrcString

func (*UnmapSegment) GetCrcString() string

func (*UnmapSegment) GetMessageName

func (*UnmapSegment) GetMessageName() string

func (*UnmapSegment) GetMessageType

func (*UnmapSegment) GetMessageType() api.MessageType

func (*UnmapSegment) Reset

func (m *UnmapSegment) Reset()

type UnmapSegmentReply

type UnmapSegmentReply struct {
	Retval int32
}

UnmapSegmentReply represents VPP binary API message 'unmap_segment_reply'.

func (*UnmapSegmentReply) GetCrcString

func (*UnmapSegmentReply) GetCrcString() string

func (*UnmapSegmentReply) GetMessageName

func (*UnmapSegmentReply) GetMessageName() string

func (*UnmapSegmentReply) GetMessageType

func (*UnmapSegmentReply) GetMessageType() api.MessageType

func (*UnmapSegmentReply) Reset

func (m *UnmapSegmentReply) Reset()

Jump to

Keyboard shortcuts

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