FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
igmp_types.h File Reference
+ Include dependency graph for igmp_types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define foreach_igmp_mode
 IGMP source - where to the request for state arrive from host - from an API/CLI command to add the state network - from a received report Each source could be mode from both modes, so these are flags. More...
 
#define foreach_igmp_filter_mode
 IGMP filter mode Exclude all source address except this one Include only this source address. More...
 
#define IGMP_N_FILTER_MODES   2
 

Typedefs

typedef enum igmp_mode_t_ igmp_mode_t
 
typedef enum igmp_msg_type_t_ igmp_msg_type_t
 
typedef ip46_address_t igmp_key_t
 IGMP Key Used to index groups within an interface config and sources within a list. More...
 
typedef enum igmp_filter_mode_t_ igmp_filter_mode_t
 

Enumerations

enum  igmp_mode_t_ { foreach_igmp_mode }
 
enum  igmp_msg_type_t_ { IGMP_MSG_REPORT, IGMP_MSG_QUERY }
 
enum  igmp_filter_mode_t_ { foreach_igmp_filter_mode }
 

Macro Definition Documentation

◆ foreach_igmp_filter_mode

#define foreach_igmp_filter_mode
Value:
_ (1, INCLUDE) \
_ (0, EXCLUDE) \
Definition: igmp.api:28
Definition: igmp.api:27

IGMP filter mode Exclude all source address except this one Include only this source address.

Definition at line 56 of file igmp_types.h.

◆ foreach_igmp_mode

#define foreach_igmp_mode
Value:
_ (1, HOST) \
_ (2, ROUTER) \

IGMP source - where to the request for state arrive from host - from an API/CLI command to add the state network - from a received report Each source could be mode from both modes, so these are flags.

Definition at line 28 of file igmp_types.h.

◆ IGMP_N_FILTER_MODES

#define IGMP_N_FILTER_MODES   2

Definition at line 67 of file igmp_types.h.

Typedef Documentation

◆ igmp_filter_mode_t

◆ igmp_key_t

typedef ip46_address_t igmp_key_t

IGMP Key Used to index groups within an interface config and sources within a list.

Definition at line 49 of file igmp_types.h.

◆ igmp_mode_t

typedef enum igmp_mode_t_ igmp_mode_t

◆ igmp_msg_type_t

Enumeration Type Documentation

◆ igmp_filter_mode_t_

Enumerator
foreach_igmp_filter_mode 

Definition at line 60 of file igmp_types.h.

◆ igmp_mode_t_

Enumerator
foreach_igmp_mode 

Definition at line 32 of file igmp_types.h.

◆ igmp_msg_type_t_

Enumerator
IGMP_MSG_REPORT 
IGMP_MSG_QUERY 

Definition at line 39 of file igmp_types.h.