Microchip® Advanced Software Framework

uaodv-def.h File Reference

    Definitions for the micro implementation of the AODV ad hoc routing protocol
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se
#include "net/ip/uip.h"

Data Structures

struct  uaodv_bad_hop_ext
 
struct  uaodv_extension
 
struct  uaodv_msg
 
struct  uaodv_msg_rerr
 
struct  uaodv_msg_rrep
 
struct  uaodv_msg_rrep_ack
 
struct  uaodv_msg_rreq
 

Macros

#define NUM_PRECURSORS   4
 
#define RREP_HELLO_INTERVAL_EXT   1 /* Per RFC 3561. */
 
#define RREQ_BAD_HOP_EXT   101 /* Non standard extension /bg */
 
#define UAODV_RERR_NODELETE   (1 << 7)
 
#define UAODV_RERR_TYPE   3
 
#define UAODV_RERR_UNKNOWN   (1 << 6) /* Non standard extension /bg. */
 
#define UAODV_RREP_ACK   (1 << 6)
 
#define UAODV_RREP_ACK_TYPE   4
 
#define UAODV_RREP_REPAIR   (1 << 7)
 
#define UAODV_RREP_TYPE   2
 
#define UAODV_RREQ_DESTONLY   (1 << 4)
 
#define UAODV_RREQ_GRATIOUS   (1 << 5)
 
#define UAODV_RREQ_JOIN   (1 << 7)
 
#define UAODV_RREQ_REPAIR   (1 << 6)
 
#define UAODV_RREQ_TYPE   1
 
#define UAODV_RREQ_UNKSEQNO   (1 << 3)
 
#define UAODV_UDPPORT   654
 

#define NUM_PRECURSORS   4
#define RREP_HELLO_INTERVAL_EXT   1 /* Per RFC 3561. */
#define RREQ_BAD_HOP_EXT   101 /* Non standard extension /bg */

Referenced by handle_incoming_rreq().

#define UAODV_RERR_NODELETE   (1 << 7)
#define UAODV_RERR_TYPE   3
#define UAODV_RERR_UNKNOWN   (1 << 6) /* Non standard extension /bg. */

Referenced by handle_incoming_rerr(), and send_rerr().

#define UAODV_RREP_ACK   (1 << 6)

Referenced by handle_incoming_rrep().

#define UAODV_RREP_ACK_TYPE   4

Referenced by handle_incoming_rrep().

#define UAODV_RREP_REPAIR   (1 << 7)
#define UAODV_RREP_TYPE   2
#define UAODV_RREQ_DESTONLY   (1 << 4)

Referenced by handle_incoming_rreq().

#define UAODV_RREQ_GRATIOUS   (1 << 5)
#define UAODV_RREQ_JOIN   (1 << 7)
#define UAODV_RREQ_REPAIR   (1 << 6)
#define UAODV_RREQ_TYPE   1
#define UAODV_RREQ_UNKSEQNO   (1 << 3)

Referenced by handle_incoming_rreq(), and send_rreq().

#define UAODV_UDPPORT   654

Referenced by PROCESS_THREAD(), and uip_fw_forward().