{"modulePath":"github.com/EMnify/vpp-agent","version":"v1.0.8","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package session\n\nCode 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'\n\n## Constants\n\n```go\nconst VlAPIVersion = 0xa719a431\n```\nVlApiVersion contains version of the API.\n\n## Variables\n\n```go\nvar Consts = map[string]reflect.Value{\n\t\"VlAPIVersion\": reflect.ValueOf(VlAPIVersion),\n}\n```\n\n```go\nvar Functions = map[string]reflect.Value{\n\t\"NewAcceptSession\":             reflect.ValueOf(NewAcceptSession),\n\t\"NewAcceptSessionReply\":        reflect.ValueOf(NewAcceptSessionReply),\n\t\"NewAppNamespaceAddDel\":        reflect.ValueOf(NewAppNamespaceAddDel),\n\t\"NewAppNamespaceAddDelReply\":   reflect.ValueOf(NewAppNamespaceAddDelReply),\n\t\"NewApplicationAttach\":         reflect.ValueOf(NewApplicationAttach),\n\t\"NewApplicationAttachReply\":    reflect.ValueOf(NewApplicationAttachReply),\n\t\"NewApplicationDetach\":         reflect.ValueOf(NewApplicationDetach),\n\t\"NewApplicationDetachReply\":    reflect.ValueOf(NewApplicationDetachReply),\n\t\"NewBindSock\":                  reflect.ValueOf(NewBindSock),\n\t\"NewBindSockReply\":             reflect.ValueOf(NewBindSockReply),\n\t\"NewBindURI\":                   reflect.ValueOf(NewBindURI),\n\t\"NewBindURIReply\":              reflect.ValueOf(NewBindURIReply),\n\t\"NewConnectSession\":            reflect.ValueOf(NewConnectSession),\n\t\"NewConnectSessionReply\":       reflect.ValueOf(NewConnectSessionReply),\n\t\"NewConnectSock\":               reflect.ValueOf(NewConnectSock),\n\t\"NewConnectSockReply\":          reflect.ValueOf(NewConnectSockReply),\n\t\"NewConnectURI\":                reflect.ValueOf(NewConnectURI),\n\t\"NewConnectURIReply\":           reflect.ValueOf(NewConnectURIReply),\n\t\"NewDisconnectSession\":         reflect.ValueOf(NewDisconnectSession),\n\t\"NewDisconnectSessionReply\":    reflect.ValueOf(NewDisconnectSessionReply),\n\t\"NewMapAnotherSegment\":         reflect.ValueOf(NewMapAnotherSegment),\n\t\"NewMapAnotherSegmentReply\":    reflect.ValueOf(NewMapAnotherSegmentReply),\n\t\"NewResetSession\":              reflect.ValueOf(NewResetSession),\n\t\"NewResetSessionReply\":         reflect.ValueOf(NewResetSessionReply),\n\t\"NewSessionEnableDisable\":      reflect.ValueOf(NewSessionEnableDisable),\n\t\"NewSessionEnableDisableReply\": reflect.ValueOf(NewSessionEnableDisableReply),\n\t\"NewSessionRuleAddDel\":         reflect.ValueOf(NewSessionRuleAddDel),\n\t\"NewSessionRuleAddDelReply\":    reflect.ValueOf(NewSessionRuleAddDelReply),\n\t\"NewSessionRulesDetails\":       reflect.ValueOf(NewSessionRulesDetails),\n\t\"NewSessionRulesDump\":          reflect.ValueOf(NewSessionRulesDump),\n\t\"NewUnbindSock\":                reflect.ValueOf(NewUnbindSock),\n\t\"NewUnbindSockReply\":           reflect.ValueOf(NewUnbindSockReply),\n\t\"NewUnbindURI\":                 reflect.ValueOf(NewUnbindURI),\n\t\"NewUnbindURIReply\":            reflect.ValueOf(NewUnbindURIReply),\n}\n```\n\n```go\nvar Types = map[string]reflect.Type{\n\t\"AcceptSession\":             reflect.TypeOf((*AcceptSession)(nil)).Elem(),\n\t\"AcceptSessionReply\":        reflect.TypeOf((*AcceptSessionReply)(nil)).Elem(),\n\t\"AppNamespaceAddDel\":        reflect.TypeOf((*AppNamespaceAddDel)(nil)).Elem(),\n\t\"AppNamespaceAddDelReply\":   reflect.TypeOf((*AppNamespaceAddDelReply)(nil)).Elem(),\n\t\"ApplicationAttach\":         reflect.TypeOf((*ApplicationAttach)(nil)).Elem(),\n\t\"ApplicationAttachReply\":    reflect.TypeOf((*ApplicationAttachReply)(nil)).Elem(),\n\t\"ApplicationDetach\":         reflect.TypeOf((*ApplicationDetach)(nil)).Elem(),\n\t\"ApplicationDetachReply\":    reflect.TypeOf((*ApplicationDetachReply)(nil)).Elem(),\n\t\"BindSock\":                  reflect.TypeOf((*BindSock)(nil)).Elem(),\n\t\"BindSockReply\":             reflect.TypeOf((*BindSockReply)(nil)).Elem(),\n\t\"BindURI\":                   reflect.TypeOf((*BindURI)(nil)).Elem(),\n\t\"BindURIReply\":              reflect.TypeOf((*BindURIReply)(nil)).Elem(),\n\t\"ConnectSession\":            reflect.TypeOf((*ConnectSession)(nil)).Elem(),\n\t\"ConnectSessionReply\":       reflect.TypeOf((*ConnectSessionReply)(nil)).Elem(),\n\t\"ConnectSock\":               reflect.TypeOf((*ConnectSock)(nil)).Elem(),\n\t\"ConnectSockReply\":          reflect.TypeOf((*ConnectSockReply)(nil)).Elem(),\n\t\"ConnectURI\":                reflect.TypeOf((*ConnectURI)(nil)).Elem(),\n\t\"ConnectURIReply\":           reflect.TypeOf((*ConnectURIReply)(nil)).Elem(),\n\t\"DisconnectSession\":         reflect.TypeOf((*DisconnectSession)(nil)).Elem(),\n\t\"DisconnectSessionReply\":    reflect.TypeOf((*DisconnectSessionReply)(nil)).Elem(),\n\t\"MapAnotherSegment\":         reflect.TypeOf((*MapAnotherSegment)(nil)).Elem(),\n\t\"MapAnotherSegmentReply\":    reflect.TypeOf((*MapAnotherSegmentReply)(nil)).Elem(),\n\t\"ResetSession\":              reflect.TypeOf((*ResetSession)(nil)).Elem(),\n\t\"ResetSessionReply\":         reflect.TypeOf((*ResetSessionReply)(nil)).Elem(),\n\t\"SessionEnableDisable\":      reflect.TypeOf((*SessionEnableDisable)(nil)).Elem(),\n\t\"SessionEnableDisableReply\": reflect.TypeOf((*SessionEnableDisableReply)(nil)).Elem(),\n\t\"SessionRuleAddDel\":         reflect.TypeOf((*SessionRuleAddDel)(nil)).Elem(),\n\t\"SessionRuleAddDelReply\":    reflect.TypeOf((*SessionRuleAddDelReply)(nil)).Elem(),\n\t\"SessionRulesDetails\":       reflect.TypeOf((*SessionRulesDetails)(nil)).Elem(),\n\t\"SessionRulesDump\":          reflect.TypeOf((*SessionRulesDump)(nil)).Elem(),\n\t\"UnbindSock\":                reflect.TypeOf((*UnbindSock)(nil)).Elem(),\n\t\"UnbindSockReply\":           reflect.TypeOf((*UnbindSockReply)(nil)).Elem(),\n\t\"UnbindURI\":                 reflect.TypeOf((*UnbindURI)(nil)).Elem(),\n\t\"UnbindURIReply\":            reflect.TypeOf((*UnbindURIReply)(nil)).Elem(),\n}\n```\n\n```go\nvar Variables = map[string]reflect.Value{}\n```\n\n## Functions\n\n```go\nfunc NewAcceptSession() api.Message\n```\n\n```go\nfunc NewAcceptSessionReply() api.Message\n```\n\n```go\nfunc NewAppNamespaceAddDel() api.Message\n```\n\n```go\nfunc NewAppNamespaceAddDelReply() api.Message\n```\n\n```go\nfunc NewApplicationAttach() api.Message\n```\n\n```go\nfunc NewApplicationAttachReply() api.Message\n```\n\n```go\nfunc NewApplicationDetach() api.Message\n```\n\n```go\nfunc NewApplicationDetachReply() api.Message\n```\n\n```go\nfunc NewBindSock() api.Message\n```\n\n```go\nfunc NewBindSockReply() api.Message\n```\n\n```go\nfunc NewBindURI() api.Message\n```\n\n```go\nfunc NewBindURIReply() api.Message\n```\n\n```go\nfunc NewConnectSession() api.Message\n```\n\n```go\nfunc NewConnectSessionReply() api.Message\n```\n\n```go\nfunc NewConnectSock() api.Message\n```\n\n```go\nfunc NewConnectSockReply() api.Message\n```\n\n```go\nfunc NewConnectURI() api.Message\n```\n\n```go\nfunc NewConnectURIReply() api.Message\n```\n\n```go\nfunc NewDisconnectSession() api.Message\n```\n\n```go\nfunc NewDisconnectSessionReply() api.Message\n```\n\n```go\nfunc NewMapAnotherSegment() api.Message\n```\n\n```go\nfunc NewMapAnotherSegmentReply() api.Message\n```\n\n```go\nfunc NewResetSession() api.Message\n```\n\n```go\nfunc NewResetSessionReply() api.Message\n```\n\n```go\nfunc NewSessionEnableDisable() api.Message\n```\n\n```go\nfunc NewSessionEnableDisableReply() api.Message\n```\n\n```go\nfunc NewSessionRuleAddDel() api.Message\n```\n\n```go\nfunc NewSessionRuleAddDelReply() api.Message\n```\n\n```go\nfunc NewSessionRulesDetails() api.Message\n```\n\n```go\nfunc NewSessionRulesDump() api.Message\n```\n\n```go\nfunc NewUnbindSock() api.Message\n```\n\n```go\nfunc NewUnbindSockReply() api.Message\n```\n\n```go\nfunc NewUnbindURI() api.Message\n```\n\n```go\nfunc NewUnbindURIReply() api.Message\n```\n\n## Types\n\n```go\ntype AcceptSession struct {\n\tListenerHandle       uint64\n\tHandle               uint64\n\tServerRxFifo         uint64\n\tServerTxFifo         uint64\n\tVppEventQueueAddress uint64\n\tPort                 uint16\n\tIsIP4                uint8\n\tIP                   []byte `struc:\"[16]byte\"`\n}\n```\nAcceptSession represents the VPP binary API message 'accept\\_session'. Generated from '/usr/share/vpp/api/session.api.json', line 94:\n\n\t[\"accept_session\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u64\", \"listener_handle\"],\n\t    [\"u64\", \"handle\"],\n\t    [\"u64\", \"server_rx_fifo\"],\n\t    [\"u64\", \"server_tx_fifo\"],\n\t    [\"u64\", \"vpp_event_queue_address\"],\n\t    [\"u16\", \"port\"],\n\t    [\"u8\", \"is_ip4\"],\n\t    [\"u8\", \"ip\", 16],\n\t    {\"crc\" : \"0x8e2a127e\"}\n\t],\n\n```go\nfunc (*AcceptSession) GetCrcString() string\n```\n\n```go\nfunc (*AcceptSession) GetMessageName() string\n```\n\n```go\nfunc (*AcceptSession) GetMessageType() api.MessageType\n```\n\n```go\ntype AcceptSessionReply struct {\n\tRetval int32\n\tHandle uint64\n}\n```\nAcceptSessionReply represents the VPP binary API message 'accept\\_session\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 108:\n\n\t[\"accept_session_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    [\"u64\", \"handle\"],\n\t    {\"crc\" : \"0x67d8c22a\"}\n\t],\n\n```go\nfunc (*AcceptSessionReply) GetCrcString() string\n```\n\n```go\nfunc (*AcceptSessionReply) GetMessageName() string\n```\n\n```go\nfunc (*AcceptSessionReply) GetMessageType() api.MessageType\n```\n\n```go\ntype AppNamespaceAddDel struct {\n\tSecret         uint64\n\tSwIfIndex      uint32\n\tIP4FibID       uint32\n\tIP6FibID       uint32\n\tNamespaceIDLen uint8\n\tNamespaceID    []byte `struc:\"[64]byte\"`\n}\n```\nAppNamespaceAddDel represents the VPP binary API message 'app\\_namespace\\_add\\_del'. Generated from '/usr/share/vpp/api/session.api.json', line 235:\n\n\t[\"app_namespace_add_del\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u64\", \"secret\"],\n\t    [\"u32\", \"sw_if_index\"],\n\t    [\"u32\", \"ip4_fib_id\"],\n\t    [\"u32\", \"ip6_fib_id\"],\n\t    [\"u8\", \"namespace_id_len\"],\n\t    [\"u8\", \"namespace_id\", 64],\n\t    {\"crc\" : \"0x9733ef2a\"}\n\t],\n\n```go\nfunc (*AppNamespaceAddDel) GetCrcString() string\n```\n\n```go\nfunc (*AppNamespaceAddDel) GetMessageName() string\n```\n\n```go\nfunc (*AppNamespaceAddDel) GetMessageType() api.MessageType\n```\n\n```go\ntype AppNamespaceAddDelReply struct {\n\tRetval     int32\n\tAppnsIndex uint32\n}\n```\nAppNamespaceAddDelReply represents the VPP binary API message 'app\\_namespace\\_add\\_del\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 247:\n\n\t[\"app_namespace_add_del_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    [\"u32\", \"appns_index\"],\n\t    {\"crc\" : \"0x8a5cd4ac\"}\n\t],\n\n```go\nfunc (*AppNamespaceAddDelReply) GetCrcString() string\n```\n\n```go\nfunc (*AppNamespaceAddDelReply) GetMessageName() string\n```\n\n```go\nfunc (*AppNamespaceAddDelReply) GetMessageType() api.MessageType\n```\n\n```go\ntype ApplicationAttach struct {\n\tInitialSegmentSize uint32\n\tOptions            []uint64 `struc:\"[16]uint64\"`\n\tNamespaceIDLen     uint8\n\tNamespaceID        []byte `struc:\"[64]byte\"`\n}\n```\nApplicationAttach represents the VPP binary API message 'application\\_attach'. Generated from '/usr/share/vpp/api/session.api.json', line 6:\n\n\t[\"application_attach\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u32\", \"initial_segment_size\"],\n\t    [\"u64\", \"options\", 16],\n\t    [\"u8\", \"namespace_id_len\"],\n\t    [\"u8\", \"namespace_id\", 64],\n\t    {\"crc\" : \"0xf27e0a47\"}\n\t],\n\n```go\nfunc (*ApplicationAttach) GetCrcString() string\n```\n\n```go\nfunc (*ApplicationAttach) GetMessageName() string\n```\n\n```go\nfunc (*ApplicationAttach) GetMessageType() api.MessageType\n```\n\n```go\ntype ApplicationAttachReply struct {\n\tRetval               int32\n\tAppEventQueueAddress uint64\n\tSegmentSize          uint32\n\tSegmentNameLength    uint8\n\tSegmentName          []byte `struc:\"[128]byte\"`\n}\n```\nApplicationAttachReply represents the VPP binary API message 'application\\_attach\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 16:\n\n\t[\"application_attach_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    [\"u64\", \"app_event_queue_address\"],\n\t    [\"u32\", \"segment_size\"],\n\t    [\"u8\", \"segment_name_length\"],\n\t    [\"u8\", \"segment_name\", 128],\n\t    {\"crc\" : \"0x0df5c138\"}\n\t],\n\n```go\nfunc (*ApplicationAttachReply) GetCrcString() string\n```\n\n```go\nfunc (*ApplicationAttachReply) GetMessageName() string\n```\n\n```go\nfunc (*ApplicationAttachReply) GetMessageType() api.MessageType\n```\n\n```go\ntype ApplicationDetach struct {\n}\n```\nApplicationDetach represents the VPP binary API message 'application\\_detach'. Generated from '/usr/share/vpp/api/session.api.json', line 26:\n\n\t[\"application_detach\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    {\"crc\" : \"0xbf7e4352\"}\n\t],\n\n```go\nfunc (*ApplicationDetach) GetCrcString() string\n```\n\n```go\nfunc (*ApplicationDetach) GetMessageName() string\n```\n\n```go\nfunc (*ApplicationDetach) GetMessageType() api.MessageType\n```\n\n```go\ntype ApplicationDetachReply struct {\n\tRetval int32\n}\n```\nApplicationDetachReply represents the VPP binary API message 'application\\_detach\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 32:\n\n\t[\"application_detach_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    {\"crc\" : \"0xfb879289\"}\n\t],\n\n```go\nfunc (*ApplicationDetachReply) GetCrcString() string\n```\n\n```go\nfunc (*ApplicationDetachReply) GetMessageName() string\n```\n\n```go\nfunc (*ApplicationDetachReply) GetMessageType() api.MessageType\n```\n\n```go\ntype BindSock struct {\n\tVrf     uint32\n\tIsIP4   uint8\n\tIP      []byte `struc:\"[16]byte\"`\n\tPort    uint16\n\tProto   uint8\n\tOptions []uint64 `struc:\"[16]uint64\"`\n}\n```\nBindSock represents the VPP binary API message 'bind\\_sock'. Generated from '/usr/share/vpp/api/session.api.json', line 145:\n\n\t[\"bind_sock\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u32\", \"vrf\"],\n\t    [\"u8\", \"is_ip4\"],\n\t    [\"u8\", \"ip\", 16],\n\t    [\"u16\", \"port\"],\n\t    [\"u8\", \"proto\"],\n\t    [\"u64\", \"options\", 16],\n\t    {\"crc\" : \"0x3f898291\"}\n\t],\n\n```go\nfunc (*BindSock) GetCrcString() string\n```\n\n```go\nfunc (*BindSock) GetMessageName() string\n```\n\n```go\nfunc (*BindSock) GetMessageType() api.MessageType\n```\n\n```go\ntype BindSockReply struct {\n\tHandle                  uint64\n\tRetval                  int32\n\tServerEventQueueAddress uint64\n\tSegmentSize             uint32\n\tSegmentNameLength       uint8\n\tSegmentName             []byte `struc:\"[128]byte\"`\n}\n```\nBindSockReply represents the VPP binary API message 'bind\\_sock\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 189:\n\n\t[\"bind_sock_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u64\", \"handle\"],\n\t    [\"i32\", \"retval\"],\n\t    [\"u64\", \"server_event_queue_address\"],\n\t    [\"u32\", \"segment_size\"],\n\t    [\"u8\", \"segment_name_length\"],\n\t    [\"u8\", \"segment_name\", 128],\n\t    {\"crc\" : \"0xeecef9cc\"}\n\t],\n\n```go\nfunc (*BindSockReply) GetCrcString() string\n```\n\n```go\nfunc (*BindSockReply) GetMessageName() string\n```\n\n```go\nfunc (*BindSockReply) GetMessageType() api.MessageType\n```\n\n```go\ntype BindURI struct {\n\tAcceptCookie uint32\n\tURI          []byte `struc:\"[128]byte\"`\n}\n```\nBindURI represents the VPP binary API message 'bind\\_uri'. Generated from '/usr/share/vpp/api/session.api.json', line 52:\n\n\t[\"bind_uri\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u32\", \"accept_cookie\"],\n\t    [\"u8\", \"uri\", 128],\n\t    {\"crc\" : \"0xceafed7f\"}\n\t],\n\n```go\nfunc (*BindURI) GetCrcString() string\n```\n\n```go\nfunc (*BindURI) GetMessageName() string\n```\n\n```go\nfunc (*BindURI) GetMessageType() api.MessageType\n```\n\n```go\ntype BindURIReply struct {\n\tRetval int32\n}\n```\nBindURIReply represents the VPP binary API message 'bind\\_uri\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 60:\n\n\t[\"bind_uri_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    {\"crc\" : \"0x75918978\"}\n\t],\n\n```go\nfunc (*BindURIReply) GetCrcString() string\n```\n\n```go\nfunc (*BindURIReply) GetMessageName() string\n```\n\n```go\nfunc (*BindURIReply) GetMessageType() api.MessageType\n```\n\n```go\ntype ConnectSession struct {\n}\n```\nConnectSession represents the VPP binary API message 'connect\\_session'. Generated from '/usr/share/vpp/api/session.api.json', line 200:\n\n\t[\"connect_session\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    {\"crc\" : \"0x40ae01d1\"}\n\t],\n\n```go\nfunc (*ConnectSession) GetCrcString() string\n```\n\n```go\nfunc (*ConnectSession) GetMessageName() string\n```\n\n```go\nfunc (*ConnectSession) GetMessageType() api.MessageType\n```\n\n```go\ntype ConnectSessionReply struct {\n\tRetval               int32\n\tHandle               uint64\n\tServerRxFifo         uint64\n\tServerTxFifo         uint64\n\tVppEventQueueAddress uint64\n\tSegmentSize          uint32\n\tSegmentNameLength    uint8\n\tSegmentName          []byte `struc:\"[128]byte\"`\n\tLclIP                []byte `struc:\"[16]byte\"`\n\tIsIP4                uint8\n\tLclPort              uint16\n}\n```\nConnectSessionReply represents the VPP binary API message 'connect\\_session\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 206:\n\n\t[\"connect_session_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    [\"u64\", \"handle\"],\n\t    [\"u64\", \"server_rx_fifo\"],\n\t    [\"u64\", \"server_tx_fifo\"],\n\t    [\"u64\", \"vpp_event_queue_address\"],\n\t    [\"u32\", \"segment_size\"],\n\t    [\"u8\", \"segment_name_length\"],\n\t    [\"u8\", \"segment_name\", 128],\n\t    [\"u8\", \"lcl_ip\", 16],\n\t    [\"u8\", \"is_ip4\"],\n\t    [\"u16\", \"lcl_port\"],\n\t    {\"crc\" : \"0x0bf3fdc2\"}\n\t],\n\n```go\nfunc (*ConnectSessionReply) GetCrcString() string\n```\n\n```go\nfunc (*ConnectSessionReply) GetMessageName() string\n```\n\n```go\nfunc (*ConnectSessionReply) GetMessageType() api.MessageType\n```\n\n```go\ntype ConnectSock struct {\n\tClientQueueAddress uint64\n\tOptions            []uint64 `struc:\"[16]uint64\"`\n\tVrf                uint32\n\tIsIP4              uint8\n\tIP                 []byte `struc:\"[16]byte\"`\n\tPort               uint16\n\tProto              uint8\n}\n```\nConnectSock represents the VPP binary API message 'connect\\_sock'. Generated from '/usr/share/vpp/api/session.api.json', line 170:\n\n\t[\"connect_sock\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u64\", \"client_queue_address\"],\n\t    [\"u64\", \"options\", 16],\n\t    [\"u32\", \"vrf\"],\n\t    [\"u8\", \"is_ip4\"],\n\t    [\"u8\", \"ip\", 16],\n\t    [\"u16\", \"port\"],\n\t    [\"u8\", \"proto\"],\n\t    {\"crc\" : \"0x0bf00e15\"}\n\t],\n\n```go\nfunc (*ConnectSock) GetCrcString() string\n```\n\n```go\nfunc (*ConnectSock) GetMessageName() string\n```\n\n```go\nfunc (*ConnectSock) GetMessageType() api.MessageType\n```\n\n```go\ntype ConnectSockReply struct {\n\tRetval int32\n}\n```\nConnectSockReply represents the VPP binary API message 'connect\\_sock\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 183:\n\n\t[\"connect_sock_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    {\"crc\" : \"0xf6988664\"}\n\t],\n\n```go\nfunc (*ConnectSockReply) GetCrcString() string\n```\n\n```go\nfunc (*ConnectSockReply) GetMessageName() string\n```\n\n```go\nfunc (*ConnectSockReply) GetMessageType() api.MessageType\n```\n\n```go\ntype ConnectURI struct {\n\tClientQueueAddress uint64\n\tOptions            []uint64 `struc:\"[16]uint64\"`\n\tURI                []byte   `struc:\"[128]byte\"`\n}\n```\nConnectURI represents the VPP binary API message 'connect\\_uri'. Generated from '/usr/share/vpp/api/session.api.json', line 79:\n\n\t[\"connect_uri\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u64\", \"client_queue_address\"],\n\t    [\"u64\", \"options\", 16],\n\t    [\"u8\", \"uri\", 128],\n\t    {\"crc\" : \"0x72035237\"}\n\t],\n\n```go\nfunc (*ConnectURI) GetCrcString() string\n```\n\n```go\nfunc (*ConnectURI) GetMessageName() string\n```\n\n```go\nfunc (*ConnectURI) GetMessageType() api.MessageType\n```\n\n```go\ntype ConnectURIReply struct {\n\tRetval int32\n}\n```\nConnectURIReply represents the VPP binary API message 'connect\\_uri\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 88:\n\n\t[\"connect_uri_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    {\"crc\" : \"0x54ec1256\"}\n\t],\n\n```go\nfunc (*ConnectURIReply) GetCrcString() string\n```\n\n```go\nfunc (*ConnectURIReply) GetMessageName() string\n```\n\n```go\nfunc (*ConnectURIReply) GetMessageType() api.MessageType\n```\n\n```go\ntype DisconnectSession struct {\n\tHandle uint64\n}\n```\nDisconnectSession represents the VPP binary API message 'disconnect\\_session'. Generated from '/usr/share/vpp/api/session.api.json', line 115:\n\n\t[\"disconnect_session\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u64\", \"handle\"],\n\t    {\"crc\" : \"0x18addf61\"}\n\t],\n\n```go\nfunc (*DisconnectSession) GetCrcString() string\n```\n\n```go\nfunc (*DisconnectSession) GetMessageName() string\n```\n\n```go\nfunc (*DisconnectSession) GetMessageType() api.MessageType\n```\n\n```go\ntype DisconnectSessionReply struct {\n\tRetval int32\n\tHandle uint64\n}\n```\nDisconnectSessionReply represents the VPP binary API message 'disconnect\\_session\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 122:\n\n\t[\"disconnect_session_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    [\"u64\", \"handle\"],\n\t    {\"crc\" : \"0x6fb16b8f\"}\n\t],\n\n```go\nfunc (*DisconnectSessionReply) GetCrcString() string\n```\n\n```go\nfunc (*DisconnectSessionReply) GetMessageName() string\n```\n\n```go\nfunc (*DisconnectSessionReply) GetMessageType() api.MessageType\n```\n\n```go\ntype MapAnotherSegment struct {\n\tSegmentSize uint32\n\tSegmentName []byte `struc:\"[128]byte\"`\n}\n```\nMapAnotherSegment represents the VPP binary API message 'map\\_another\\_segment'. Generated from '/usr/share/vpp/api/session.api.json', line 38:\n\n\t[\"map_another_segment\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u32\", \"segment_size\"],\n\t    [\"u8\", \"segment_name\", 128],\n\t    {\"crc\" : \"0x28ca2003\"}\n\t],\n\n```go\nfunc (*MapAnotherSegment) GetCrcString() string\n```\n\n```go\nfunc (*MapAnotherSegment) GetMessageName() string\n```\n\n```go\nfunc (*MapAnotherSegment) GetMessageType() api.MessageType\n```\n\n```go\ntype MapAnotherSegmentReply struct {\n\tRetval int32\n}\n```\nMapAnotherSegmentReply represents the VPP binary API message 'map\\_another\\_segment\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 46:\n\n\t[\"map_another_segment_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    {\"crc\" : \"0x76d11a9d\"}\n\t],\n\n```go\nfunc (*MapAnotherSegmentReply) GetCrcString() string\n```\n\n```go\nfunc (*MapAnotherSegmentReply) GetMessageName() string\n```\n\n```go\nfunc (*MapAnotherSegmentReply) GetMessageType() api.MessageType\n```\n\n```go\ntype ResetSession struct {\n\tHandle uint64\n}\n```\nResetSession represents the VPP binary API message 'reset\\_session'. Generated from '/usr/share/vpp/api/session.api.json', line 130:\n\n\t[\"reset_session\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u64\", \"handle\"],\n\t    {\"crc\" : \"0x601fefd7\"}\n\t],\n\n```go\nfunc (*ResetSession) GetCrcString() string\n```\n\n```go\nfunc (*ResetSession) GetMessageName() string\n```\n\n```go\nfunc (*ResetSession) GetMessageType() api.MessageType\n```\n\n```go\ntype ResetSessionReply struct {\n\tRetval int32\n\tHandle uint64\n}\n```\nResetSessionReply represents the VPP binary API message 'reset\\_session\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 137:\n\n\t[\"reset_session_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    [\"u64\", \"handle\"],\n\t    {\"crc\" : \"0x80f6c14f\"}\n\t],\n\n```go\nfunc (*ResetSessionReply) GetCrcString() string\n```\n\n```go\nfunc (*ResetSessionReply) GetMessageName() string\n```\n\n```go\nfunc (*ResetSessionReply) GetMessageType() api.MessageType\n```\n\n```go\ntype SessionEnableDisable struct {\n\tIsEnable uint8\n}\n```\nSessionEnableDisable represents the VPP binary API message 'session\\_enable\\_disable'. Generated from '/usr/share/vpp/api/session.api.json', line 222:\n\n\t[\"session_enable_disable\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u8\", \"is_enable\"],\n\t    {\"crc\" : \"0xa4cfced4\"}\n\t],\n\n```go\nfunc (*SessionEnableDisable) GetCrcString() string\n```\n\n```go\nfunc (*SessionEnableDisable) GetMessageName() string\n```\n\n```go\nfunc (*SessionEnableDisable) GetMessageType() api.MessageType\n```\n\n```go\ntype SessionEnableDisableReply struct {\n\tRetval int32\n}\n```\nSessionEnableDisableReply represents the VPP binary API message 'session\\_enable\\_disable\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 229:\n\n\t[\"session_enable_disable_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    {\"crc\" : \"0xcfb0e390\"}\n\t],\n\n```go\nfunc (*SessionEnableDisableReply) GetCrcString() string\n```\n\n```go\nfunc (*SessionEnableDisableReply) GetMessageName() string\n```\n\n```go\nfunc (*SessionEnableDisableReply) GetMessageType() api.MessageType\n```\n\n```go\ntype SessionRuleAddDel struct {\n\tTransportProto uint8\n\tIsIP4          uint8\n\tLclIP          []byte `struc:\"[16]byte\"`\n\tLclPlen        uint8\n\tRmtIP          []byte `struc:\"[16]byte\"`\n\tRmtPlen        uint8\n\tLclPort        uint16\n\tRmtPort        uint16\n\tActionIndex    uint32\n\tIsAdd          uint8\n\tAppnsIndex     uint32\n\tScope          uint8\n\tTag            []byte `struc:\"[64]byte\"`\n}\n```\nSessionRuleAddDel represents the VPP binary API message 'session\\_rule\\_add\\_del'. Generated from '/usr/share/vpp/api/session.api.json', line 254:\n\n\t[\"session_rule_add_del\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u8\", \"transport_proto\"],\n\t    [\"u8\", \"is_ip4\"],\n\t    [\"u8\", \"lcl_ip\", 16],\n\t    [\"u8\", \"lcl_plen\"],\n\t    [\"u8\", \"rmt_ip\", 16],\n\t    [\"u8\", \"rmt_plen\"],\n\t    [\"u16\", \"lcl_port\"],\n\t    [\"u16\", \"rmt_port\"],\n\t    [\"u32\", \"action_index\"],\n\t    [\"u8\", \"is_add\"],\n\t    [\"u32\", \"appns_index\"],\n\t    [\"u8\", \"scope\"],\n\t    [\"u8\", \"tag\", 64],\n\t    {\"crc\" : \"0xf540e6fb\"}\n\t],\n\n```go\nfunc (*SessionRuleAddDel) GetCrcString() string\n```\n\n```go\nfunc (*SessionRuleAddDel) GetMessageName() string\n```\n\n```go\nfunc (*SessionRuleAddDel) GetMessageType() api.MessageType\n```\n\n```go\ntype SessionRuleAddDelReply struct {\n\tRetval int32\n}\n```\nSessionRuleAddDelReply represents the VPP binary API message 'session\\_rule\\_add\\_del\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 273:\n\n\t[\"session_rule_add_del_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    {\"crc\" : \"0xa000e586\"}\n\t],\n\n```go\nfunc (*SessionRuleAddDelReply) GetCrcString() string\n```\n\n```go\nfunc (*SessionRuleAddDelReply) GetMessageName() string\n```\n\n```go\nfunc (*SessionRuleAddDelReply) GetMessageType() api.MessageType\n```\n\n```go\ntype SessionRulesDetails struct {\n\tTransportProto uint8\n\tIsIP4          uint8\n\tLclIP          []byte `struc:\"[16]byte\"`\n\tLclPlen        uint8\n\tRmtIP          []byte `struc:\"[16]byte\"`\n\tRmtPlen        uint8\n\tLclPort        uint16\n\tRmtPort        uint16\n\tActionIndex    uint32\n\tAppnsIndex     uint32\n\tScope          uint8\n\tTag            []byte `struc:\"[64]byte\"`\n}\n```\nSessionRulesDetails represents the VPP binary API message 'session\\_rules\\_details'. Generated from '/usr/share/vpp/api/session.api.json', line 285:\n\n\t[\"session_rules_details\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u8\", \"transport_proto\"],\n\t    [\"u8\", \"is_ip4\"],\n\t    [\"u8\", \"lcl_ip\", 16],\n\t    [\"u8\", \"lcl_plen\"],\n\t    [\"u8\", \"rmt_ip\", 16],\n\t    [\"u8\", \"rmt_plen\"],\n\t    [\"u16\", \"lcl_port\"],\n\t    [\"u16\", \"rmt_port\"],\n\t    [\"u32\", \"action_index\"],\n\t    [\"u32\", \"appns_index\"],\n\t    [\"u8\", \"scope\"],\n\t    [\"u8\", \"tag\", 64],\n\t    {\"crc\" : \"0x081d0d82\"}\n\t]\n\n```go\nfunc (*SessionRulesDetails) GetCrcString() string\n```\n\n```go\nfunc (*SessionRulesDetails) GetMessageName() string\n```\n\n```go\nfunc (*SessionRulesDetails) GetMessageType() api.MessageType\n```\n\n```go\ntype SessionRulesDump struct {\n}\n```\nSessionRulesDump represents the VPP binary API message 'session\\_rules\\_dump'. Generated from '/usr/share/vpp/api/session.api.json', line 279:\n\n\t[\"session_rules_dump\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    {\"crc\" : \"0xcb37054a\"}\n\t],\n\n```go\nfunc (*SessionRulesDump) GetCrcString() string\n```\n\n```go\nfunc (*SessionRulesDump) GetMessageName() string\n```\n\n```go\nfunc (*SessionRulesDump) GetMessageType() api.MessageType\n```\n\n```go\ntype UnbindSock struct {\n\tHandle uint64\n}\n```\nUnbindSock represents the VPP binary API message 'unbind\\_sock'. Generated from '/usr/share/vpp/api/session.api.json', line 157:\n\n\t[\"unbind_sock\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u64\", \"handle\"],\n\t    {\"crc\" : \"0x9007c8c9\"}\n\t],\n\n```go\nfunc (*UnbindSock) GetCrcString() string\n```\n\n```go\nfunc (*UnbindSock) GetMessageName() string\n```\n\n```go\nfunc (*UnbindSock) GetMessageType() api.MessageType\n```\n\n```go\ntype UnbindSockReply struct {\n\tRetval int32\n}\n```\nUnbindSockReply represents the VPP binary API message 'unbind\\_sock\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 164:\n\n\t[\"unbind_sock_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    {\"crc\" : \"0x5d9c5da6\"}\n\t],\n\n```go\nfunc (*UnbindSockReply) GetCrcString() string\n```\n\n```go\nfunc (*UnbindSockReply) GetMessageName() string\n```\n\n```go\nfunc (*UnbindSockReply) GetMessageType() api.MessageType\n```\n\n```go\ntype UnbindURI struct {\n\tURI []byte `struc:\"[128]byte\"`\n}\n```\nUnbindURI represents the VPP binary API message 'unbind\\_uri'. Generated from '/usr/share/vpp/api/session.api.json', line 66:\n\n\t[\"unbind_uri\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"client_index\"],\n\t    [\"u32\", \"context\"],\n\t    [\"u8\", \"uri\", 128],\n\t    {\"crc\" : \"0x46569743\"}\n\t],\n\n```go\nfunc (*UnbindURI) GetCrcString() string\n```\n\n```go\nfunc (*UnbindURI) GetMessageName() string\n```\n\n```go\nfunc (*UnbindURI) GetMessageType() api.MessageType\n```\n\n```go\ntype UnbindURIReply struct {\n\tRetval int32\n}\n```\nUnbindURIReply represents the VPP binary API message 'unbind\\_uri\\_reply'. Generated from '/usr/share/vpp/api/session.api.json', line 73:\n\n\t[\"unbind_uri_reply\",\n\t    [\"u16\", \"_vl_msg_id\"],\n\t    [\"u32\", \"context\"],\n\t    [\"i32\", \"retval\"],\n\t    {\"crc\" : \"0x310db78f\"}\n\t],\n\n```go\nfunc (*UnbindURIReply) GetCrcString() string\n```\n\n```go\nfunc (*UnbindURIReply) GetMessageName() string\n```\n\n```go\nfunc (*UnbindURIReply) GetMessageType() api.MessageType\n```\n\n","path":"github.com/EMnify/vpp-agent/plugins/defaultplugins/l4plugin/bin_api/session","name":"session","synopsis":"Code generated by govpp binapi-generator DO NOT EDIT.","isRedistributable":true}
