Provides an implementation of the Sock API by the OpenWSN network stack. More...
Provides an implementation of the Sock API by the OpenWSN network stack.
Files | |
file | sock_types.h |
OpenWSN-specific types. | |
Data Structures | |
struct | openwsn_gen_sock |
Generic openwsn sock type. More... | |
struct | sock_udp |
UDP sock type. More... | |
Macros | |
#define | CONFIG_OPENWSN_SOCK_MBOX_SIZE_EXP (3) |
Default size for OpenWSN sock_udp_t::mbox_queue (as exponent of 2^n). | |
#define | OPENWSN_SOCK_MBOX_SIZE (1 << CONFIG_OPENWSN_SOCK_MBOX_SIZE_EXP) |
Size for OpenWSN sock_udp_t::mbox_queue. | |
Typedefs | |
typedef struct openwsn_gen_sock | openwsn_gen_sock_t |
Forward declaration. | |
#define CONFIG_OPENWSN_SOCK_MBOX_SIZE_EXP (3) |
Default size for OpenWSN sock_udp_t::mbox_queue (as exponent of 2^n).
As the queue size ALWAYS needs to be power of two, this option represents the exponent of 2^n, which will be used as the size of the queue.
Definition at line 45 of file sock_types.h.
#define OPENWSN_SOCK_MBOX_SIZE (1 << CONFIG_OPENWSN_SOCK_MBOX_SIZE_EXP) |
Size for OpenWSN sock_udp_t::mbox_queue.
Definition at line 52 of file sock_types.h.
typedef struct openwsn_gen_sock openwsn_gen_sock_t |
Forward declaration.
Definition at line 59 of file sock_types.h.