Go to the source code of this file.
|
static const void * | anj_net_get_system_socket (anj_net_binding_type_t type, anj_net_ctx_t *ctx) |
|
static int | anj_net_create_ctx (anj_net_binding_type_t type, anj_net_ctx_t **ctx, const anj_net_config_t *config) |
|
static int | anj_net_connect (anj_net_binding_type_t type, anj_net_ctx_t *ctx, const char *hostname, const char *port) |
|
static int | anj_net_send (anj_net_binding_type_t type, anj_net_ctx_t *ctx, size_t *bytes_sent, const uint8_t *buf, size_t length) |
|
static int | anj_net_recv (anj_net_binding_type_t type, anj_net_ctx_t *ctx, size_t *bytes_received, uint8_t *buf, size_t length) |
|
static int | anj_net_close (anj_net_binding_type_t type, anj_net_ctx_t *ctx) |
|
static int | anj_net_shutdown (anj_net_binding_type_t type, anj_net_ctx_t *ctx) |
|
static int | anj_net_cleanup_ctx (anj_net_binding_type_t type, anj_net_ctx_t **ctx) |
|
static int | anj_net_reuse_last_port (anj_net_binding_type_t type, anj_net_ctx_t *ctx) |
|
static int | anj_net_get_bytes_received (anj_net_binding_type_t type, anj_net_ctx_t *ctx, uint64_t *out_value) |
|
static int | anj_net_get_bytes_sent (anj_net_binding_type_t type, anj_net_ctx_t *ctx, uint64_t *out_value) |
|
static int | anj_net_get_inner_mtu (anj_net_binding_type_t type, anj_net_ctx_t *ctx, int32_t *out_value) |
|
static int | anj_net_get_state (anj_net_binding_type_t type, anj_net_ctx_t *ctx, anj_net_socket_state_t *out_value) |
|
◆ anj_net_cleanup_ctx()
◆ anj_net_close()
◆ anj_net_connect()
◆ anj_net_create_ctx()
◆ anj_net_get_bytes_received()
◆ anj_net_get_bytes_sent()
◆ anj_net_get_inner_mtu()
◆ anj_net_get_state()
◆ anj_net_get_system_socket()
◆ anj_net_recv()
◆ anj_net_reuse_last_port()
◆ anj_net_send()
◆ anj_net_shutdown()