Microchip® Advanced Software Framework

roll-tm.h File Reference

    Header file for IPv6 multicast according to the algorithm in the
    "MCAST Forwarding Using Trickle" internet draft.
    The current version of the draft can always be found in
    http://tools.ietf.org/html/draft-ietf-roll-trickle-mcast

    This implementation is based on the draft version stored in
    ROLL_TM_VER.

    In draft v2, the document was renamed to
    "Multicast Protocol for Low power and Lossy Networks (MPL)"
    Due to very significant changes between draft versions 1 and 2,
    MPL will be implemented as a separate engine and this file here
    will provide legacy support for Draft v1.
Author
George Oikonomou - oikon.nosp@m.omou.nosp@m.@user.nosp@m.s.so.nosp@m.urcef.nosp@m.orge.nosp@m..net
#include "contiki-conf.h"
#include "net/ipv6/multicast/uip-mcast6-stats.h"
#include <stdint.h>

Data Structures

struct  roll_tm_stats
 

Macros

#define ROLL_TM_BUFF_NUM   6
 
#define ROLL_TM_DEST_ALL_NODES   0
 
#define ROLL_TM_DGRAM_IN   1
 
#define ROLL_TM_DGRAM_OUT   0
 
#define ROLL_TM_ICMP_CODE   0 /* ICMPv6 code field */
 
#define ROLL_TM_IMAX_0   1 /* Imax = 500ms */
 
#define ROLL_TM_IMAX_1   9 /* Imax = 256 secs */
 
#define ROLL_TM_IMIN_0   32 /* 250 msec */
 
#define ROLL_TM_IMIN_1   64 /* 500 msec */
 
#define ROLL_TM_INFINITE_REDUNDANCY   0xFF
 
#define ROLL_TM_IP_HOP_LIMIT   0xFF /* Hop limit for ICMP messages */
 
#define ROLL_TM_K_0   ROLL_TM_INFINITE_REDUNDANCY
 
#define ROLL_TM_K_1   1
 
#define ROLL_TM_SET_M_BIT   1
 
#define ROLL_TM_SHORT_SEEDS   0
 
#define ROLL_TM_T_ACTIVE_0   3
 
#define ROLL_TM_T_ACTIVE_1   3
 
#define ROLL_TM_T_DWELL_0   11
 
#define ROLL_TM_T_DWELL_1   12
 
#define ROLL_TM_VER   1 /* Supported Draft Version */
 
#define ROLL_TM_WINS   2
 

#define ROLL_TM_BUFF_NUM   6
#define ROLL_TM_DEST_ALL_NODES   0
#define ROLL_TM_DGRAM_IN   1
#define ROLL_TM_DGRAM_OUT   0
#define ROLL_TM_ICMP_CODE   0 /* ICMPv6 code field */
#define ROLL_TM_IMAX_0   1 /* Imax = 500ms */
#define ROLL_TM_IMAX_1   9 /* Imax = 256 secs */
#define ROLL_TM_IMIN_0   32 /* 250 msec */
#define ROLL_TM_IMIN_1   64 /* 500 msec */
#define ROLL_TM_INFINITE_REDUNDANCY   0xFF
#define ROLL_TM_IP_HOP_LIMIT   0xFF /* Hop limit for ICMP messages */
#define ROLL_TM_K_0   ROLL_TM_INFINITE_REDUNDANCY
#define ROLL_TM_K_1   1
#define ROLL_TM_SET_M_BIT   1
#define ROLL_TM_SHORT_SEEDS   0
#define ROLL_TM_T_ACTIVE_0   3
#define ROLL_TM_T_ACTIVE_1   3
#define ROLL_TM_T_DWELL_0   11
#define ROLL_TM_T_DWELL_1   12
#define ROLL_TM_VER   1 /* Supported Draft Version */
#define ROLL_TM_WINS   2