session

package
v1.9.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

 Package session is a generated from VPP binary API module 'session'.

 It contains following objects:
	 44 messages
	 22 services

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptSession

type AcceptSession struct {
	ListenerHandle          uint64
	Handle                  uint64
	ServerRxFifo            uint64
	ServerTxFifo            uint64
	VppEventQueueAddress    uint64
	ServerEventQueueAddress uint64
	Port                    uint16
	IsIP4                   uint8
	IP                      []byte `struc:"[16]byte"`
}

AcceptSession represents the VPP binary API message 'accept_session'.

"accept_session",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u64",
    "listener_handle"
],
[
    "u64",
    "handle"
],
[
    "u64",
    "server_rx_fifo"
],
[
    "u64",
    "server_tx_fifo"
],
[
    "u64",
    "vpp_event_queue_address"
],
[
    "u64",
    "server_event_queue_address"
],
[
    "u16",
    "port"
],
[
    "u8",
    "is_ip4"
],
[
    "u8",
    "ip",
    16
],
{
    "crc": "0xbd57a498"
}

func (*AcceptSession) GetCrcString

func (*AcceptSession) GetCrcString() string

func (*AcceptSession) GetMessageName

func (*AcceptSession) GetMessageName() string

func (*AcceptSession) GetMessageType

func (*AcceptSession) GetMessageType() api.MessageType

type AcceptSessionReply

type AcceptSessionReply struct {
	Retval int32
	Handle uint64
}

AcceptSessionReply represents the VPP binary API message 'accept_session_reply'.

"accept_session_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
[
    "u64",
    "handle"
],
{
    "crc": "0xd6960a03"
}

func (*AcceptSessionReply) GetCrcString

func (*AcceptSessionReply) GetCrcString() string

func (*AcceptSessionReply) GetMessageName

func (*AcceptSessionReply) GetMessageName() string

func (*AcceptSessionReply) GetMessageType

func (*AcceptSessionReply) GetMessageType() api.MessageType

type AppCutThroughRegistrationAdd added in v1.8.1

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

AppCutThroughRegistrationAdd represents the VPP binary API message 'app_cut_through_registration_add'.

"app_cut_through_registration_add",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u64",
    "evt_q_address"
],
[
    "u64",
    "peer_evt_q_address"
],
[
    "u32",
    "wrk_index"
],
[
    "u8",
    "n_fds"
],
[
    "u8",
    "fd_flags"
],
{
    "crc": "0x6d73b1b9"
}

func (*AppCutThroughRegistrationAdd) GetCrcString added in v1.8.1

func (*AppCutThroughRegistrationAdd) GetCrcString() string

func (*AppCutThroughRegistrationAdd) GetMessageName added in v1.8.1

func (*AppCutThroughRegistrationAdd) GetMessageName() string

func (*AppCutThroughRegistrationAdd) GetMessageType added in v1.8.1

func (*AppCutThroughRegistrationAdd) GetMessageType() api.MessageType

type AppCutThroughRegistrationAddReply added in v1.8.1

type AppCutThroughRegistrationAddReply struct {
	Retval int32
}

AppCutThroughRegistrationAddReply represents the VPP binary API message 'app_cut_through_registration_add_reply'.

"app_cut_through_registration_add_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*AppCutThroughRegistrationAddReply) GetCrcString added in v1.8.1

func (*AppCutThroughRegistrationAddReply) GetCrcString() string

func (*AppCutThroughRegistrationAddReply) GetMessageName added in v1.8.1

func (*AppCutThroughRegistrationAddReply) GetMessageName() string

func (*AppCutThroughRegistrationAddReply) GetMessageType added in v1.8.1

type AppNamespaceAddDel

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

AppNamespaceAddDel represents the VPP binary API message 'app_namespace_add_del'.

"app_namespace_add_del",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u64",
    "secret"
],
[
    "u32",
    "sw_if_index"
],
[
    "u32",
    "ip4_fib_id"
],
[
    "u32",
    "ip6_fib_id"
],
[
    "u8",
    "namespace_id_len"
],
[
    "u8",
    "namespace_id",
    64
],
{
    "crc": "0xdd074c65"
}

func (*AppNamespaceAddDel) GetCrcString

func (*AppNamespaceAddDel) GetCrcString() string

func (*AppNamespaceAddDel) GetMessageName

func (*AppNamespaceAddDel) GetMessageName() string

func (*AppNamespaceAddDel) GetMessageType

func (*AppNamespaceAddDel) GetMessageType() api.MessageType

type AppNamespaceAddDelReply

type AppNamespaceAddDelReply struct {
	Retval     int32
	AppnsIndex uint32
}

AppNamespaceAddDelReply represents the VPP binary API message 'app_namespace_add_del_reply'.

"app_namespace_add_del_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
[
    "u32",
    "appns_index"
],
{
    "crc": "0x85137120"
}

func (*AppNamespaceAddDelReply) GetCrcString

func (*AppNamespaceAddDelReply) GetCrcString() string

func (*AppNamespaceAddDelReply) GetMessageName

func (*AppNamespaceAddDelReply) GetMessageName() string

func (*AppNamespaceAddDelReply) GetMessageType

func (*AppNamespaceAddDelReply) GetMessageType() api.MessageType

type AppWorkerAddDel added in v1.8.1

type AppWorkerAddDel struct {
	AppIndex uint32
	WrkIndex uint32
	IsAdd    uint8
}

AppWorkerAddDel represents the VPP binary API message 'app_worker_add_del'.

"app_worker_add_del",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "app_index"
],
[
    "u32",
    "wrk_index"
],
[
    "u8",
    "is_add"
],
{
    "crc": "0x6d2b2279"
}

func (*AppWorkerAddDel) GetCrcString added in v1.8.1

func (*AppWorkerAddDel) GetCrcString() string

func (*AppWorkerAddDel) GetMessageName added in v1.8.1

func (*AppWorkerAddDel) GetMessageName() string

func (*AppWorkerAddDel) GetMessageType added in v1.8.1

func (*AppWorkerAddDel) GetMessageType() api.MessageType

type AppWorkerAddDelReply added in v1.8.1

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 the VPP binary API message 'app_worker_add_del_reply'.

"app_worker_add_del_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
[
    "u32",
    "wrk_index"
],
[
    "u64",
    "app_event_queue_address"
],
[
    "u8",
    "n_fds"
],
[
    "u8",
    "fd_flags"
],
[
    "u8",
    "segment_name_length"
],
[
    "u8",
    "segment_name",
    128
],
[
    "u64",
    "segment_handle"
],
[
    "u8",
    "is_add"
],
{
    "crc": "0x56b21abc"
}

func (*AppWorkerAddDelReply) GetCrcString added in v1.8.1

func (*AppWorkerAddDelReply) GetCrcString() string

func (*AppWorkerAddDelReply) GetMessageName added in v1.8.1

func (*AppWorkerAddDelReply) GetMessageName() string

func (*AppWorkerAddDelReply) GetMessageType added in v1.8.1

func (*AppWorkerAddDelReply) GetMessageType() api.MessageType

type ApplicationAttach

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

ApplicationAttach represents the VPP binary API message 'application_attach'.

"application_attach",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "initial_segment_size"
],
[
    "u64",
    "options",
    16
],
[
    "u8",
    "namespace_id_len"
],
[
    "u8",
    "namespace_id",
    64
],
{
    "crc": "0x81d4f974"
}

func (*ApplicationAttach) GetCrcString

func (*ApplicationAttach) GetCrcString() string

func (*ApplicationAttach) GetMessageName

func (*ApplicationAttach) GetMessageName() string

func (*ApplicationAttach) GetMessageType

func (*ApplicationAttach) GetMessageType() api.MessageType

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 the VPP binary API message 'application_attach_reply'.

"application_attach_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
[
    "u64",
    "app_event_queue_address"
],
[
    "u8",
    "n_fds"
],
[
    "u8",
    "fd_flags"
],
[
    "u32",
    "segment_size"
],
[
    "u8",
    "segment_name_length"
],
[
    "u8",
    "segment_name",
    128
],
[
    "u32",
    "app_index"
],
[
    "u64",
    "segment_handle"
],
{
    "crc": "0x581866e8"
}

func (*ApplicationAttachReply) GetCrcString

func (*ApplicationAttachReply) GetCrcString() string

func (*ApplicationAttachReply) GetMessageName

func (*ApplicationAttachReply) GetMessageName() string

func (*ApplicationAttachReply) GetMessageType

func (*ApplicationAttachReply) GetMessageType() api.MessageType

type ApplicationDetach

type ApplicationDetach struct{}

ApplicationDetach represents the VPP binary API message 'application_detach'.

"application_detach",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
{
    "crc": "0x51077d14"
}

func (*ApplicationDetach) GetCrcString

func (*ApplicationDetach) GetCrcString() string

func (*ApplicationDetach) GetMessageName

func (*ApplicationDetach) GetMessageName() string

func (*ApplicationDetach) GetMessageType

func (*ApplicationDetach) GetMessageType() api.MessageType

type ApplicationDetachReply

type ApplicationDetachReply struct {
	Retval int32
}

ApplicationDetachReply represents the VPP binary API message 'application_detach_reply'.

"application_detach_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*ApplicationDetachReply) GetCrcString

func (*ApplicationDetachReply) GetCrcString() string

func (*ApplicationDetachReply) GetMessageName

func (*ApplicationDetachReply) GetMessageName() string

func (*ApplicationDetachReply) GetMessageType

func (*ApplicationDetachReply) GetMessageType() api.MessageType

type ApplicationTLSCertAdd

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

ApplicationTLSCertAdd represents the VPP binary API message 'application_tls_cert_add'.

"application_tls_cert_add",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "app_index"
],
[
    "u16",
    "cert_len"
],
[
    "u8",
    "cert",
    0,
    "cert_len"
],
{
    "crc": "0x3f5cfe45"
}

func (*ApplicationTLSCertAdd) GetCrcString

func (*ApplicationTLSCertAdd) GetCrcString() string

func (*ApplicationTLSCertAdd) GetMessageName

func (*ApplicationTLSCertAdd) GetMessageName() string

func (*ApplicationTLSCertAdd) GetMessageType

func (*ApplicationTLSCertAdd) GetMessageType() api.MessageType

type ApplicationTLSCertAddReply

type ApplicationTLSCertAddReply struct {
	Retval int32
}

ApplicationTLSCertAddReply represents the VPP binary API message 'application_tls_cert_add_reply'.

"application_tls_cert_add_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*ApplicationTLSCertAddReply) GetCrcString

func (*ApplicationTLSCertAddReply) GetCrcString() string

func (*ApplicationTLSCertAddReply) GetMessageName

func (*ApplicationTLSCertAddReply) GetMessageName() string

func (*ApplicationTLSCertAddReply) GetMessageType

func (*ApplicationTLSCertAddReply) GetMessageType() api.MessageType

type ApplicationTLSKeyAdd

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

ApplicationTLSKeyAdd represents the VPP binary API message 'application_tls_key_add'.

"application_tls_key_add",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "app_index"
],
[
    "u16",
    "key_len"
],
[
    "u8",
    "key",
    0,
    "key_len"
],
{
    "crc": "0x5eaf70cd"
}

func (*ApplicationTLSKeyAdd) GetCrcString

func (*ApplicationTLSKeyAdd) GetCrcString() string

func (*ApplicationTLSKeyAdd) GetMessageName

func (*ApplicationTLSKeyAdd) GetMessageName() string

func (*ApplicationTLSKeyAdd) GetMessageType

func (*ApplicationTLSKeyAdd) GetMessageType() api.MessageType

type ApplicationTLSKeyAddReply

type ApplicationTLSKeyAddReply struct {
	Retval int32
}

ApplicationTLSKeyAddReply represents the VPP binary API message 'application_tls_key_add_reply'.

"application_tls_key_add_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*ApplicationTLSKeyAddReply) GetCrcString

func (*ApplicationTLSKeyAddReply) GetCrcString() string

func (*ApplicationTLSKeyAddReply) GetMessageName

func (*ApplicationTLSKeyAddReply) GetMessageName() string

func (*ApplicationTLSKeyAddReply) GetMessageType

func (*ApplicationTLSKeyAddReply) GetMessageType() api.MessageType

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 the VPP binary API message 'bind_sock'.

"bind_sock",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "wrk_index"
],
[
    "u32",
    "vrf"
],
[
    "u8",
    "is_ip4"
],
[
    "u8",
    "ip",
    16
],
[
    "u16",
    "port"
],
[
    "u8",
    "proto"
],
[
    "u64",
    "options",
    16
],
{
    "crc": "0x0394633f"
}

func (*BindSock) GetCrcString

func (*BindSock) GetCrcString() string

func (*BindSock) GetMessageName

func (*BindSock) GetMessageName() string

func (*BindSock) GetMessageType

func (*BindSock) GetMessageType() api.MessageType

type BindSockReply

type BindSockReply struct {
	Handle            uint64
	Retval            int32
	LclIsIP4          uint8
	LclIP             []byte `struc:"[16]byte"`
	LclPort           uint16
	RxFifo            uint64
	TxFifo            uint64
	VppEvtQ           uint64
	SegmentSize       uint32
	SegmentNameLength uint8
	SegmentName       []byte `struc:"[128]byte"`
}

BindSockReply represents the VPP binary API message 'bind_sock_reply'.

"bind_sock_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u64",
    "handle"
],
[
    "i32",
    "retval"
],
[
    "u8",
    "lcl_is_ip4"
],
[
    "u8",
    "lcl_ip",
    16
],
[
    "u16",
    "lcl_port"
],
[
    "u64",
    "rx_fifo"
],
[
    "u64",
    "tx_fifo"
],
[
    "u64",
    "vpp_evt_q"
],
[
    "u32",
    "segment_size"
],
[
    "u8",
    "segment_name_length"
],
[
    "u8",
    "segment_name",
    128
],
{
    "crc": "0x5ca8f50a"
}

func (*BindSockReply) GetCrcString

func (*BindSockReply) GetCrcString() string

func (*BindSockReply) GetMessageName

func (*BindSockReply) GetMessageName() string

func (*BindSockReply) GetMessageType

func (*BindSockReply) GetMessageType() api.MessageType

type BindURI

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

BindURI represents the VPP binary API message 'bind_uri'.

"bind_uri",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "accept_cookie"
],
[
    "u8",
    "uri",
    128
],
{
    "crc": "0xfae140cb"
}

func (*BindURI) GetCrcString

func (*BindURI) GetCrcString() string

func (*BindURI) GetMessageName

func (*BindURI) GetMessageName() string

func (*BindURI) GetMessageType

func (*BindURI) GetMessageType() api.MessageType

type BindURIReply

type BindURIReply struct {
	Handle   uint64
	Retval   int32
	RxFifo   uint64
	TxFifo   uint64
	LclIsIP4 uint8
	LclIP    []byte `struc:"[16]byte"`
	LclPort  uint16
	VppEvtQ  uint64
}

BindURIReply represents the VPP binary API message 'bind_uri_reply'.

"bind_uri_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u64",
    "handle"
],
[
    "i32",
    "retval"
],
[
    "u64",
    "rx_fifo"
],
[
    "u64",
    "tx_fifo"
],
[
    "u8",
    "lcl_is_ip4"
],
[
    "u8",
    "lcl_ip",
    16
],
[
    "u16",
    "lcl_port"
],
[
    "u64",
    "vpp_evt_q"
],
{
    "crc": "0x528af6c0"
}

func (*BindURIReply) GetCrcString

func (*BindURIReply) GetCrcString() string

func (*BindURIReply) GetMessageName

func (*BindURIReply) GetMessageName() string

func (*BindURIReply) GetMessageType

func (*BindURIReply) GetMessageType() api.MessageType

type ConnectSession

type ConnectSession struct{}

ConnectSession represents the VPP binary API message 'connect_session'.

"connect_session",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
{
    "crc": "0x51077d14"
}

func (*ConnectSession) GetCrcString

func (*ConnectSession) GetCrcString() string

func (*ConnectSession) GetMessageName

func (*ConnectSession) GetMessageName() string

func (*ConnectSession) GetMessageType

func (*ConnectSession) GetMessageType() api.MessageType

type ConnectSessionReply

type ConnectSessionReply struct {
	Retval                  int32
	Handle                  uint64
	ServerRxFifo            uint64
	ServerTxFifo            uint64
	VppEventQueueAddress    uint64
	ClientEventQueueAddress uint64
	SegmentSize             uint32
	SegmentNameLength       uint8
	SegmentName             []byte `struc:"[128]byte"`
	LclIP                   []byte `struc:"[16]byte"`
	IsIP4                   uint8
	LclPort                 uint16
}

ConnectSessionReply represents the VPP binary API message 'connect_session_reply'.

"connect_session_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
[
    "u64",
    "handle"
],
[
    "u64",
    "server_rx_fifo"
],
[
    "u64",
    "server_tx_fifo"
],
[
    "u64",
    "vpp_event_queue_address"
],
[
    "u64",
    "client_event_queue_address"
],
[
    "u32",
    "segment_size"
],
[
    "u8",
    "segment_name_length"
],
[
    "u8",
    "segment_name",
    128
],
[
    "u8",
    "lcl_ip",
    16
],
[
    "u8",
    "is_ip4"
],
[
    "u16",
    "lcl_port"
],
{
    "crc": "0xfad9041d"
}

func (*ConnectSessionReply) GetCrcString

func (*ConnectSessionReply) GetCrcString() string

func (*ConnectSessionReply) GetMessageName

func (*ConnectSessionReply) GetMessageName() string

func (*ConnectSessionReply) GetMessageType

func (*ConnectSessionReply) GetMessageType() api.MessageType

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
	HostnameLen        uint8 `struc:"sizeof=Hostname"`
	Hostname           []byte
}

ConnectSock represents the VPP binary API message 'connect_sock'.

"connect_sock",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "wrk_index"
],
[
    "u64",
    "client_queue_address"
],
[
    "u64",
    "options",
    16
],
[
    "u32",
    "vrf"
],
[
    "u8",
    "is_ip4"
],
[
    "u8",
    "ip",
    16
],
[
    "u16",
    "port"
],
[
    "u8",
    "proto"
],
[
    "u8",
    "hostname_len"
],
[
    "u8",
    "hostname",
    0,
    "hostname_len"
],
{
    "crc": "0xa916aa77"
}

func (*ConnectSock) GetCrcString

func (*ConnectSock) GetCrcString() string

func (*ConnectSock) GetMessageName

func (*ConnectSock) GetMessageName() string

func (*ConnectSock) GetMessageType

func (*ConnectSock) GetMessageType() api.MessageType

type ConnectSockReply

type ConnectSockReply struct {
	Retval int32
}

ConnectSockReply represents the VPP binary API message 'connect_sock_reply'.

"connect_sock_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*ConnectSockReply) GetCrcString

func (*ConnectSockReply) GetCrcString() string

func (*ConnectSockReply) GetMessageName

func (*ConnectSockReply) GetMessageName() string

func (*ConnectSockReply) GetMessageType

func (*ConnectSockReply) GetMessageType() api.MessageType

type ConnectURI

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

ConnectURI represents the VPP binary API message 'connect_uri'.

"connect_uri",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u64",
    "client_queue_address"
],
[
    "u64",
    "options",
    16
],
[
    "u8",
    "uri",
    128
],
{
    "crc": "0xa36143d6"
}

func (*ConnectURI) GetCrcString

func (*ConnectURI) GetCrcString() string

func (*ConnectURI) GetMessageName

func (*ConnectURI) GetMessageName() string

func (*ConnectURI) GetMessageType

func (*ConnectURI) GetMessageType() api.MessageType

type ConnectURIReply

type ConnectURIReply struct {
	Retval int32
}

ConnectURIReply represents the VPP binary API message 'connect_uri_reply'.

"connect_uri_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*ConnectURIReply) GetCrcString

func (*ConnectURIReply) GetCrcString() string

func (*ConnectURIReply) GetMessageName

func (*ConnectURIReply) GetMessageName() string

func (*ConnectURIReply) GetMessageType

func (*ConnectURIReply) GetMessageType() api.MessageType

type DisconnectSession

type DisconnectSession struct {
	Handle uint64
}

DisconnectSession represents the VPP binary API message 'disconnect_session'.

"disconnect_session",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u64",
    "handle"
],
{
    "crc": "0x7279205b"
}

func (*DisconnectSession) GetCrcString

func (*DisconnectSession) GetCrcString() string

func (*DisconnectSession) GetMessageName

func (*DisconnectSession) GetMessageName() string

func (*DisconnectSession) GetMessageType

func (*DisconnectSession) GetMessageType() api.MessageType

type DisconnectSessionReply

type DisconnectSessionReply struct {
	Retval int32
	Handle uint64
}

DisconnectSessionReply represents the VPP binary API message 'disconnect_session_reply'.

"disconnect_session_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
[
    "u64",
    "handle"
],
{
    "crc": "0xd6960a03"
}

func (*DisconnectSessionReply) GetCrcString

func (*DisconnectSessionReply) GetCrcString() string

func (*DisconnectSessionReply) GetMessageName

func (*DisconnectSessionReply) GetMessageName() string

func (*DisconnectSessionReply) GetMessageType

func (*DisconnectSessionReply) GetMessageType() api.MessageType

type MapAnotherSegment

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

MapAnotherSegment represents the VPP binary API message 'map_another_segment'.

"map_another_segment",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "fd_flags"
],
[
    "u32",
    "segment_size"
],
[
    "u8",
    "segment_name",
    128
],
[
    "u64",
    "segment_handle"
],
{
    "crc": "0xdc2d630b"
}

func (*MapAnotherSegment) GetCrcString

func (*MapAnotherSegment) GetCrcString() string

func (*MapAnotherSegment) GetMessageName

func (*MapAnotherSegment) GetMessageName() string

func (*MapAnotherSegment) GetMessageType

func (*MapAnotherSegment) GetMessageType() api.MessageType

type MapAnotherSegmentReply

type MapAnotherSegmentReply struct {
	Retval int32
}

MapAnotherSegmentReply represents the VPP binary API message 'map_another_segment_reply'.

"map_another_segment_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*MapAnotherSegmentReply) GetCrcString

func (*MapAnotherSegmentReply) GetCrcString() string

func (*MapAnotherSegmentReply) GetMessageName

func (*MapAnotherSegmentReply) GetMessageName() string

func (*MapAnotherSegmentReply) GetMessageType

func (*MapAnotherSegmentReply) GetMessageType() api.MessageType

type ResetSession

type ResetSession struct {
	Handle uint64
}

ResetSession represents the VPP binary API message 'reset_session'.

"reset_session",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u64",
    "handle"
],
{
    "crc": "0x7279205b"
}

func (*ResetSession) GetCrcString

func (*ResetSession) GetCrcString() string

func (*ResetSession) GetMessageName

func (*ResetSession) GetMessageName() string

func (*ResetSession) GetMessageType

func (*ResetSession) GetMessageType() api.MessageType

type ResetSessionReply

type ResetSessionReply struct {
	Retval int32
	Handle uint64
}

ResetSessionReply represents the VPP binary API message 'reset_session_reply'.

"reset_session_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
[
    "u64",
    "handle"
],
{
    "crc": "0xd6960a03"
}

func (*ResetSessionReply) GetCrcString

func (*ResetSessionReply) GetCrcString() string

func (*ResetSessionReply) GetMessageName

func (*ResetSessionReply) GetMessageName() string

func (*ResetSessionReply) GetMessageType

func (*ResetSessionReply) GetMessageType() api.MessageType

type Services added in v1.8.1

type SessionEnableDisable

type SessionEnableDisable struct {
	IsEnable uint8
}

SessionEnableDisable represents the VPP binary API message 'session_enable_disable'.

"session_enable_disable",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "is_enable"
],
{
    "crc": "0x30ac9be7"
}

func (*SessionEnableDisable) GetCrcString

func (*SessionEnableDisable) GetCrcString() string

func (*SessionEnableDisable) GetMessageName

func (*SessionEnableDisable) GetMessageName() string

func (*SessionEnableDisable) GetMessageType

func (*SessionEnableDisable) GetMessageType() api.MessageType

type SessionEnableDisableReply

type SessionEnableDisableReply struct {
	Retval int32
}

SessionEnableDisableReply represents the VPP binary API message 'session_enable_disable_reply'.

"session_enable_disable_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*SessionEnableDisableReply) GetCrcString

func (*SessionEnableDisableReply) GetCrcString() string

func (*SessionEnableDisableReply) GetMessageName

func (*SessionEnableDisableReply) GetMessageName() string

func (*SessionEnableDisableReply) GetMessageType

func (*SessionEnableDisableReply) GetMessageType() api.MessageType

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 the VPP binary API message 'session_rule_add_del'.

"session_rule_add_del",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "transport_proto"
],
[
    "u8",
    "is_ip4"
],
[
    "u8",
    "lcl_ip",
    16
],
[
    "u8",
    "lcl_plen"
],
[
    "u8",
    "rmt_ip",
    16
],
[
    "u8",
    "rmt_plen"
],
[
    "u16",
    "lcl_port"
],
[
    "u16",
    "rmt_port"
],
[
    "u32",
    "action_index"
],
[
    "u8",
    "is_add"
],
[
    "u32",
    "appns_index"
],
[
    "u8",
    "scope"
],
[
    "u8",
    "tag",
    64
],
{
    "crc": "0x4ab2eb06"
}

func (*SessionRuleAddDel) GetCrcString

func (*SessionRuleAddDel) GetCrcString() string

func (*SessionRuleAddDel) GetMessageName

func (*SessionRuleAddDel) GetMessageName() string

func (*SessionRuleAddDel) GetMessageType

func (*SessionRuleAddDel) GetMessageType() api.MessageType

type SessionRuleAddDelReply

type SessionRuleAddDelReply struct {
	Retval int32
}

SessionRuleAddDelReply represents the VPP binary API message 'session_rule_add_del_reply'.

"session_rule_add_del_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*SessionRuleAddDelReply) GetCrcString

func (*SessionRuleAddDelReply) GetCrcString() string

func (*SessionRuleAddDelReply) GetMessageName

func (*SessionRuleAddDelReply) GetMessageName() string

func (*SessionRuleAddDelReply) GetMessageType

func (*SessionRuleAddDelReply) GetMessageType() api.MessageType

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 the VPP binary API message 'session_rules_details'.

"session_rules_details",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "u8",
    "transport_proto"
],
[
    "u8",
    "is_ip4"
],
[
    "u8",
    "lcl_ip",
    16
],
[
    "u8",
    "lcl_plen"
],
[
    "u8",
    "rmt_ip",
    16
],
[
    "u8",
    "rmt_plen"
],
[
    "u16",
    "lcl_port"
],
[
    "u16",
    "rmt_port"
],
[
    "u32",
    "action_index"
],
[
    "u32",
    "appns_index"
],
[
    "u8",
    "scope"
],
[
    "u8",
    "tag",
    64
],
{
    "crc": "0xa52b0e96"
}

func (*SessionRulesDetails) GetCrcString

func (*SessionRulesDetails) GetCrcString() string

func (*SessionRulesDetails) GetMessageName

func (*SessionRulesDetails) GetMessageName() string

func (*SessionRulesDetails) GetMessageType

func (*SessionRulesDetails) GetMessageType() api.MessageType

type SessionRulesDump

type SessionRulesDump struct{}

SessionRulesDump represents the VPP binary API message 'session_rules_dump'.

"session_rules_dump",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
{
    "crc": "0x51077d14"
}

func (*SessionRulesDump) GetCrcString

func (*SessionRulesDump) GetCrcString() string

func (*SessionRulesDump) GetMessageName

func (*SessionRulesDump) GetMessageName() string

func (*SessionRulesDump) GetMessageType

func (*SessionRulesDump) GetMessageType() api.MessageType

type UnbindSock

type UnbindSock struct {
	WrkIndex uint32
	Handle   uint64
}

UnbindSock represents the VPP binary API message 'unbind_sock'.

"unbind_sock",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u32",
    "wrk_index"
],
[
    "u64",
    "handle"
],
{
    "crc": "0x08880908"
}

func (*UnbindSock) GetCrcString

func (*UnbindSock) GetCrcString() string

func (*UnbindSock) GetMessageName

func (*UnbindSock) GetMessageName() string

func (*UnbindSock) GetMessageType

func (*UnbindSock) GetMessageType() api.MessageType

type UnbindSockReply

type UnbindSockReply struct {
	Retval int32
}

UnbindSockReply represents the VPP binary API message 'unbind_sock_reply'.

"unbind_sock_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*UnbindSockReply) GetCrcString

func (*UnbindSockReply) GetCrcString() string

func (*UnbindSockReply) GetMessageName

func (*UnbindSockReply) GetMessageName() string

func (*UnbindSockReply) GetMessageType

func (*UnbindSockReply) GetMessageType() api.MessageType

type UnbindURI

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

UnbindURI represents the VPP binary API message 'unbind_uri'.

"unbind_uri",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u8",
    "uri",
    128
],
{
    "crc": "0x294cf07d"
}

func (*UnbindURI) GetCrcString

func (*UnbindURI) GetCrcString() string

func (*UnbindURI) GetMessageName

func (*UnbindURI) GetMessageName() string

func (*UnbindURI) GetMessageType

func (*UnbindURI) GetMessageType() api.MessageType

type UnbindURIReply

type UnbindURIReply struct {
	Retval int32
}

UnbindURIReply represents the VPP binary API message 'unbind_uri_reply'.

"unbind_uri_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*UnbindURIReply) GetCrcString

func (*UnbindURIReply) GetCrcString() string

func (*UnbindURIReply) GetMessageName

func (*UnbindURIReply) GetMessageName() string

func (*UnbindURIReply) GetMessageType

func (*UnbindURIReply) GetMessageType() api.MessageType

type UnmapSegment

type UnmapSegment struct {
	SegmentHandle uint64
}

UnmapSegment represents the VPP binary API message 'unmap_segment'.

"unmap_segment",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "client_index"
],
[
    "u32",
    "context"
],
[
    "u64",
    "segment_handle"
],
{
    "crc": "0xf77096f6"
}

func (*UnmapSegment) GetCrcString

func (*UnmapSegment) GetCrcString() string

func (*UnmapSegment) GetMessageName

func (*UnmapSegment) GetMessageName() string

func (*UnmapSegment) GetMessageType

func (*UnmapSegment) GetMessageType() api.MessageType

type UnmapSegmentReply

type UnmapSegmentReply struct {
	Retval int32
}

UnmapSegmentReply represents the VPP binary API message 'unmap_segment_reply'.

"unmap_segment_reply",
[
    "u16",
    "_vl_msg_id"
],
[
    "u32",
    "context"
],
[
    "i32",
    "retval"
],
{
    "crc": "0xe8d4e804"
}

func (*UnmapSegmentReply) GetCrcString

func (*UnmapSegmentReply) GetCrcString() string

func (*UnmapSegmentReply) GetMessageName

func (*UnmapSegmentReply) GetMessageName() string

func (*UnmapSegmentReply) GetMessageType

func (*UnmapSegmentReply) GetMessageType() api.MessageType

Jump to

Keyboard shortcuts

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