Documentation
¶
Overview ¶
Package session contains generated bindings for API file session.api.
Contents:
44 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type AppAddCertKeyPair
- func (*AppAddCertKeyPair) GetCrcString() string
- func (*AppAddCertKeyPair) GetMessageName() string
- func (*AppAddCertKeyPair) GetMessageType() api.MessageType
- func (m *AppAddCertKeyPair) Marshal(b []byte) ([]byte, error)
- func (m *AppAddCertKeyPair) Reset()
- func (m *AppAddCertKeyPair) Size() (size int)
- func (m *AppAddCertKeyPair) Unmarshal(b []byte) error
- type AppAddCertKeyPairReply
- func (*AppAddCertKeyPairReply) GetCrcString() string
- func (*AppAddCertKeyPairReply) GetMessageName() string
- func (*AppAddCertKeyPairReply) GetMessageType() api.MessageType
- func (m *AppAddCertKeyPairReply) Marshal(b []byte) ([]byte, error)
- func (m *AppAddCertKeyPairReply) Reset()
- func (m *AppAddCertKeyPairReply) Size() (size int)
- func (m *AppAddCertKeyPairReply) Unmarshal(b []byte) error
- type AppAttach
- type AppAttachReply
- func (*AppAttachReply) GetCrcString() string
- func (*AppAttachReply) GetMessageName() string
- func (*AppAttachReply) GetMessageType() api.MessageType
- func (m *AppAttachReply) Marshal(b []byte) ([]byte, error)
- func (m *AppAttachReply) Reset()
- func (m *AppAttachReply) Size() (size int)
- func (m *AppAttachReply) Unmarshal(b []byte) error
- type AppCutThroughRegistrationAdd
- func (*AppCutThroughRegistrationAdd) GetCrcString() string
- func (*AppCutThroughRegistrationAdd) GetMessageName() string
- func (*AppCutThroughRegistrationAdd) GetMessageType() api.MessageType
- func (m *AppCutThroughRegistrationAdd) Marshal(b []byte) ([]byte, error)
- func (m *AppCutThroughRegistrationAdd) Reset()
- func (m *AppCutThroughRegistrationAdd) Size() (size int)
- func (m *AppCutThroughRegistrationAdd) Unmarshal(b []byte) error
- type AppCutThroughRegistrationAddReply
- func (*AppCutThroughRegistrationAddReply) GetCrcString() string
- func (*AppCutThroughRegistrationAddReply) GetMessageName() string
- func (*AppCutThroughRegistrationAddReply) GetMessageType() api.MessageType
- func (m *AppCutThroughRegistrationAddReply) Marshal(b []byte) ([]byte, error)
- func (m *AppCutThroughRegistrationAddReply) Reset()
- func (m *AppCutThroughRegistrationAddReply) Size() (size int)
- func (m *AppCutThroughRegistrationAddReply) Unmarshal(b []byte) error
- type AppDelCertKeyPair
- func (*AppDelCertKeyPair) GetCrcString() string
- func (*AppDelCertKeyPair) GetMessageName() string
- func (*AppDelCertKeyPair) GetMessageType() api.MessageType
- func (m *AppDelCertKeyPair) Marshal(b []byte) ([]byte, error)
- func (m *AppDelCertKeyPair) Reset()
- func (m *AppDelCertKeyPair) Size() (size int)
- func (m *AppDelCertKeyPair) Unmarshal(b []byte) error
- type AppDelCertKeyPairReply
- func (*AppDelCertKeyPairReply) GetCrcString() string
- func (*AppDelCertKeyPairReply) GetMessageName() string
- func (*AppDelCertKeyPairReply) GetMessageType() api.MessageType
- func (m *AppDelCertKeyPairReply) Marshal(b []byte) ([]byte, error)
- func (m *AppDelCertKeyPairReply) Reset()
- func (m *AppDelCertKeyPairReply) Size() (size int)
- func (m *AppDelCertKeyPairReply) Unmarshal(b []byte) error
- type AppNamespaceAddDel
- func (*AppNamespaceAddDel) GetCrcString() string
- func (*AppNamespaceAddDel) GetMessageName() string
- func (*AppNamespaceAddDel) GetMessageType() api.MessageType
- func (m *AppNamespaceAddDel) Marshal(b []byte) ([]byte, error)
- func (m *AppNamespaceAddDel) Reset()
- func (m *AppNamespaceAddDel) Size() (size int)
- func (m *AppNamespaceAddDel) Unmarshal(b []byte) error
- type AppNamespaceAddDelReply
- func (*AppNamespaceAddDelReply) GetCrcString() string
- func (*AppNamespaceAddDelReply) GetMessageName() string
- func (*AppNamespaceAddDelReply) GetMessageType() api.MessageType
- func (m *AppNamespaceAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *AppNamespaceAddDelReply) Reset()
- func (m *AppNamespaceAddDelReply) Size() (size int)
- func (m *AppNamespaceAddDelReply) Unmarshal(b []byte) error
- type AppWorkerAddDel
- func (*AppWorkerAddDel) GetCrcString() string
- func (*AppWorkerAddDel) GetMessageName() string
- func (*AppWorkerAddDel) GetMessageType() api.MessageType
- func (m *AppWorkerAddDel) Marshal(b []byte) ([]byte, error)
- func (m *AppWorkerAddDel) Reset()
- func (m *AppWorkerAddDel) Size() (size int)
- func (m *AppWorkerAddDel) Unmarshal(b []byte) error
- type AppWorkerAddDelReply
- func (*AppWorkerAddDelReply) GetCrcString() string
- func (*AppWorkerAddDelReply) GetMessageName() string
- func (*AppWorkerAddDelReply) GetMessageType() api.MessageType
- func (m *AppWorkerAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *AppWorkerAddDelReply) Reset()
- func (m *AppWorkerAddDelReply) Size() (size int)
- func (m *AppWorkerAddDelReply) Unmarshal(b []byte) error
- type ApplicationAttach
- func (*ApplicationAttach) GetCrcString() string
- func (*ApplicationAttach) GetMessageName() string
- func (*ApplicationAttach) GetMessageType() api.MessageType
- func (m *ApplicationAttach) Marshal(b []byte) ([]byte, error)
- func (m *ApplicationAttach) Reset()
- func (m *ApplicationAttach) Size() (size int)
- func (m *ApplicationAttach) Unmarshal(b []byte) error
- type ApplicationAttachReply
- func (*ApplicationAttachReply) GetCrcString() string
- func (*ApplicationAttachReply) GetMessageName() string
- func (*ApplicationAttachReply) GetMessageType() api.MessageType
- func (m *ApplicationAttachReply) Marshal(b []byte) ([]byte, error)
- func (m *ApplicationAttachReply) Reset()
- func (m *ApplicationAttachReply) Size() (size int)
- func (m *ApplicationAttachReply) Unmarshal(b []byte) error
- type ApplicationDetach
- func (*ApplicationDetach) GetCrcString() string
- func (*ApplicationDetach) GetMessageName() string
- func (*ApplicationDetach) GetMessageType() api.MessageType
- func (m *ApplicationDetach) Marshal(b []byte) ([]byte, error)
- func (m *ApplicationDetach) Reset()
- func (m *ApplicationDetach) Size() (size int)
- func (m *ApplicationDetach) Unmarshal(b []byte) error
- type ApplicationDetachReply
- func (*ApplicationDetachReply) GetCrcString() string
- func (*ApplicationDetachReply) GetMessageName() string
- func (*ApplicationDetachReply) GetMessageType() api.MessageType
- func (m *ApplicationDetachReply) Marshal(b []byte) ([]byte, error)
- func (m *ApplicationDetachReply) Reset()
- func (m *ApplicationDetachReply) Size() (size int)
- func (m *ApplicationDetachReply) Unmarshal(b []byte) error
- type ApplicationTLSCertAdd
- func (*ApplicationTLSCertAdd) GetCrcString() string
- func (*ApplicationTLSCertAdd) GetMessageName() string
- func (*ApplicationTLSCertAdd) GetMessageType() api.MessageType
- func (m *ApplicationTLSCertAdd) Marshal(b []byte) ([]byte, error)
- func (m *ApplicationTLSCertAdd) Reset()
- func (m *ApplicationTLSCertAdd) Size() (size int)
- func (m *ApplicationTLSCertAdd) Unmarshal(b []byte) error
- type ApplicationTLSCertAddReply
- func (*ApplicationTLSCertAddReply) GetCrcString() string
- func (*ApplicationTLSCertAddReply) GetMessageName() string
- func (*ApplicationTLSCertAddReply) GetMessageType() api.MessageType
- func (m *ApplicationTLSCertAddReply) Marshal(b []byte) ([]byte, error)
- func (m *ApplicationTLSCertAddReply) Reset()
- func (m *ApplicationTLSCertAddReply) Size() (size int)
- func (m *ApplicationTLSCertAddReply) Unmarshal(b []byte) error
- type ApplicationTLSKeyAdd
- func (*ApplicationTLSKeyAdd) GetCrcString() string
- func (*ApplicationTLSKeyAdd) GetMessageName() string
- func (*ApplicationTLSKeyAdd) GetMessageType() api.MessageType
- func (m *ApplicationTLSKeyAdd) Marshal(b []byte) ([]byte, error)
- func (m *ApplicationTLSKeyAdd) Reset()
- func (m *ApplicationTLSKeyAdd) Size() (size int)
- func (m *ApplicationTLSKeyAdd) Unmarshal(b []byte) error
- type ApplicationTLSKeyAddReply
- func (*ApplicationTLSKeyAddReply) GetCrcString() string
- func (*ApplicationTLSKeyAddReply) GetMessageName() string
- func (*ApplicationTLSKeyAddReply) GetMessageType() api.MessageType
- func (m *ApplicationTLSKeyAddReply) Marshal(b []byte) ([]byte, error)
- func (m *ApplicationTLSKeyAddReply) Reset()
- func (m *ApplicationTLSKeyAddReply) Size() (size int)
- func (m *ApplicationTLSKeyAddReply) Unmarshal(b []byte) error
- type BindSock
- type BindSockReply
- func (*BindSockReply) GetCrcString() string
- func (*BindSockReply) GetMessageName() string
- func (*BindSockReply) GetMessageType() api.MessageType
- func (m *BindSockReply) Marshal(b []byte) ([]byte, error)
- func (m *BindSockReply) Reset()
- func (m *BindSockReply) Size() (size int)
- func (m *BindSockReply) Unmarshal(b []byte) error
- type BindURI
- type BindURIReply
- func (*BindURIReply) GetCrcString() string
- func (*BindURIReply) GetMessageName() string
- func (*BindURIReply) GetMessageType() api.MessageType
- func (m *BindURIReply) Marshal(b []byte) ([]byte, error)
- func (m *BindURIReply) Reset()
- func (m *BindURIReply) Size() (size int)
- func (m *BindURIReply) Unmarshal(b []byte) error
- type ConnectSock
- func (*ConnectSock) GetCrcString() string
- func (*ConnectSock) GetMessageName() string
- func (*ConnectSock) GetMessageType() api.MessageType
- func (m *ConnectSock) Marshal(b []byte) ([]byte, error)
- func (m *ConnectSock) Reset()
- func (m *ConnectSock) Size() (size int)
- func (m *ConnectSock) Unmarshal(b []byte) error
- type ConnectSockReply
- func (*ConnectSockReply) GetCrcString() string
- func (*ConnectSockReply) GetMessageName() string
- func (*ConnectSockReply) GetMessageType() api.MessageType
- func (m *ConnectSockReply) Marshal(b []byte) ([]byte, error)
- func (m *ConnectSockReply) Reset()
- func (m *ConnectSockReply) Size() (size int)
- func (m *ConnectSockReply) Unmarshal(b []byte) error
- type ConnectURI
- func (*ConnectURI) GetCrcString() string
- func (*ConnectURI) GetMessageName() string
- func (*ConnectURI) GetMessageType() api.MessageType
- func (m *ConnectURI) Marshal(b []byte) ([]byte, error)
- func (m *ConnectURI) Reset()
- func (m *ConnectURI) Size() (size int)
- func (m *ConnectURI) Unmarshal(b []byte) error
- type ConnectURIReply
- func (*ConnectURIReply) GetCrcString() string
- func (*ConnectURIReply) GetMessageName() string
- func (*ConnectURIReply) GetMessageType() api.MessageType
- func (m *ConnectURIReply) Marshal(b []byte) ([]byte, error)
- func (m *ConnectURIReply) Reset()
- func (m *ConnectURIReply) Size() (size int)
- func (m *ConnectURIReply) Unmarshal(b []byte) error
- type DisconnectSession
- func (*DisconnectSession) GetCrcString() string
- func (*DisconnectSession) GetMessageName() string
- func (*DisconnectSession) GetMessageType() api.MessageType
- func (m *DisconnectSession) Marshal(b []byte) ([]byte, error)
- func (m *DisconnectSession) Reset()
- func (m *DisconnectSession) Size() (size int)
- func (m *DisconnectSession) Unmarshal(b []byte) error
- type DisconnectSessionReply
- func (*DisconnectSessionReply) GetCrcString() string
- func (*DisconnectSessionReply) GetMessageName() string
- func (*DisconnectSessionReply) GetMessageType() api.MessageType
- func (m *DisconnectSessionReply) Marshal(b []byte) ([]byte, error)
- func (m *DisconnectSessionReply) Reset()
- func (m *DisconnectSessionReply) Size() (size int)
- func (m *DisconnectSessionReply) Unmarshal(b []byte) error
- type MapAnotherSegment
- func (*MapAnotherSegment) GetCrcString() string
- func (*MapAnotherSegment) GetMessageName() string
- func (*MapAnotherSegment) GetMessageType() api.MessageType
- func (m *MapAnotherSegment) Marshal(b []byte) ([]byte, error)
- func (m *MapAnotherSegment) Reset()
- func (m *MapAnotherSegment) Size() (size int)
- func (m *MapAnotherSegment) Unmarshal(b []byte) error
- type MapAnotherSegmentReply
- func (*MapAnotherSegmentReply) GetCrcString() string
- func (*MapAnotherSegmentReply) GetMessageName() string
- func (*MapAnotherSegmentReply) GetMessageType() api.MessageType
- func (m *MapAnotherSegmentReply) Marshal(b []byte) ([]byte, error)
- func (m *MapAnotherSegmentReply) Reset()
- func (m *MapAnotherSegmentReply) Size() (size int)
- func (m *MapAnotherSegmentReply) Unmarshal(b []byte) error
- type RPCService
- type RPCService_SessionRulesDumpClient
- type SessionEnableDisable
- func (*SessionEnableDisable) GetCrcString() string
- func (*SessionEnableDisable) GetMessageName() string
- func (*SessionEnableDisable) GetMessageType() api.MessageType
- func (m *SessionEnableDisable) Marshal(b []byte) ([]byte, error)
- func (m *SessionEnableDisable) Reset()
- func (m *SessionEnableDisable) Size() (size int)
- func (m *SessionEnableDisable) Unmarshal(b []byte) error
- type SessionEnableDisableReply
- func (*SessionEnableDisableReply) GetCrcString() string
- func (*SessionEnableDisableReply) GetMessageName() string
- func (*SessionEnableDisableReply) GetMessageType() api.MessageType
- func (m *SessionEnableDisableReply) Marshal(b []byte) ([]byte, error)
- func (m *SessionEnableDisableReply) Reset()
- func (m *SessionEnableDisableReply) Size() (size int)
- func (m *SessionEnableDisableReply) Unmarshal(b []byte) error
- type SessionRuleAddDel
- func (*SessionRuleAddDel) GetCrcString() string
- func (*SessionRuleAddDel) GetMessageName() string
- func (*SessionRuleAddDel) GetMessageType() api.MessageType
- func (m *SessionRuleAddDel) Marshal(b []byte) ([]byte, error)
- func (m *SessionRuleAddDel) Reset()
- func (m *SessionRuleAddDel) Size() (size int)
- func (m *SessionRuleAddDel) Unmarshal(b []byte) error
- type SessionRuleAddDelReply
- func (*SessionRuleAddDelReply) GetCrcString() string
- func (*SessionRuleAddDelReply) GetMessageName() string
- func (*SessionRuleAddDelReply) GetMessageType() api.MessageType
- func (m *SessionRuleAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *SessionRuleAddDelReply) Reset()
- func (m *SessionRuleAddDelReply) Size() (size int)
- func (m *SessionRuleAddDelReply) Unmarshal(b []byte) error
- type SessionRulesDetails
- func (*SessionRulesDetails) GetCrcString() string
- func (*SessionRulesDetails) GetMessageName() string
- func (*SessionRulesDetails) GetMessageType() api.MessageType
- func (m *SessionRulesDetails) Marshal(b []byte) ([]byte, error)
- func (m *SessionRulesDetails) Reset()
- func (m *SessionRulesDetails) Size() (size int)
- func (m *SessionRulesDetails) Unmarshal(b []byte) error
- type SessionRulesDump
- func (*SessionRulesDump) GetCrcString() string
- func (*SessionRulesDump) GetMessageName() string
- func (*SessionRulesDump) GetMessageType() api.MessageType
- func (m *SessionRulesDump) Marshal(b []byte) ([]byte, error)
- func (m *SessionRulesDump) Reset()
- func (m *SessionRulesDump) Size() (size int)
- func (m *SessionRulesDump) Unmarshal(b []byte) error
- type UnbindSock
- func (*UnbindSock) GetCrcString() string
- func (*UnbindSock) GetMessageName() string
- func (*UnbindSock) GetMessageType() api.MessageType
- func (m *UnbindSock) Marshal(b []byte) ([]byte, error)
- func (m *UnbindSock) Reset()
- func (m *UnbindSock) Size() (size int)
- func (m *UnbindSock) Unmarshal(b []byte) error
- type UnbindSockReply
- func (*UnbindSockReply) GetCrcString() string
- func (*UnbindSockReply) GetMessageName() string
- func (*UnbindSockReply) GetMessageType() api.MessageType
- func (m *UnbindSockReply) Marshal(b []byte) ([]byte, error)
- func (m *UnbindSockReply) Reset()
- func (m *UnbindSockReply) Size() (size int)
- func (m *UnbindSockReply) Unmarshal(b []byte) error
- type UnbindURI
- type UnbindURIReply
- func (*UnbindURIReply) GetCrcString() string
- func (*UnbindURIReply) GetMessageName() string
- func (*UnbindURIReply) GetMessageType() api.MessageType
- func (m *UnbindURIReply) Marshal(b []byte) ([]byte, error)
- func (m *UnbindURIReply) Reset()
- func (m *UnbindURIReply) Size() (size int)
- func (m *UnbindURIReply) Unmarshal(b []byte) error
- type UnmapSegment
- func (*UnmapSegment) GetCrcString() string
- func (*UnmapSegment) GetMessageName() string
- func (*UnmapSegment) GetMessageType() api.MessageType
- func (m *UnmapSegment) Marshal(b []byte) ([]byte, error)
- func (m *UnmapSegment) Reset()
- func (m *UnmapSegment) Size() (size int)
- func (m *UnmapSegment) Unmarshal(b []byte) error
- type UnmapSegmentReply
- func (*UnmapSegmentReply) GetCrcString() string
- func (*UnmapSegmentReply) GetMessageName() string
- func (*UnmapSegmentReply) GetMessageType() api.MessageType
- func (m *UnmapSegmentReply) Marshal(b []byte) ([]byte, error)
- func (m *UnmapSegmentReply) Reset()
- func (m *UnmapSegmentReply) Size() (size int)
- func (m *UnmapSegmentReply) Unmarshal(b []byte) error
Constants ¶
const ( APIFile = "session" APIVersion = "1.7.0" VersionCrc = 0xdf888b15 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type AppAddCertKeyPair ¶
type AppAddCertKeyPair struct {
CertLen uint16 `binapi:"u16,name=cert_len" json:"cert_len,omitempty"`
CertkeyLen uint16 `binapi:"u16,name=certkey_len" json:"-"`
Certkey []byte `binapi:"u8[certkey_len],name=certkey" json:"certkey,omitempty"`
}
AppAddCertKeyPair defines 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()
func (*AppAddCertKeyPair) Size ¶
func (m *AppAddCertKeyPair) Size() (size int)
func (*AppAddCertKeyPair) Unmarshal ¶
func (m *AppAddCertKeyPair) Unmarshal(b []byte) error
type AppAddCertKeyPairReply ¶
type AppAddCertKeyPairReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
Index uint32 `binapi:"u32,name=index" json:"index,omitempty"`
}
AppAddCertKeyPairReply defines 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) Marshal ¶
func (m *AppAddCertKeyPairReply) Marshal(b []byte) ([]byte, error)
func (*AppAddCertKeyPairReply) Reset ¶
func (m *AppAddCertKeyPairReply) Reset()
func (*AppAddCertKeyPairReply) Size ¶
func (m *AppAddCertKeyPairReply) Size() (size int)
func (*AppAddCertKeyPairReply) Unmarshal ¶
func (m *AppAddCertKeyPairReply) Unmarshal(b []byte) error
type AppAttach ¶
type AppAttach struct {
Options []uint64 `binapi:"u64[16],name=options" json:"options,omitempty"`
NamespaceIDLen uint8 `binapi:"u8,name=namespace_id_len" json:"namespace_id_len,omitempty"`
NamespaceID []byte `binapi:"u8[64],name=namespace_id" json:"namespace_id,omitempty"`
}
AppAttach defines message 'app_attach'.
func (*AppAttach) GetCrcString ¶
func (*AppAttach) GetMessageName ¶
func (*AppAttach) GetMessageType ¶
func (*AppAttach) GetMessageType() api.MessageType
type AppAttachReply ¶
type AppAttachReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
AppMq uint64 `binapi:"u64,name=app_mq" json:"app_mq,omitempty"`
VppCtrlMq uint64 `binapi:"u64,name=vpp_ctrl_mq" json:"vpp_ctrl_mq,omitempty"`
VppCtrlMqThread uint8 `binapi:"u8,name=vpp_ctrl_mq_thread" json:"vpp_ctrl_mq_thread,omitempty"`
AppIndex uint32 `binapi:"u32,name=app_index" json:"app_index,omitempty"`
NFds uint8 `binapi:"u8,name=n_fds" json:"n_fds,omitempty"`
FdFlags uint8 `binapi:"u8,name=fd_flags" json:"fd_flags,omitempty"`
SegmentSize uint32 `binapi:"u32,name=segment_size" json:"segment_size,omitempty"`
SegmentNameLength uint8 `binapi:"u8,name=segment_name_length" json:"segment_name_length,omitempty"`
SegmentName []byte `binapi:"u8[128],name=segment_name" json:"segment_name,omitempty"`
SegmentHandle uint64 `binapi:"u64,name=segment_handle" json:"segment_handle,omitempty"`
}
AppAttachReply defines 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()
func (*AppAttachReply) Size ¶
func (m *AppAttachReply) Size() (size int)
func (*AppAttachReply) Unmarshal ¶
func (m *AppAttachReply) Unmarshal(b []byte) error
type AppCutThroughRegistrationAdd ¶
type AppCutThroughRegistrationAdd struct {
EvtQAddress uint64 `binapi:"u64,name=evt_q_address" json:"evt_q_address,omitempty"`
PeerEvtQAddress uint64 `binapi:"u64,name=peer_evt_q_address" json:"peer_evt_q_address,omitempty"`
WrkIndex uint32 `binapi:"u32,name=wrk_index" json:"wrk_index,omitempty"`
NFds uint8 `binapi:"u8,name=n_fds" json:"n_fds,omitempty"`
FdFlags uint8 `binapi:"u8,name=fd_flags" json:"fd_flags,omitempty"`
}
AppCutThroughRegistrationAdd defines 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) Marshal ¶
func (m *AppCutThroughRegistrationAdd) Marshal(b []byte) ([]byte, error)
func (*AppCutThroughRegistrationAdd) Reset ¶
func (m *AppCutThroughRegistrationAdd) Reset()
func (*AppCutThroughRegistrationAdd) Size ¶
func (m *AppCutThroughRegistrationAdd) Size() (size int)
func (*AppCutThroughRegistrationAdd) Unmarshal ¶
func (m *AppCutThroughRegistrationAdd) Unmarshal(b []byte) error
type AppCutThroughRegistrationAddReply ¶
type AppCutThroughRegistrationAddReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
AppCutThroughRegistrationAddReply defines 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) GetMessageType() api.MessageType
func (*AppCutThroughRegistrationAddReply) Marshal ¶
func (m *AppCutThroughRegistrationAddReply) Marshal(b []byte) ([]byte, error)
func (*AppCutThroughRegistrationAddReply) Reset ¶
func (m *AppCutThroughRegistrationAddReply) Reset()
func (*AppCutThroughRegistrationAddReply) Size ¶
func (m *AppCutThroughRegistrationAddReply) Size() (size int)
func (*AppCutThroughRegistrationAddReply) Unmarshal ¶
func (m *AppCutThroughRegistrationAddReply) Unmarshal(b []byte) error
type AppDelCertKeyPair ¶
type AppDelCertKeyPair struct {
Index uint32 `binapi:"u32,name=index" json:"index,omitempty"`
}
AppDelCertKeyPair defines 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()
func (*AppDelCertKeyPair) Size ¶
func (m *AppDelCertKeyPair) Size() (size int)
func (*AppDelCertKeyPair) Unmarshal ¶
func (m *AppDelCertKeyPair) Unmarshal(b []byte) error
type AppDelCertKeyPairReply ¶
type AppDelCertKeyPairReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
AppDelCertKeyPairReply defines 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) Marshal ¶
func (m *AppDelCertKeyPairReply) Marshal(b []byte) ([]byte, error)
func (*AppDelCertKeyPairReply) Reset ¶
func (m *AppDelCertKeyPairReply) Reset()
func (*AppDelCertKeyPairReply) Size ¶
func (m *AppDelCertKeyPairReply) Size() (size int)
func (*AppDelCertKeyPairReply) Unmarshal ¶
func (m *AppDelCertKeyPairReply) Unmarshal(b []byte) error
type AppNamespaceAddDel ¶
type AppNamespaceAddDel struct {
Secret uint64 `binapi:"u64,name=secret" json:"secret,omitempty"`
SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
IP4FibID uint32 `binapi:"u32,name=ip4_fib_id" json:"ip4_fib_id,omitempty"`
IP6FibID uint32 `binapi:"u32,name=ip6_fib_id" json:"ip6_fib_id,omitempty"`
NamespaceIDLen uint8 `binapi:"u8,name=namespace_id_len" json:"namespace_id_len,omitempty"`
NamespaceID []byte `binapi:"u8[64],name=namespace_id" json:"namespace_id,omitempty"`
}
AppNamespaceAddDel defines 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()
func (*AppNamespaceAddDel) Size ¶
func (m *AppNamespaceAddDel) Size() (size int)
func (*AppNamespaceAddDel) Unmarshal ¶
func (m *AppNamespaceAddDel) Unmarshal(b []byte) error
type AppNamespaceAddDelReply ¶
type AppNamespaceAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
AppnsIndex uint32 `binapi:"u32,name=appns_index" json:"appns_index,omitempty"`
}
AppNamespaceAddDelReply defines 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) Marshal ¶
func (m *AppNamespaceAddDelReply) Marshal(b []byte) ([]byte, error)
func (*AppNamespaceAddDelReply) Reset ¶
func (m *AppNamespaceAddDelReply) Reset()
func (*AppNamespaceAddDelReply) Size ¶
func (m *AppNamespaceAddDelReply) Size() (size int)
func (*AppNamespaceAddDelReply) Unmarshal ¶
func (m *AppNamespaceAddDelReply) Unmarshal(b []byte) error
type AppWorkerAddDel ¶
type AppWorkerAddDel struct {
AppIndex uint32 `binapi:"u32,name=app_index" json:"app_index,omitempty"`
WrkIndex uint32 `binapi:"u32,name=wrk_index" json:"wrk_index,omitempty"`
IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"`
}
AppWorkerAddDel defines 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()
func (*AppWorkerAddDel) Size ¶
func (m *AppWorkerAddDel) Size() (size int)
func (*AppWorkerAddDel) Unmarshal ¶
func (m *AppWorkerAddDel) Unmarshal(b []byte) error
type AppWorkerAddDelReply ¶
type AppWorkerAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
WrkIndex uint32 `binapi:"u32,name=wrk_index" json:"wrk_index,omitempty"`
AppEventQueueAddress uint64 `binapi:"u64,name=app_event_queue_address" json:"app_event_queue_address,omitempty"`
NFds uint8 `binapi:"u8,name=n_fds" json:"n_fds,omitempty"`
FdFlags uint8 `binapi:"u8,name=fd_flags" json:"fd_flags,omitempty"`
SegmentNameLength uint8 `binapi:"u8,name=segment_name_length" json:"segment_name_length,omitempty"`
SegmentName []byte `binapi:"u8[128],name=segment_name" json:"segment_name,omitempty"`
SegmentHandle uint64 `binapi:"u64,name=segment_handle" json:"segment_handle,omitempty"`
IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"`
}
AppWorkerAddDelReply defines 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) Marshal ¶
func (m *AppWorkerAddDelReply) Marshal(b []byte) ([]byte, error)
func (*AppWorkerAddDelReply) Reset ¶
func (m *AppWorkerAddDelReply) Reset()
func (*AppWorkerAddDelReply) Size ¶
func (m *AppWorkerAddDelReply) Size() (size int)
func (*AppWorkerAddDelReply) Unmarshal ¶
func (m *AppWorkerAddDelReply) Unmarshal(b []byte) error
type ApplicationAttach ¶
type ApplicationAttach struct {
InitialSegmentSize uint32 `binapi:"u32,name=initial_segment_size" json:"initial_segment_size,omitempty"`
Options []uint64 `binapi:"u64[16],name=options" json:"options,omitempty"`
NamespaceIDLen uint8 `binapi:"u8,name=namespace_id_len" json:"namespace_id_len,omitempty"`
NamespaceID []byte `binapi:"u8[64],name=namespace_id" json:"namespace_id,omitempty"`
}
ApplicationAttach defines 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()
func (*ApplicationAttach) Size ¶
func (m *ApplicationAttach) Size() (size int)
func (*ApplicationAttach) Unmarshal ¶
func (m *ApplicationAttach) Unmarshal(b []byte) error
type ApplicationAttachReply ¶
type ApplicationAttachReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
AppEventQueueAddress uint64 `binapi:"u64,name=app_event_queue_address" json:"app_event_queue_address,omitempty"`
NFds uint8 `binapi:"u8,name=n_fds" json:"n_fds,omitempty"`
FdFlags uint8 `binapi:"u8,name=fd_flags" json:"fd_flags,omitempty"`
SegmentSize uint32 `binapi:"u32,name=segment_size" json:"segment_size,omitempty"`
SegmentNameLength uint8 `binapi:"u8,name=segment_name_length" json:"segment_name_length,omitempty"`
SegmentName []byte `binapi:"u8[128],name=segment_name" json:"segment_name,omitempty"`
AppIndex uint32 `binapi:"u32,name=app_index" json:"app_index,omitempty"`
SegmentHandle uint64 `binapi:"u64,name=segment_handle" json:"segment_handle,omitempty"`
}
ApplicationAttachReply defines 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) Marshal ¶
func (m *ApplicationAttachReply) Marshal(b []byte) ([]byte, error)
func (*ApplicationAttachReply) Reset ¶
func (m *ApplicationAttachReply) Reset()
func (*ApplicationAttachReply) Size ¶
func (m *ApplicationAttachReply) Size() (size int)
func (*ApplicationAttachReply) Unmarshal ¶
func (m *ApplicationAttachReply) Unmarshal(b []byte) error
type ApplicationDetach ¶
type ApplicationDetach struct{}
ApplicationDetach defines 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()
func (*ApplicationDetach) Size ¶
func (m *ApplicationDetach) Size() (size int)
func (*ApplicationDetach) Unmarshal ¶
func (m *ApplicationDetach) Unmarshal(b []byte) error
type ApplicationDetachReply ¶
type ApplicationDetachReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
ApplicationDetachReply defines 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) Marshal ¶
func (m *ApplicationDetachReply) Marshal(b []byte) ([]byte, error)
func (*ApplicationDetachReply) Reset ¶
func (m *ApplicationDetachReply) Reset()
func (*ApplicationDetachReply) Size ¶
func (m *ApplicationDetachReply) Size() (size int)
func (*ApplicationDetachReply) Unmarshal ¶
func (m *ApplicationDetachReply) Unmarshal(b []byte) error
type ApplicationTLSCertAdd ¶
type ApplicationTLSCertAdd struct {
AppIndex uint32 `binapi:"u32,name=app_index" json:"app_index,omitempty"`
CertLen uint16 `binapi:"u16,name=cert_len" json:"-"`
Cert []byte `binapi:"u8[cert_len],name=cert" json:"cert,omitempty"`
}
ApplicationTLSCertAdd defines 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) Marshal ¶
func (m *ApplicationTLSCertAdd) Marshal(b []byte) ([]byte, error)
func (*ApplicationTLSCertAdd) Reset ¶
func (m *ApplicationTLSCertAdd) Reset()
func (*ApplicationTLSCertAdd) Size ¶
func (m *ApplicationTLSCertAdd) Size() (size int)
func (*ApplicationTLSCertAdd) Unmarshal ¶
func (m *ApplicationTLSCertAdd) Unmarshal(b []byte) error
type ApplicationTLSCertAddReply ¶
type ApplicationTLSCertAddReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
ApplicationTLSCertAddReply defines 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) Marshal ¶
func (m *ApplicationTLSCertAddReply) Marshal(b []byte) ([]byte, error)
func (*ApplicationTLSCertAddReply) Reset ¶
func (m *ApplicationTLSCertAddReply) Reset()
func (*ApplicationTLSCertAddReply) Size ¶
func (m *ApplicationTLSCertAddReply) Size() (size int)
func (*ApplicationTLSCertAddReply) Unmarshal ¶
func (m *ApplicationTLSCertAddReply) Unmarshal(b []byte) error
type ApplicationTLSKeyAdd ¶
type ApplicationTLSKeyAdd struct {
AppIndex uint32 `binapi:"u32,name=app_index" json:"app_index,omitempty"`
KeyLen uint16 `binapi:"u16,name=key_len" json:"-"`
Key []byte `binapi:"u8[key_len],name=key" json:"key,omitempty"`
}
ApplicationTLSKeyAdd defines 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) Marshal ¶
func (m *ApplicationTLSKeyAdd) Marshal(b []byte) ([]byte, error)
func (*ApplicationTLSKeyAdd) Reset ¶
func (m *ApplicationTLSKeyAdd) Reset()
func (*ApplicationTLSKeyAdd) Size ¶
func (m *ApplicationTLSKeyAdd) Size() (size int)
func (*ApplicationTLSKeyAdd) Unmarshal ¶
func (m *ApplicationTLSKeyAdd) Unmarshal(b []byte) error
type ApplicationTLSKeyAddReply ¶
type ApplicationTLSKeyAddReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
ApplicationTLSKeyAddReply defines 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) Marshal ¶
func (m *ApplicationTLSKeyAddReply) Marshal(b []byte) ([]byte, error)
func (*ApplicationTLSKeyAddReply) Reset ¶
func (m *ApplicationTLSKeyAddReply) Reset()
func (*ApplicationTLSKeyAddReply) Size ¶
func (m *ApplicationTLSKeyAddReply) Size() (size int)
func (*ApplicationTLSKeyAddReply) Unmarshal ¶
func (m *ApplicationTLSKeyAddReply) Unmarshal(b []byte) error
type BindSock ¶
type BindSock struct {
WrkIndex uint32 `binapi:"u32,name=wrk_index" json:"wrk_index,omitempty"`
Vrf uint32 `binapi:"u32,name=vrf" json:"vrf,omitempty"`
IsIP4 uint8 `binapi:"u8,name=is_ip4" json:"is_ip4,omitempty"`
IP []byte `binapi:"u8[16],name=ip" json:"ip,omitempty"`
Port uint16 `binapi:"u16,name=port" json:"port,omitempty"`
Proto uint8 `binapi:"u8,name=proto" json:"proto,omitempty"`
Options []uint64 `binapi:"u64[16],name=options" json:"options,omitempty"`
}
BindSock defines message 'bind_sock'.
func (*BindSock) GetCrcString ¶
func (*BindSock) GetMessageName ¶
func (*BindSock) GetMessageType ¶
func (*BindSock) GetMessageType() api.MessageType
type BindSockReply ¶
type BindSockReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BindSockReply defines 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()
func (*BindSockReply) Size ¶
func (m *BindSockReply) Size() (size int)
func (*BindSockReply) Unmarshal ¶
func (m *BindSockReply) Unmarshal(b []byte) error
type BindURI ¶
type BindURI struct {
AcceptCookie uint32 `binapi:"u32,name=accept_cookie" json:"accept_cookie,omitempty"`
URI []byte `binapi:"u8[128],name=uri" json:"uri,omitempty"`
}
BindURI defines message 'bind_uri'.
func (*BindURI) GetCrcString ¶
func (*BindURI) GetMessageName ¶
func (*BindURI) GetMessageType ¶
func (*BindURI) GetMessageType() api.MessageType
type BindURIReply ¶
type BindURIReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BindURIReply defines 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()
func (*BindURIReply) Size ¶
func (m *BindURIReply) Size() (size int)
func (*BindURIReply) Unmarshal ¶
func (m *BindURIReply) Unmarshal(b []byte) error
type ConnectSock ¶
type ConnectSock struct {
WrkIndex uint32 `binapi:"u32,name=wrk_index" json:"wrk_index,omitempty"`
ClientQueueAddress uint64 `binapi:"u64,name=client_queue_address" json:"client_queue_address,omitempty"`
Options []uint64 `binapi:"u64[16],name=options" json:"options,omitempty"`
Vrf uint32 `binapi:"u32,name=vrf" json:"vrf,omitempty"`
IsIP4 uint8 `binapi:"u8,name=is_ip4" json:"is_ip4,omitempty"`
IP []byte `binapi:"u8[16],name=ip" json:"ip,omitempty"`
Port uint16 `binapi:"u16,name=port" json:"port,omitempty"`
Proto uint8 `binapi:"u8,name=proto" json:"proto,omitempty"`
ParentHandle uint64 `binapi:"u64,name=parent_handle" json:"parent_handle,omitempty"`
HostnameLen uint8 `binapi:"u8,name=hostname_len" json:"-"`
Hostname []byte `binapi:"u8[hostname_len],name=hostname" json:"hostname,omitempty"`
}
ConnectSock defines 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()
func (*ConnectSock) Size ¶
func (m *ConnectSock) Size() (size int)
func (*ConnectSock) Unmarshal ¶
func (m *ConnectSock) Unmarshal(b []byte) error
type ConnectSockReply ¶
type ConnectSockReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
ConnectSockReply defines 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()
func (*ConnectSockReply) Size ¶
func (m *ConnectSockReply) Size() (size int)
func (*ConnectSockReply) Unmarshal ¶
func (m *ConnectSockReply) Unmarshal(b []byte) error
type ConnectURI ¶
type ConnectURI struct {
ClientQueueAddress uint64 `binapi:"u64,name=client_queue_address" json:"client_queue_address,omitempty"`
Options []uint64 `binapi:"u64[16],name=options" json:"options,omitempty"`
URI []byte `binapi:"u8[128],name=uri" json:"uri,omitempty"`
}
ConnectURI defines 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()
func (*ConnectURI) Size ¶
func (m *ConnectURI) Size() (size int)
func (*ConnectURI) Unmarshal ¶
func (m *ConnectURI) Unmarshal(b []byte) error
type ConnectURIReply ¶
type ConnectURIReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
ConnectURIReply defines 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()
func (*ConnectURIReply) Size ¶
func (m *ConnectURIReply) Size() (size int)
func (*ConnectURIReply) Unmarshal ¶
func (m *ConnectURIReply) Unmarshal(b []byte) error
type DisconnectSession ¶
type DisconnectSession struct {
Handle uint64 `binapi:"u64,name=handle" json:"handle,omitempty"`
}
DisconnectSession defines 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()
func (*DisconnectSession) Size ¶
func (m *DisconnectSession) Size() (size int)
func (*DisconnectSession) Unmarshal ¶
func (m *DisconnectSession) Unmarshal(b []byte) error
type DisconnectSessionReply ¶
type DisconnectSessionReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
Handle uint64 `binapi:"u64,name=handle" json:"handle,omitempty"`
}
DisconnectSessionReply defines 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) Marshal ¶
func (m *DisconnectSessionReply) Marshal(b []byte) ([]byte, error)
func (*DisconnectSessionReply) Reset ¶
func (m *DisconnectSessionReply) Reset()
func (*DisconnectSessionReply) Size ¶
func (m *DisconnectSessionReply) Size() (size int)
func (*DisconnectSessionReply) Unmarshal ¶
func (m *DisconnectSessionReply) Unmarshal(b []byte) error
type MapAnotherSegment ¶
type MapAnotherSegment struct {
FdFlags uint8 `binapi:"u8,name=fd_flags" json:"fd_flags,omitempty"`
SegmentSize uint32 `binapi:"u32,name=segment_size" json:"segment_size,omitempty"`
SegmentName []byte `binapi:"u8[128],name=segment_name" json:"segment_name,omitempty"`
SegmentHandle uint64 `binapi:"u64,name=segment_handle" json:"segment_handle,omitempty"`
}
MapAnotherSegment defines 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()
func (*MapAnotherSegment) Size ¶
func (m *MapAnotherSegment) Size() (size int)
func (*MapAnotherSegment) Unmarshal ¶
func (m *MapAnotherSegment) Unmarshal(b []byte) error
type MapAnotherSegmentReply ¶
type MapAnotherSegmentReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
MapAnotherSegmentReply defines 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) Marshal ¶
func (m *MapAnotherSegmentReply) Marshal(b []byte) ([]byte, error)
func (*MapAnotherSegmentReply) Reset ¶
func (m *MapAnotherSegmentReply) Reset()
func (*MapAnotherSegmentReply) Size ¶
func (m *MapAnotherSegmentReply) Size() (size int)
func (*MapAnotherSegmentReply) Unmarshal ¶
func (m *MapAnotherSegmentReply) Unmarshal(b []byte) error
type RPCService ¶
type RPCService interface {
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)
SessionRulesDump(ctx context.Context, in *SessionRulesDump) (RPCService_SessionRulesDumpClient, 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 defines RPC service session.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_SessionRulesDumpClient ¶
type RPCService_SessionRulesDumpClient interface {
Recv() (*SessionRulesDetails, error)
api.Stream
}
type SessionEnableDisable ¶
type SessionEnableDisable struct {
IsEnable uint8 `binapi:"u8,name=is_enable" json:"is_enable,omitempty"`
}
SessionEnableDisable defines 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) Marshal ¶
func (m *SessionEnableDisable) Marshal(b []byte) ([]byte, error)
func (*SessionEnableDisable) Reset ¶
func (m *SessionEnableDisable) Reset()
func (*SessionEnableDisable) Size ¶
func (m *SessionEnableDisable) Size() (size int)
func (*SessionEnableDisable) Unmarshal ¶
func (m *SessionEnableDisable) Unmarshal(b []byte) error
type SessionEnableDisableReply ¶
type SessionEnableDisableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SessionEnableDisableReply defines 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) Marshal ¶
func (m *SessionEnableDisableReply) Marshal(b []byte) ([]byte, error)
func (*SessionEnableDisableReply) Reset ¶
func (m *SessionEnableDisableReply) Reset()
func (*SessionEnableDisableReply) Size ¶
func (m *SessionEnableDisableReply) Size() (size int)
func (*SessionEnableDisableReply) Unmarshal ¶
func (m *SessionEnableDisableReply) Unmarshal(b []byte) error
type SessionRuleAddDel ¶
type SessionRuleAddDel struct {
TransportProto uint8 `binapi:"u8,name=transport_proto" json:"transport_proto,omitempty"`
IsIP4 uint8 `binapi:"u8,name=is_ip4" json:"is_ip4,omitempty"`
LclIP []byte `binapi:"u8[16],name=lcl_ip" json:"lcl_ip,omitempty"`
LclPlen uint8 `binapi:"u8,name=lcl_plen" json:"lcl_plen,omitempty"`
RmtIP []byte `binapi:"u8[16],name=rmt_ip" json:"rmt_ip,omitempty"`
RmtPlen uint8 `binapi:"u8,name=rmt_plen" json:"rmt_plen,omitempty"`
LclPort uint16 `binapi:"u16,name=lcl_port" json:"lcl_port,omitempty"`
RmtPort uint16 `binapi:"u16,name=rmt_port" json:"rmt_port,omitempty"`
ActionIndex uint32 `binapi:"u32,name=action_index" json:"action_index,omitempty"`
IsAdd uint8 `binapi:"u8,name=is_add" json:"is_add,omitempty"`
AppnsIndex uint32 `binapi:"u32,name=appns_index" json:"appns_index,omitempty"`
Scope uint8 `binapi:"u8,name=scope" json:"scope,omitempty"`
Tag []byte `binapi:"u8[64],name=tag" json:"tag,omitempty"`
}
SessionRuleAddDel defines 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()
func (*SessionRuleAddDel) Size ¶
func (m *SessionRuleAddDel) Size() (size int)
func (*SessionRuleAddDel) Unmarshal ¶
func (m *SessionRuleAddDel) Unmarshal(b []byte) error
type SessionRuleAddDelReply ¶
type SessionRuleAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SessionRuleAddDelReply defines 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) Marshal ¶
func (m *SessionRuleAddDelReply) Marshal(b []byte) ([]byte, error)
func (*SessionRuleAddDelReply) Reset ¶
func (m *SessionRuleAddDelReply) Reset()
func (*SessionRuleAddDelReply) Size ¶
func (m *SessionRuleAddDelReply) Size() (size int)
func (*SessionRuleAddDelReply) Unmarshal ¶
func (m *SessionRuleAddDelReply) Unmarshal(b []byte) error
type SessionRulesDetails ¶
type SessionRulesDetails struct {
TransportProto uint8 `binapi:"u8,name=transport_proto" json:"transport_proto,omitempty"`
IsIP4 uint8 `binapi:"u8,name=is_ip4" json:"is_ip4,omitempty"`
LclIP []byte `binapi:"u8[16],name=lcl_ip" json:"lcl_ip,omitempty"`
LclPlen uint8 `binapi:"u8,name=lcl_plen" json:"lcl_plen,omitempty"`
RmtIP []byte `binapi:"u8[16],name=rmt_ip" json:"rmt_ip,omitempty"`
RmtPlen uint8 `binapi:"u8,name=rmt_plen" json:"rmt_plen,omitempty"`
LclPort uint16 `binapi:"u16,name=lcl_port" json:"lcl_port,omitempty"`
RmtPort uint16 `binapi:"u16,name=rmt_port" json:"rmt_port,omitempty"`
ActionIndex uint32 `binapi:"u32,name=action_index" json:"action_index,omitempty"`
AppnsIndex uint32 `binapi:"u32,name=appns_index" json:"appns_index,omitempty"`
Scope uint8 `binapi:"u8,name=scope" json:"scope,omitempty"`
Tag []byte `binapi:"u8[64],name=tag" json:"tag,omitempty"`
}
SessionRulesDetails defines 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) Marshal ¶
func (m *SessionRulesDetails) Marshal(b []byte) ([]byte, error)
func (*SessionRulesDetails) Reset ¶
func (m *SessionRulesDetails) Reset()
func (*SessionRulesDetails) Size ¶
func (m *SessionRulesDetails) Size() (size int)
func (*SessionRulesDetails) Unmarshal ¶
func (m *SessionRulesDetails) Unmarshal(b []byte) error
type SessionRulesDump ¶
type SessionRulesDump struct{}
SessionRulesDump defines 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()
func (*SessionRulesDump) Size ¶
func (m *SessionRulesDump) Size() (size int)
func (*SessionRulesDump) Unmarshal ¶
func (m *SessionRulesDump) Unmarshal(b []byte) error
type UnbindSock ¶
type UnbindSock struct {
WrkIndex uint32 `binapi:"u32,name=wrk_index" json:"wrk_index,omitempty"`
Handle uint64 `binapi:"u64,name=handle" json:"handle,omitempty"`
}
UnbindSock defines 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()
func (*UnbindSock) Size ¶
func (m *UnbindSock) Size() (size int)
func (*UnbindSock) Unmarshal ¶
func (m *UnbindSock) Unmarshal(b []byte) error
type UnbindSockReply ¶
type UnbindSockReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
UnbindSockReply defines 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()
func (*UnbindSockReply) Size ¶
func (m *UnbindSockReply) Size() (size int)
func (*UnbindSockReply) Unmarshal ¶
func (m *UnbindSockReply) Unmarshal(b []byte) error
type UnbindURI ¶
type UnbindURI struct {
URI []byte `binapi:"u8[128],name=uri" json:"uri,omitempty"`
}
UnbindURI defines message 'unbind_uri'.
func (*UnbindURI) GetCrcString ¶
func (*UnbindURI) GetMessageName ¶
func (*UnbindURI) GetMessageType ¶
func (*UnbindURI) GetMessageType() api.MessageType
type UnbindURIReply ¶
type UnbindURIReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
UnbindURIReply defines 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()
func (*UnbindURIReply) Size ¶
func (m *UnbindURIReply) Size() (size int)
func (*UnbindURIReply) Unmarshal ¶
func (m *UnbindURIReply) Unmarshal(b []byte) error
type UnmapSegment ¶
type UnmapSegment struct {
SegmentHandle uint64 `binapi:"u64,name=segment_handle" json:"segment_handle,omitempty"`
}
UnmapSegment defines 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()
func (*UnmapSegment) Size ¶
func (m *UnmapSegment) Size() (size int)
func (*UnmapSegment) Unmarshal ¶
func (m *UnmapSegment) Unmarshal(b []byte) error
type UnmapSegmentReply ¶
type UnmapSegmentReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
UnmapSegmentReply defines 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()
func (*UnmapSegmentReply) Size ¶
func (m *UnmapSegmentReply) Size() (size int)
func (*UnmapSegmentReply) Unmarshal ¶
func (m *UnmapSegmentReply) Unmarshal(b []byte) error