74#define UIP_MCAST6_DROP 0
75#define UIP_MCAST6_ACCEPT 1
78#define UIP_MCAST6_SCOPE_INTERFACE 0x01
79#define UIP_MCAST6_SCOPE_LINK_LOCAL 0x02
80#define UIP_MCAST6_SCOPE_REALM_LOCAL 0x03
81#define UIP_MCAST6_SCOPE_ADMIN_LOCAL 0x04
82#define UIP_MCAST6_SCOPE_SITE_LOCAL 0x05
83#define UIP_MCAST6_SCOPE_ORG_LOCAL 0x08
84#define UIP_MCAST6_SCOPE_GLOBAL 0x0E
88#ifdef UIP_MCAST6_CONF_ENGINE
89#define UIP_MCAST6_ENGINE UIP_MCAST6_CONF_ENGINE
91#define UIP_MCAST6_ENGINE UIP_MCAST6_ENGINE_NONE
139 uint8_t (*
in)(void);
146#define uip_mcast6_get_address_scope(a) ((a)->u8[1] & 0x0F)
152#define UIP_IPV6_MULTICAST 1
154#if UIP_MCAST6_ENGINE == UIP_MCAST6_ENGINE_ROLL_TM
155#define RPL_WITH_MULTICAST 0
156#define UIP_CONF_IPV6_ROLL_TM 1
158#define UIP_MCAST6 roll_tm_driver
160#elif UIP_MCAST6_ENGINE == UIP_MCAST6_ENGINE_SMRF
161#define RPL_WITH_MULTICAST 1
163#define UIP_MCAST6 smrf_driver
165#elif UIP_MCAST6_ENGINE == UIP_MCAST6_ENGINE_ESMRF
166#define RPL_WITH_MULTICAST 1
167#define UIP_MCAST6 esmrf_driver
169#elif UIP_MCAST6_ENGINE == UIP_MCAST6_ENGINE_MPL
170#define RPL_WITH_MULTICAST 0
171#define UIP_MCAST6 mpl_driver
174#error "Multicast Enabled with an Unknown Engine."
175#error "Check the value of UIP_MCAST6_CONF_ENGINE in conf files."
183#if RPL_WITH_MULTICAST && (!UIP_CONF_IPV6_RPL)
184#error "The selected Multicast mode requires UIP_CONF_IPV6_RPL != 0"
185#error "Check the value of UIP_CONF_IPV6_RPL in conf files."
Header file for the Enhanced Stateless Multicast RPL Forwarding (ESMRF)
Header file for the implementation of the MPL protocol.
Header file for the implementation of the ROLL-TM multicast engine.
Header file for the SMRF forwarding engine.
The data structure used to represent a multicast engine.
void(* out)(void)
Process an outgoing datagram with a multicast IPv6 destination address.
uint8_t(* in)(void)
Process an incoming multicast datagram and determine whether it should be delivered up the stack or n...
void(* init)(void)
Initialize the multicast engine.
char * name
The driver's name.
Header file with definition of multicast engine constants.
Header file for multicast routing table manipulation.