gnrc/udp.h File Reference

UDP GNRC definition. More...

Detailed Description

UDP GNRC definition.

Hauke Petersen

Definition in file gnrc/udp.h.

#include <stdint.h>
#include "byteorder.h"
#include "net/gnrc.h"
#include "net/udp.h"
+ Include dependency graph for gnrc/udp.h:

Go to the source code of this file.


 Default message queue size for the UDP thread.
 Priority of the UDP thread.
 Default stack size to use for the UDP thread.


int gnrc_udp_calc_csum (gnrc_pktsnip_t *hdr, gnrc_pktsnip_t *pseudo_hdr)
 Calculate the checksum for the given packet. More...
gnrc_pktsnip_tgnrc_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...