dessert_msg Struct Reference
[Global defines, typedefs, and structures]

Structure of the DES-SERT Message. 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

Structure of the DES-SERT Message.

All packets sent over a network using DES-SERT based routing daemons are encapsulated in a DES-SERT message which can be considered the layer 2.5 header.


Field Documentation

header length incl.

extensions - in network byte order


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