mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-20 06:29:04 +03:00
netif: Create netif layer, initially provide datagram read/write
Add in skeleton coap_netif.c coap_netif_internal.h files, populated with coap_netif_dgrm_read(), coap_netif_dgrm_read_ep(), and coap_netif_dgrm_write() functions that are called by the CoAP and (D)TLS code which in turn call the appropriate coap_socket_*() functions. The coap_dtls_send() function parameters are aligned with coap_netif_dgrm_write().
This commit is contained in:
1 parent
62c57e4842
commit
f933c6e604
30 files changed
+362
-95
No files matched your search
@@ -143,6 +143,7 @@ COAP_SRC = coap_address.c \
|
||||
coap_io.c \
|
||||
coap_io_lwip.c \
|
||||
net.c \
|
||||
coap_netif.c \
|
||||
coap_notls.c \
|
||||
coap_option.c \
|
||||
coap_oscore.c \
|
||||
|
||||
@@ -43,4 +43,6 @@
|
||||
|
||||
#define HAVE_SNPRINTF
|
||||
|
||||
#define HAVE_ERRNO_H
|
||||
|
||||
#endif /* COAP_CONFIG_H_ */
|
||||
@@ -43,4 +43,6 @@
|
||||
|
||||
#define HAVE_SNPRINTF
|
||||
|
||||
#define HAVE_ERRNO_H
|
||||
|
||||
#endif /* COAP_CONFIG_H_ */
|
||||
Reference in new issue
Block a user