Anjay Lite
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
anj_udp.h
Go to the documentation of this file.
1/*
2 * Copyright 2023-2025 AVSystem <avsystem@avsystem.com>
3 * AVSystem Anjay Lite LwM2M SDK
4 * All rights reserved.
5 *
6 * Licensed under AVSystem Anjay Lite LwM2M Client SDK - Non-Commercial License.
7 * See the attached LICENSE file for details.
8 */
9
10#ifndef ANJ_UDP_H
11#define ANJ_UDP_H
12
13#include <anj/anj_config.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#ifdef ANJ_NET_WITH_UDP
20
22
32
37
38#endif // ANJ_NET_WITH_UDP
39
40#ifdef __cplusplus
41}
42#endif
43
44#endif // ANJ_UDP_H
int anj_net_get_state_t(anj_net_ctx_t *ctx, anj_net_socket_state_t *out_value)
Definition anj_net_api.h:566
int anj_net_close_t(anj_net_ctx_t *ctx)
Definition anj_net_api.h:556
int anj_net_shutdown_t(anj_net_ctx_t *ctx)
Definition anj_net_api.h:543
const void * anj_net_get_system_socket_t(anj_net_ctx_t *ctx)
Definition anj_net_api.h:413
int anj_net_get_bytes_received_t(anj_net_ctx_t *ctx, uint64_t *out_value)
Definition anj_net_api.h:599
int anj_net_reuse_last_port_t(anj_net_ctx_t *ctx)
Definition anj_net_api.h:528
int anj_net_get_bytes_sent_t(anj_net_ctx_t *ctx, uint64_t *out_value)
Definition anj_net_api.h:588
int anj_net_create_ctx_t(anj_net_ctx_t **ctx, const anj_net_config_t *config)
Definition anj_net_api.h:430
int anj_net_get_inner_mtu_t(anj_net_ctx_t *ctx, int32_t *out_value)
Definition anj_net_api.h:578
int anj_net_recv_t(anj_net_ctx_t *ctx, size_t *bytes_received, uint8_t *buf, size_t length)
Definition anj_net_api.h:513
int anj_net_cleanup_ctx_t(anj_net_ctx_t **ctx)
Definition anj_net_api.h:441
int anj_net_connect_t(anj_net_ctx_t *ctx, const char *hostname, const char *port)
Definition anj_net_api.h:462
int anj_net_send_t(anj_net_ctx_t *ctx, size_t *bytes_sent, const uint8_t *buf, size_t length)
Definition anj_net_api.h:484
anj_net_reuse_last_port_t anj_udp_reuse_last_port
Definition anj_udp.h:31
anj_net_get_bytes_received_t anj_udp_get_bytes_received
Definition anj_udp.h:33
anj_net_send_t anj_udp_send
Definition anj_udp.h:27
anj_net_connect_t anj_udp_connect
Definition anj_udp.h:25
anj_net_get_bytes_sent_t anj_udp_get_bytes_sent
Definition anj_udp.h:34
anj_net_close_t anj_udp_close
Definition anj_udp.h:24
anj_net_get_system_socket_t anj_udp_get_system_socket
Definition anj_udp.h:23
anj_net_create_ctx_t anj_udp_create_ctx
Definition anj_udp.h:26
anj_net_recv_t anj_udp_recv
Definition anj_udp.h:28
anj_net_cleanup_ctx_t anj_udp_cleanup_ctx
Definition anj_udp.h:30
anj_net_get_state_t anj_udp_get_state
Definition anj_udp.h:36
anj_net_shutdown_t anj_udp_shutdown
Definition anj_udp.h:29
anj_net_get_inner_mtu_t anj_udp_get_inner_mtu
Definition anj_udp.h:35