OpenWSN Firmware
OpenUdp

UDP implementation. More...

Data Structures

struct  udp_ht
 

Enumerations

enum  UDP_enums { UDP_ID = 3, UDP_CHECKSUM = 2, UDP_PORTS = 0 }
 
enum  UDP_ID_enums { UDP_ID_DEFAULT = 0x1E }
 
enum  UDP_CHECKSUM_enums { UDP_CHECKSUM_INLINE = 0, UDP_CHECKSUM_ELIDED = 1 }
 
enum  UDP_PORTS_enums { UDP_PORTS_16b_SRC_16b_DEST_INLINE = 0, UDP_PORTS_16b_SRC_8b_DEST_INLINE = 1, UDP_PORTS_8b_SRC_16b_DEST_INLINE = 2, UDP_PORTS_4b_SRC_4b_DEST_INLINE = 3 }
 

Functions

void openudp_init (void)
 
owerror_t openudp_send (OpenQueueEntry_t *msg)
 
void openudp_sendDone (OpenQueueEntry_t *msg, owerror_t error)
 
void openudp_receive (OpenQueueEntry_t *msg)
 
bool openudp_debugPrint (void)
 

Detailed Description

UDP implementation.

This implementation follows http://tools.ietf.org/html/rfc768.

Author
Thomas Watteyne watte.nosp@m.yne@.nosp@m.eecs..nosp@m.berk.nosp@m.eley..nosp@m.edu, August 2010
Ankur Mehta mehta.nosp@m.nk@e.nosp@m.ecs.b.nosp@m.erke.nosp@m.ley.e.nosp@m.du, September 2010

Enumeration Type Documentation

Enumerator
UDP_CHECKSUM_INLINE 
UDP_CHECKSUM_ELIDED 
enum UDP_enums
Enumerator
UDP_ID 
UDP_CHECKSUM 
UDP_PORTS 
Enumerator
UDP_ID_DEFAULT 
Enumerator
UDP_PORTS_16b_SRC_16b_DEST_INLINE 
UDP_PORTS_16b_SRC_8b_DEST_INLINE 
UDP_PORTS_8b_SRC_16b_DEST_INLINE 
UDP_PORTS_4b_SRC_4b_DEST_INLINE 

Function Documentation

bool openudp_debugPrint ( void  )
void openudp_init ( void  )
void openudp_receive ( OpenQueueEntry_t msg)
owerror_t openudp_send ( OpenQueueEntry_t msg)
void openudp_sendDone ( OpenQueueEntry_t msg,
owerror_t  error 
)