|
Monero
|


Go to the source code of this file.
Classes | |
| struct | epee::levin::bucket_head |
| struct | epee::levin::bucket_head2 |
| struct | epee::levin::levin_commands_handler< t_connection_context > |
| Provides space for levin (p2p) header, so that payload can be sent without copy. More... | |
Namespaces | |
| namespace | epee |
| TODO: (mj-xmr) This will be reduced in an another PR. | |
| namespace | epee::levin |
Macros | |
| #define | LEVIN_SIGNATURE 0x0101010101012101LL |
| #define | LEVIN_DEFAULT_TIMEOUT_PRECONFIGURED 0 |
| #define | LEVIN_INITIAL_MAX_PACKET_SIZE 256*1024 |
| #define | LEVIN_DEFAULT_MAX_PACKET_SIZE 100000000 |
| #define | LEVIN_PACKET_REQUEST 0x00000001 |
| #define | LEVIN_PACKET_RESPONSE 0x00000002 |
| #define | LEVIN_PACKET_BEGIN 0x00000004 |
| #define | LEVIN_PACKET_END 0x00000008 |
| #define | LEVIN_PROTOCOL_VER_0 0 |
| #define | LEVIN_PROTOCOL_VER_1 1 |
| #define | LEVIN_OK 0 |
| #define | LEVIN_ERROR_CONNECTION -1 |
| #define | LEVIN_ERROR_CONNECTION_NOT_FOUND -2 |
| #define | LEVIN_ERROR_CONNECTION_DESTROYED -3 |
| #define | LEVIN_ERROR_CONNECTION_TIMEDOUT -4 |
| #define | LEVIN_ERROR_CONNECTION_NO_DUPLEX_PROTOCOL -5 |
| #define | LEVIN_ERROR_CONNECTION_HANDLER_NOT_DEFINED -6 |
| #define | LEVIN_ERROR_FORMAT -7 |
| #define | DESCRIBE_RET_CODE(code) |
Functions | |
| const char * | epee::levin::get_err_descr (int err) |
| bucket_head2 | epee::levin::make_header (uint32_t command, uint64_t msg_size, uint32_t flags, bool expect_response) noexcept |
| byte_slice | epee::levin::make_noise_notify (std::size_t noise_bytes) |
| byte_slice | epee::levin::make_fragmented_notify (const std::size_t noise_size, int command, message_writer message) |
| #define DESCRIBE_RET_CODE | ( | code | ) |
| #define LEVIN_DEFAULT_MAX_PACKET_SIZE 100000000 |
| #define LEVIN_DEFAULT_TIMEOUT_PRECONFIGURED 0 |
| #define LEVIN_ERROR_CONNECTION -1 |
| #define LEVIN_ERROR_CONNECTION_DESTROYED -3 |
| #define LEVIN_ERROR_CONNECTION_HANDLER_NOT_DEFINED -6 |
| #define LEVIN_ERROR_CONNECTION_NO_DUPLEX_PROTOCOL -5 |
| #define LEVIN_ERROR_CONNECTION_NOT_FOUND -2 |
| #define LEVIN_ERROR_CONNECTION_TIMEDOUT -4 |
| #define LEVIN_ERROR_FORMAT -7 |
| #define LEVIN_INITIAL_MAX_PACKET_SIZE 256*1024 |
| #define LEVIN_OK 0 |
| #define LEVIN_PACKET_BEGIN 0x00000004 |
| #define LEVIN_PACKET_END 0x00000008 |
| #define LEVIN_PACKET_REQUEST 0x00000001 |
| #define LEVIN_PACKET_RESPONSE 0x00000002 |
| #define LEVIN_PROTOCOL_VER_0 0 |
| #define LEVIN_PROTOCOL_VER_1 1 |
| #define LEVIN_SIGNATURE 0x0101010101012101LL |