Microchip® Advanced Software Framework

uip-mcast6-route.h File Reference

Multicast routing table manipulation
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.h"
#include "net/ip/uip.h"
#include <stdint.h>

Data Structures

struct  uip_mcast6_route
 An entry in the multicast routing table. More...
 

Typedefs

typedef struct uip_mcast6_route uip_mcast6_route_t
 An entry in the multicast routing table. More...
 

Functions

Multicast Routing Table Manipulation
uip_mcast6_route_tuip_mcast6_route_lookup (uip_ipaddr_t *group)
 
uip_mcast6_route_tuip_mcast6_route_add (uip_ipaddr_t *group)
 
void uip_mcast6_route_rm (uip_mcast6_route_t *defrt)
 
int uip_mcast6_route_count (void)
 
uip_mcast6_route_tuip_mcast6_route_list_head (void)
 
void uip_mcast6_route_init (void)
 Multicast routing table init routine. More...
 

An entry in the multicast routing table.

uip_mcast6_route_t* uip_mcast6_route_add ( uip_ipaddr_t group)

Referenced by dao_input().

int uip_mcast6_route_count ( void  )
void uip_mcast6_route_init ( void  )

Multicast routing table init routine.

Multicast routing tables are not necessarily required by all multicast engines. For instance, trickle multicast does not rely on the existence of a routing table. Therefore, this function here should be invoked by each engine's init routine only if the relevant functionality is required. This is also why this function should not get hooked into the uip-ds6 core.

uip_mcast6_route_t* uip_mcast6_route_list_head ( void  )
uip_mcast6_route_t* uip_mcast6_route_lookup ( uip_ipaddr_t group)
void uip_mcast6_route_rm ( uip_mcast6_route_t defrt)