Merge branch 'develop' into contrib/rm-button-shutdown
This commit is contained in:
commit
dac555f208
|
@ -376,7 +376,9 @@ in()
|
|||
static void
|
||||
init()
|
||||
{
|
||||
UIP_MCAST6_STATS_INIT(NULL);
|
||||
ESMRF_STATS_INIT();
|
||||
UIP_MCAST6_STATS_INIT(&stats);
|
||||
|
||||
uip_mcast6_route_init();
|
||||
/* Register the ICMPv6 input handler */
|
||||
uip_icmp6_register_input_handler(&esmrf_icmp_handler);
|
||||
|
|
|
@ -68,16 +68,9 @@
|
|||
/* Stats datatype */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
struct esmrf_stats {
|
||||
uint16_t mcast_in_unique;
|
||||
uint16_t mcast_in_all; /* At layer 3 */
|
||||
uint16_t mcast_in_ours; /* Unique and we are a group member */
|
||||
uint16_t mcast_fwd; /* Forwarded by us but we are not the seed */
|
||||
uint16_t mcast_out; /* We are the seed */
|
||||
uint16_t mcast_bad;
|
||||
uint16_t mcast_dropped;
|
||||
uint16_t icmp_out;
|
||||
uint16_t icmp_in;
|
||||
uint16_t icmp_bad;
|
||||
};
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#endif /* ESMRF_H_ */
|
||||
|
|
|
@ -70,18 +70,6 @@
|
|||
#define SMRF_MAX_SPREAD 4
|
||||
#endif
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* Stats datatype */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
struct smrf_stats {
|
||||
uint16_t mcast_in_unique;
|
||||
uint16_t mcast_in_all; /* At layer 3 */
|
||||
uint16_t mcast_in_ours; /* Unique and we are a group member */
|
||||
uint16_t mcast_fwd; /* Forwarded by us but we are not the seed */
|
||||
uint16_t mcast_out; /* We are the seed */
|
||||
uint16_t mcast_bad;
|
||||
uint16_t mcast_dropped;
|
||||
};
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#endif /* SMRF_H_ */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/** @} */
|
||||
|
|
Loading…
Reference in New Issue