dessert_msg Struct Reference
[G L O B A L # D E F I N E S and T Y P E D E F S / S T R U C T U R E S]

A basic message send on des-sert layer2.5. More...

#include <dessert.h>

Data Fields

struct ether_header l2h
 the layer2 header on the wire
char proto [DESSERT_PROTO_STRLEN]
 short name of the protocol as passed to dessert_init()
uint8_t ver
 version of the app as passed to dessert_init()
uint8_t flags
 flags - bits 1-4 reserved for dessert, bits 5-8 for app usage
union {
   uint32_t   u32
 reserved for app usage
   struct {
      uint8_t   ttl
 ttl or hopcount field for app usage - 0xff if not used
      uint8_t   u8
 reserved for app usage - 0x00 if not used
      uint16_t   u16
 reserved for app usage - 0xbeef if not used
   } 
}; 
uint16_t hlen
 header length incl.
uint16_t plen
 payload length - in network byte order

Detailed Description

A basic message send on des-sert layer2.5.


Field Documentation

header length incl.

extensions - in network byte order


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2