23 #include <stdatomic.h> 30 #include "udp-socket.h" 39 #ifndef SOCK_MBOX_SIZE 40 #define SOCK_MBOX_SIZE (2) 44 #error "emb6 only runs with IPv6 support"
mbox for receiving
Definitions for IPv6 addresses.
Mailbox struct definition.
const void * data
data of received packet
const ipv6_addr_t * src
current number of recv calls
queue for mbox
Describes a message object which can be sent between threads.
Type with the same alignment and size as atomic_int
UDP sock API definition for emb6
Mutex for thread synchronization.
mutex for the connection
Size for struct sock_udp::mbox_queue.
struct sock_udp::@228 recv_info
info on received packet
length of received packet data
Data type to represent an IPv6 address.
struct udp_socket sock
emb6 internal socket