|
libcoap 4.3.5-develop-13abce9
|
Posix CoAP Datagram (UDP) handling functions. More...
#include "coap3/coap_libcoap_build.h"
Include dependency graph for coap_dgrm_posix.c:Go to the source code of this file.
Data Structures | |
| struct | in6_pktinfo |
| struct | in_pktinfo |
Macros | |
| #define | SOL_IP IPPROTO_IP |
| #define | COAP_SOL_IP SOL_IP |
| #define | iov_len_t size_t |
| #define | SIN6(A) ((struct sockaddr_in6 *)(A)) |
Functions | |
| ssize_t | coap_socket_send (coap_socket_t *sock, coap_session_t *session, const uint8_t *data, size_t datalen) |
| Function interface for data transmission. | |
| ssize_t | coap_socket_recv (coap_socket_t *sock, coap_packet_t *packet) |
| Function interface for reading data. | |
| void | coap_socket_dgrm_close (coap_socket_t *sock) |
| Function interface to close off a datagram socket. | |
Posix CoAP Datagram (UDP) handling functions.
Definition in file coap_dgrm_posix.c.
| #define COAP_SOL_IP SOL_IP |
Definition at line 388 of file coap_dgrm_posix.c.
| #define iov_len_t size_t |
Definition at line 426 of file coap_dgrm_posix.c.
| #define SIN6 | ( | A | ) | ((struct sockaddr_in6 *)(A)) |
Definition at line 662 of file coap_dgrm_posix.c.
| #define SOL_IP IPPROTO_IP |
Definition at line 383 of file coap_dgrm_posix.c.