31#ifndef _IGMP_SNOOPING_H
32#define _IGMP_SNOOPING_H
39#ifndef IGMP_SNOOPING_SUPPORT
40 #define IGMP_SNOOPING_SUPPORT DISABLED
41#elif (IGMP_SNOOPING_SUPPORT != ENABLED && IGMP_SNOOPING_SUPPORT != DISABLED)
42 #error IGMP_SNOOPING_SUPPORT parameter is not valid
57 IGMP_SNOOPING_GROUP_STATE_NO_MEMBERS_PRESENT = 0,
58 IGMP_SNOOPING_GROUP_STATE_MEMBERS_PRESENT = 1,
59 IGMP_SNOOPING_GROUP_STATE_CHECKING_MEMBERSHIP = 2
error_t
Error codes.
Definition error.h:43
Definitions common to IGMP host, router and snooping switch.
IgmpSnoopingGroupState
Multicast group states.
Definition igmp_snooping.h:56
uint32_t Ipv4Addr
IPv4 network address.
Definition ipv4.h:267
uint32_t systime_t
System time.
Definition os_port_none.h:90
IGMP snooping switch context.
Definition igmp_snooping.h:109
bool_t floodUnknownMulticastPackets
Flood unregistered multicast traffic to all ports.
Definition igmp_snooping.h:117
IgmpSnoopingPort * ports
Ports.
Definition igmp_snooping.h:113
uint_t numGroups
Maximum number of multicast groups.
Definition igmp_snooping.h:114
NetInterface * interface
The primary interface on an attached network.
Definition igmp_snooping.h:111
systime_t lastMemberQueryTime
Leave latency.
Definition igmp_snooping.h:118
IgmpSnoopingGroup * groups
Multicast groups.
Definition igmp_snooping.h:115
uint_t numPorts
Number of ports.
Definition igmp_snooping.h:112
bool_t floodReports
Flood IGMP report messages to all ports (not only to router ports)
Definition igmp_snooping.h:116
Multicast group.
Definition igmp_snooping.h:79
IgmpSnoopingGroupState state
Multicast group state.
Definition igmp_snooping.h:80
Ipv4Addr addr
Multicast group address.
Definition igmp_snooping.h:81
Snooping switch port.
Definition igmp_snooping.h:68
IGMP snooping settings.
Definition igmp_snooping.h:92
systime_t lastMemberQueryTime
Leave latency.
Definition igmp_snooping.h:100
bool_t floodReports
Flood IGMP report messages to all ports (not only to router ports)
Definition igmp_snooping.h:98
NetInterface * interface
Underlying network interface.
Definition igmp_snooping.h:93
uint_t numPorts
Number of ports.
Definition igmp_snooping.h:94
IgmpSnoopingPort * ports
Ports.
Definition igmp_snooping.h:95
uint_t numGroups
Maximum number of multicast groups.
Definition igmp_snooping.h:96
IgmpSnoopingGroup * groups
Multicast groups.
Definition igmp_snooping.h:97
bool_t floodUnknownMulticastPackets
Flood unregistered multicast traffic to all ports.
Definition igmp_snooping.h:99
Timer.
Definition net_misc.h:171