Microchip® Advanced Software Framework

uip-mcast6.h File Reference

This header file contains configuration directives for uIPv6 multicast support.

We currently support 2 engines:

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-engines.h"
#include "net/ipv6/multicast/uip-mcast6-route.h"
#include "net/ipv6/multicast/smrf.h"
#include "net/ipv6/multicast/roll-tm.h"
#include <string.h>

Data Structures

struct  uip_mcast6_driver
 

Macros

#define RPL_CONF_MULTICAST   0
 
#define UIP_CONF_IPV6_MULTICAST   0
 
#define UIP_MCAST6_ACCEPT   1
 
#define UIP_MCAST6_DROP   0
 
#define UIP_MCAST6_ENGINE   UIP_MCAST6_ENGINE_NONE
 
#define uip_mcast6_get_address_scope(a)   ((a)->u8[1] & 0x0F)
 Get a multicast address' scope. More...
 
#define UIP_MCAST6_SCOPE_ADMIN_LOCAL   0x04
 
#define UIP_MCAST6_SCOPE_GLOBAL   0x0E
 
#define UIP_MCAST6_SCOPE_INTERFACE   0x01
 
#define UIP_MCAST6_SCOPE_LINK_LOCAL   0x02
 
#define UIP_MCAST6_SCOPE_ORG_LOCAL   0x08
 
#define UIP_MCAST6_SCOPE_REALM_LOCAL   0x03 /* draft-ietf-6man-multicast-scopes */
 
#define UIP_MCAST6_SCOPE_SITE_LOCAL   0x05
 

Variables

struct uip_mcast6_driver UIP_MCAST6
 

#define RPL_CONF_MULTICAST   0
#define UIP_CONF_IPV6_MULTICAST   0
#define UIP_MCAST6_ACCEPT   1

Referenced by uip_process().

#define UIP_MCAST6_DROP   0
#define UIP_MCAST6_ENGINE   UIP_MCAST6_ENGINE_NONE
#define uip_mcast6_get_address_scope (   a)    ((a)->u8[1] & 0x0F)

Get a multicast address' scope.

a is of type uip_ip6addr_t*

#define UIP_MCAST6_SCOPE_ADMIN_LOCAL   0x04
#define UIP_MCAST6_SCOPE_GLOBAL   0x0E
#define UIP_MCAST6_SCOPE_INTERFACE   0x01
#define UIP_MCAST6_SCOPE_LINK_LOCAL   0x02
#define UIP_MCAST6_SCOPE_ORG_LOCAL   0x08
#define UIP_MCAST6_SCOPE_REALM_LOCAL   0x03 /* draft-ietf-6man-multicast-scopes */
#define UIP_MCAST6_SCOPE_SITE_LOCAL   0x05

struct uip_mcast6_driver UIP_MCAST6