UDP GNRC definition. More...
UDP GNRC definition.
Definition in file udp.h.
Go to the source code of this file.
Macros | |
#define | CONFIG_GNRC_UDP_MSG_QUEUE_SIZE_EXP (3U) |
Default message queue size for the UDP thread (as exponent of 2^n). More... | |
#define | GNRC_UDP_PRIO (THREAD_PRIORITY_MAIN - 2) |
Priority of the UDP thread. | |
#define | GNRC_UDP_STACK_SIZE (THREAD_STACKSIZE_DEFAULT) |
Default stack size to use for the UDP thread. | |
#define | GNRC_UDP_MSG_QUEUE_SIZE (1 << CONFIG_GNRC_UDP_MSG_QUEUE_SIZE_EXP) |
Message queue size to use for the UDP thread. | |
Functions | |
int | gnrc_udp_calc_csum (gnrc_pktsnip_t *hdr, gnrc_pktsnip_t *pseudo_hdr) |
Calculate the checksum for the given packet. More... | |
gnrc_pktsnip_t * | gnrc_udp_hdr_build (gnrc_pktsnip_t *payload, uint16_t src, uint16_t dst) |
Allocate and initialize a fresh UDP header in the packet buffer. More... | |
int | gnrc_udp_init (void) |
Initialize and start UDP. More... | |