Documentation
¶
Overview ¶
Code generated by govpp binapi-generator DO NOT EDIT. Package session represents the VPP binary API of the 'session' VPP module. Generated from '/usr/share/vpp/api/session.api.json'
Index ¶
- Constants
- Variables
- func NewAcceptSession() api.Message
- func NewAcceptSessionReply() api.Message
- func NewAppNamespaceAddDel() api.Message
- func NewAppNamespaceAddDelReply() api.Message
- func NewApplicationAttach() api.Message
- func NewApplicationAttachReply() api.Message
- func NewApplicationDetach() api.Message
- func NewApplicationDetachReply() api.Message
- func NewBindSock() api.Message
- func NewBindSockReply() api.Message
- func NewBindURI() api.Message
- func NewBindURIReply() api.Message
- func NewConnectSession() api.Message
- func NewConnectSessionReply() api.Message
- func NewConnectSock() api.Message
- func NewConnectSockReply() api.Message
- func NewConnectURI() api.Message
- func NewConnectURIReply() api.Message
- func NewDisconnectSession() api.Message
- func NewDisconnectSessionReply() api.Message
- func NewMapAnotherSegment() api.Message
- func NewMapAnotherSegmentReply() api.Message
- func NewResetSession() api.Message
- func NewResetSessionReply() api.Message
- func NewSessionEnableDisable() api.Message
- func NewSessionEnableDisableReply() api.Message
- func NewSessionRuleAddDel() api.Message
- func NewSessionRuleAddDelReply() api.Message
- func NewSessionRulesDetails() api.Message
- func NewSessionRulesDump() api.Message
- func NewUnbindSock() api.Message
- func NewUnbindSockReply() api.Message
- func NewUnbindURI() api.Message
- func NewUnbindURIReply() api.Message
- type AcceptSession
- type AcceptSessionReply
- type AppNamespaceAddDel
- type AppNamespaceAddDelReply
- type ApplicationAttach
- type ApplicationAttachReply
- type ApplicationDetach
- type ApplicationDetachReply
- type BindSock
- type BindSockReply
- type BindURI
- type BindURIReply
- type ConnectSession
- type ConnectSessionReply
- type ConnectSock
- type ConnectSockReply
- type ConnectURI
- type ConnectURIReply
- type DisconnectSession
- type DisconnectSessionReply
- type MapAnotherSegment
- type MapAnotherSegmentReply
- type ResetSession
- type ResetSessionReply
- type SessionEnableDisable
- type SessionEnableDisableReply
- type SessionRuleAddDel
- type SessionRuleAddDelReply
- type SessionRulesDetails
- type SessionRulesDump
- type UnbindSock
- type UnbindSockReply
- type UnbindURI
- type UnbindURIReply
Constants ¶
const VlAPIVersion = 0xa719a431
VlApiVersion contains version of the API.
Variables ¶
var Consts = map[string]reflect.Value{ "VlAPIVersion": reflect.ValueOf(VlAPIVersion), }
var Functions = map[string]reflect.Value{ "NewAcceptSession": reflect.ValueOf(NewAcceptSession), "NewAcceptSessionReply": reflect.ValueOf(NewAcceptSessionReply), "NewAppNamespaceAddDel": reflect.ValueOf(NewAppNamespaceAddDel), "NewAppNamespaceAddDelReply": reflect.ValueOf(NewAppNamespaceAddDelReply), "NewApplicationAttach": reflect.ValueOf(NewApplicationAttach), "NewApplicationAttachReply": reflect.ValueOf(NewApplicationAttachReply), "NewApplicationDetach": reflect.ValueOf(NewApplicationDetach), "NewApplicationDetachReply": reflect.ValueOf(NewApplicationDetachReply), "NewBindSock": reflect.ValueOf(NewBindSock), "NewBindSockReply": reflect.ValueOf(NewBindSockReply), "NewBindURI": reflect.ValueOf(NewBindURI), "NewBindURIReply": reflect.ValueOf(NewBindURIReply), "NewConnectSession": reflect.ValueOf(NewConnectSession), "NewConnectSessionReply": reflect.ValueOf(NewConnectSessionReply), "NewConnectSock": reflect.ValueOf(NewConnectSock), "NewConnectSockReply": reflect.ValueOf(NewConnectSockReply), "NewConnectURI": reflect.ValueOf(NewConnectURI), "NewConnectURIReply": reflect.ValueOf(NewConnectURIReply), "NewDisconnectSession": reflect.ValueOf(NewDisconnectSession), "NewDisconnectSessionReply": reflect.ValueOf(NewDisconnectSessionReply), "NewMapAnotherSegment": reflect.ValueOf(NewMapAnotherSegment), "NewMapAnotherSegmentReply": reflect.ValueOf(NewMapAnotherSegmentReply), "NewResetSession": reflect.ValueOf(NewResetSession), "NewResetSessionReply": reflect.ValueOf(NewResetSessionReply), "NewSessionEnableDisable": reflect.ValueOf(NewSessionEnableDisable), "NewSessionEnableDisableReply": reflect.ValueOf(NewSessionEnableDisableReply), "NewSessionRuleAddDel": reflect.ValueOf(NewSessionRuleAddDel), "NewSessionRuleAddDelReply": reflect.ValueOf(NewSessionRuleAddDelReply), "NewSessionRulesDetails": reflect.ValueOf(NewSessionRulesDetails), "NewSessionRulesDump": reflect.ValueOf(NewSessionRulesDump), "NewUnbindSock": reflect.ValueOf(NewUnbindSock), "NewUnbindSockReply": reflect.ValueOf(NewUnbindSockReply), "NewUnbindURI": reflect.ValueOf(NewUnbindURI), "NewUnbindURIReply": reflect.ValueOf(NewUnbindURIReply), }
var Types = map[string]reflect.Type{ "AcceptSession": reflect.TypeOf((*AcceptSession)(nil)).Elem(), "AcceptSessionReply": reflect.TypeOf((*AcceptSessionReply)(nil)).Elem(), "AppNamespaceAddDel": reflect.TypeOf((*AppNamespaceAddDel)(nil)).Elem(), "AppNamespaceAddDelReply": reflect.TypeOf((*AppNamespaceAddDelReply)(nil)).Elem(), "ApplicationAttach": reflect.TypeOf((*ApplicationAttach)(nil)).Elem(), "ApplicationAttachReply": reflect.TypeOf((*ApplicationAttachReply)(nil)).Elem(), "ApplicationDetach": reflect.TypeOf((*ApplicationDetach)(nil)).Elem(), "ApplicationDetachReply": reflect.TypeOf((*ApplicationDetachReply)(nil)).Elem(), "BindSock": reflect.TypeOf((*BindSock)(nil)).Elem(), "BindSockReply": reflect.TypeOf((*BindSockReply)(nil)).Elem(), "BindURI": reflect.TypeOf((*BindURI)(nil)).Elem(), "BindURIReply": reflect.TypeOf((*BindURIReply)(nil)).Elem(), "ConnectSession": reflect.TypeOf((*ConnectSession)(nil)).Elem(), "ConnectSessionReply": reflect.TypeOf((*ConnectSessionReply)(nil)).Elem(), "ConnectSock": reflect.TypeOf((*ConnectSock)(nil)).Elem(), "ConnectSockReply": reflect.TypeOf((*ConnectSockReply)(nil)).Elem(), "ConnectURI": reflect.TypeOf((*ConnectURI)(nil)).Elem(), "ConnectURIReply": reflect.TypeOf((*ConnectURIReply)(nil)).Elem(), "DisconnectSession": reflect.TypeOf((*DisconnectSession)(nil)).Elem(), "DisconnectSessionReply": reflect.TypeOf((*DisconnectSessionReply)(nil)).Elem(), "MapAnotherSegment": reflect.TypeOf((*MapAnotherSegment)(nil)).Elem(), "MapAnotherSegmentReply": reflect.TypeOf((*MapAnotherSegmentReply)(nil)).Elem(), "ResetSession": reflect.TypeOf((*ResetSession)(nil)).Elem(), "ResetSessionReply": reflect.TypeOf((*ResetSessionReply)(nil)).Elem(), "SessionEnableDisable": reflect.TypeOf((*SessionEnableDisable)(nil)).Elem(), "SessionEnableDisableReply": reflect.TypeOf((*SessionEnableDisableReply)(nil)).Elem(), "SessionRuleAddDel": reflect.TypeOf((*SessionRuleAddDel)(nil)).Elem(), "SessionRuleAddDelReply": reflect.TypeOf((*SessionRuleAddDelReply)(nil)).Elem(), "SessionRulesDetails": reflect.TypeOf((*SessionRulesDetails)(nil)).Elem(), "SessionRulesDump": reflect.TypeOf((*SessionRulesDump)(nil)).Elem(), "UnbindSock": reflect.TypeOf((*UnbindSock)(nil)).Elem(), "UnbindSockReply": reflect.TypeOf((*UnbindSockReply)(nil)).Elem(), "UnbindURI": reflect.TypeOf((*UnbindURI)(nil)).Elem(), "UnbindURIReply": reflect.TypeOf((*UnbindURIReply)(nil)).Elem(), }
var Variables = map[string]reflect.Value{}
Functions ¶
func NewAcceptSession ¶
func NewAcceptSessionReply ¶
func NewAppNamespaceAddDel ¶
func NewApplicationAttach ¶
func NewApplicationDetach ¶
func NewBindSock ¶
func NewBindSockReply ¶
func NewBindURI ¶
func NewBindURIReply ¶
func NewConnectSession ¶
func NewConnectSessionReply ¶
func NewConnectSock ¶
func NewConnectSockReply ¶
func NewConnectURI ¶
func NewConnectURIReply ¶
func NewDisconnectSession ¶
func NewMapAnotherSegment ¶
func NewResetSession ¶
func NewResetSessionReply ¶
func NewSessionEnableDisable ¶
func NewSessionRuleAddDel ¶
func NewSessionRulesDetails ¶
func NewSessionRulesDump ¶
func NewUnbindSock ¶
func NewUnbindSockReply ¶
func NewUnbindURI ¶
func NewUnbindURIReply ¶
Types ¶
type AcceptSession ¶
type AcceptSession struct {
ListenerHandle uint64
Handle uint64
ServerRxFifo uint64
ServerTxFifo uint64
VppEventQueueAddress uint64
Port uint16
IsIP4 uint8
IP []byte `struc:"[16]byte"`
}
AcceptSession represents the VPP binary API message 'accept_session'. Generated from '/usr/share/vpp/api/session.api.json', line 94:
["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"],
["u16", "port"],
["u8", "is_ip4"],
["u8", "ip", 16],
{"crc" : "0x8e2a127e"}
],
func (*AcceptSession) GetCrcString ¶
func (*AcceptSession) GetCrcString() string
func (*AcceptSession) GetMessageName ¶
func (*AcceptSession) GetMessageName() string
func (*AcceptSession) GetMessageType ¶
func (*AcceptSession) GetMessageType() api.MessageType
type AcceptSessionReply ¶
AcceptSessionReply represents the VPP binary API message 'accept_session_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 108:
["accept_session_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
["u64", "handle"],
{"crc" : "0x67d8c22a"}
],
func (*AcceptSessionReply) GetCrcString ¶
func (*AcceptSessionReply) GetCrcString() string
func (*AcceptSessionReply) GetMessageName ¶
func (*AcceptSessionReply) GetMessageName() string
func (*AcceptSessionReply) GetMessageType ¶
func (*AcceptSessionReply) GetMessageType() api.MessageType
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'. Generated from '/usr/share/vpp/api/session.api.json', line 235:
["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" : "0x9733ef2a"}
],
func (*AppNamespaceAddDel) GetCrcString ¶
func (*AppNamespaceAddDel) GetCrcString() string
func (*AppNamespaceAddDel) GetMessageName ¶
func (*AppNamespaceAddDel) GetMessageName() string
func (*AppNamespaceAddDel) GetMessageType ¶
func (*AppNamespaceAddDel) GetMessageType() api.MessageType
type AppNamespaceAddDelReply ¶
AppNamespaceAddDelReply represents the VPP binary API message 'app_namespace_add_del_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 247:
["app_namespace_add_del_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
["u32", "appns_index"],
{"crc" : "0x8a5cd4ac"}
],
func (*AppNamespaceAddDelReply) GetCrcString ¶
func (*AppNamespaceAddDelReply) GetCrcString() string
func (*AppNamespaceAddDelReply) GetMessageName ¶
func (*AppNamespaceAddDelReply) GetMessageName() string
func (*AppNamespaceAddDelReply) GetMessageType ¶
func (*AppNamespaceAddDelReply) 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'. Generated from '/usr/share/vpp/api/session.api.json', line 6:
["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" : "0xf27e0a47"}
],
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
SegmentSize uint32
SegmentNameLength uint8
SegmentName []byte `struc:"[128]byte"`
}
ApplicationAttachReply represents the VPP binary API message 'application_attach_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 16:
["application_attach_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
["u64", "app_event_queue_address"],
["u32", "segment_size"],
["u8", "segment_name_length"],
["u8", "segment_name", 128],
{"crc" : "0x0df5c138"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 26:
["application_detach",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
{"crc" : "0xbf7e4352"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 32:
["application_detach_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0xfb879289"}
],
func (*ApplicationDetachReply) GetCrcString ¶
func (*ApplicationDetachReply) GetCrcString() string
func (*ApplicationDetachReply) GetMessageName ¶
func (*ApplicationDetachReply) GetMessageName() string
func (*ApplicationDetachReply) GetMessageType ¶
func (*ApplicationDetachReply) GetMessageType() api.MessageType
type BindSock ¶
type BindSock struct {
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'. Generated from '/usr/share/vpp/api/session.api.json', line 145:
["bind_sock",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "vrf"],
["u8", "is_ip4"],
["u8", "ip", 16],
["u16", "port"],
["u8", "proto"],
["u64", "options", 16],
{"crc" : "0x3f898291"}
],
func (*BindSock) GetCrcString ¶
func (*BindSock) GetMessageName ¶
func (*BindSock) GetMessageType ¶
func (*BindSock) GetMessageType() api.MessageType
type BindSockReply ¶
type BindSockReply struct {
Handle uint64
Retval int32
ServerEventQueueAddress uint64
SegmentSize uint32
SegmentNameLength uint8
SegmentName []byte `struc:"[128]byte"`
}
BindSockReply represents the VPP binary API message 'bind_sock_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 189:
["bind_sock_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["u64", "handle"],
["i32", "retval"],
["u64", "server_event_queue_address"],
["u32", "segment_size"],
["u8", "segment_name_length"],
["u8", "segment_name", 128],
{"crc" : "0xeecef9cc"}
],
func (*BindSockReply) GetCrcString ¶
func (*BindSockReply) GetCrcString() string
func (*BindSockReply) GetMessageName ¶
func (*BindSockReply) GetMessageName() string
func (*BindSockReply) GetMessageType ¶
func (*BindSockReply) GetMessageType() api.MessageType
type BindURI ¶
BindURI represents the VPP binary API message 'bind_uri'. Generated from '/usr/share/vpp/api/session.api.json', line 52:
["bind_uri",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "accept_cookie"],
["u8", "uri", 128],
{"crc" : "0xceafed7f"}
],
func (*BindURI) GetCrcString ¶
func (*BindURI) GetMessageName ¶
func (*BindURI) GetMessageType ¶
func (*BindURI) GetMessageType() api.MessageType
type BindURIReply ¶
type BindURIReply struct {
Retval int32
}
BindURIReply represents the VPP binary API message 'bind_uri_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 60:
["bind_uri_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0x75918978"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 200:
["connect_session",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
{"crc" : "0x40ae01d1"}
],
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
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'. Generated from '/usr/share/vpp/api/session.api.json', line 206:
["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"],
["u32", "segment_size"],
["u8", "segment_name_length"],
["u8", "segment_name", 128],
["u8", "lcl_ip", 16],
["u8", "is_ip4"],
["u16", "lcl_port"],
{"crc" : "0x0bf3fdc2"}
],
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 {
ClientQueueAddress uint64
Options []uint64 `struc:"[16]uint64"`
Vrf uint32
IsIP4 uint8
IP []byte `struc:"[16]byte"`
Port uint16
Proto uint8
}
ConnectSock represents the VPP binary API message 'connect_sock'. Generated from '/usr/share/vpp/api/session.api.json', line 170:
["connect_sock",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u64", "client_queue_address"],
["u64", "options", 16],
["u32", "vrf"],
["u8", "is_ip4"],
["u8", "ip", 16],
["u16", "port"],
["u8", "proto"],
{"crc" : "0x0bf00e15"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 183:
["connect_sock_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0xf6988664"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 79:
["connect_uri",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u64", "client_queue_address"],
["u64", "options", 16],
["u8", "uri", 128],
{"crc" : "0x72035237"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 88:
["connect_uri_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0x54ec1256"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 115:
["disconnect_session",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u64", "handle"],
{"crc" : "0x18addf61"}
],
func (*DisconnectSession) GetCrcString ¶
func (*DisconnectSession) GetCrcString() string
func (*DisconnectSession) GetMessageName ¶
func (*DisconnectSession) GetMessageName() string
func (*DisconnectSession) GetMessageType ¶
func (*DisconnectSession) GetMessageType() api.MessageType
type DisconnectSessionReply ¶
DisconnectSessionReply represents the VPP binary API message 'disconnect_session_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 122:
["disconnect_session_reply",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["i32", "retval"],
["u64", "handle"],
{"crc" : "0x6fb16b8f"}
],
func (*DisconnectSessionReply) GetCrcString ¶
func (*DisconnectSessionReply) GetCrcString() string
func (*DisconnectSessionReply) GetMessageName ¶
func (*DisconnectSessionReply) GetMessageName() string
func (*DisconnectSessionReply) GetMessageType ¶
func (*DisconnectSessionReply) GetMessageType() api.MessageType
type MapAnotherSegment ¶
MapAnotherSegment represents the VPP binary API message 'map_another_segment'. Generated from '/usr/share/vpp/api/session.api.json', line 38:
["map_another_segment",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u32", "segment_size"],
["u8", "segment_name", 128],
{"crc" : "0x28ca2003"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 46:
["map_another_segment_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0x76d11a9d"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 130:
["reset_session",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u64", "handle"],
{"crc" : "0x601fefd7"}
],
func (*ResetSession) GetCrcString ¶
func (*ResetSession) GetCrcString() string
func (*ResetSession) GetMessageName ¶
func (*ResetSession) GetMessageName() string
func (*ResetSession) GetMessageType ¶
func (*ResetSession) GetMessageType() api.MessageType
type ResetSessionReply ¶
ResetSessionReply represents the VPP binary API message 'reset_session_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 137:
["reset_session_reply",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["i32", "retval"],
["u64", "handle"],
{"crc" : "0x80f6c14f"}
],
func (*ResetSessionReply) GetCrcString ¶
func (*ResetSessionReply) GetCrcString() string
func (*ResetSessionReply) GetMessageName ¶
func (*ResetSessionReply) GetMessageName() string
func (*ResetSessionReply) GetMessageType ¶
func (*ResetSessionReply) GetMessageType() api.MessageType
type SessionEnableDisable ¶
type SessionEnableDisable struct {
IsEnable uint8
}
SessionEnableDisable represents the VPP binary API message 'session_enable_disable'. Generated from '/usr/share/vpp/api/session.api.json', line 222:
["session_enable_disable",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u8", "is_enable"],
{"crc" : "0xa4cfced4"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 229:
["session_enable_disable_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0xcfb0e390"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 254:
["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" : "0xf540e6fb"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 273:
["session_rule_add_del_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0xa000e586"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 285:
["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" : "0x081d0d82"}
]
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'. Generated from '/usr/share/vpp/api/session.api.json', line 279:
["session_rules_dump",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
{"crc" : "0xcb37054a"}
],
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 {
Handle uint64
}
UnbindSock represents the VPP binary API message 'unbind_sock'. Generated from '/usr/share/vpp/api/session.api.json', line 157:
["unbind_sock",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u64", "handle"],
{"crc" : "0x9007c8c9"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 164:
["unbind_sock_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0x5d9c5da6"}
],
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'. Generated from '/usr/share/vpp/api/session.api.json', line 66:
["unbind_uri",
["u16", "_vl_msg_id"],
["u32", "client_index"],
["u32", "context"],
["u8", "uri", 128],
{"crc" : "0x46569743"}
],
func (*UnbindURI) GetCrcString ¶
func (*UnbindURI) GetMessageName ¶
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'. Generated from '/usr/share/vpp/api/session.api.json', line 73:
["unbind_uri_reply",
["u16", "_vl_msg_id"],
["u32", "context"],
["i32", "retval"],
{"crc" : "0x310db78f"}
],
func (*UnbindURIReply) GetCrcString ¶
func (*UnbindURIReply) GetCrcString() string
func (*UnbindURIReply) GetMessageName ¶
func (*UnbindURIReply) GetMessageName() string
func (*UnbindURIReply) GetMessageType ¶
func (*UnbindURIReply) GetMessageType() api.MessageType