FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
igmp_packet.h File Reference
+ Include dependency graph for igmp_packet.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  igmp_header_t
 
struct  igmp_membership_query_v3_t
 
struct  igmp_membership_group_v3_t
 
struct  igmp_membership_report_v3_t
 
struct  mld_header_t
 

Macros

#define foreach_igmp_type
 
#define foreach_igmp_membership_group_v3_type
 

Enumerations

enum  igmp_type_t { foreach_igmp_type }
 
enum  igmp_membership_group_v3_type_t { foreach_igmp_membership_group_v3_type }
 

Functions

static f64 igmp_header_get_max_resp_time (const igmp_header_t *header)
 Calculate the maximum response time allowed from the header. More...
 
static u32 igmp_membership_query_v3_length (const igmp_membership_query_v3_t *q)
 
static int igmp_membership_query_v3_is_general (const igmp_membership_query_v3_t *q)
 
static u32 igmp_membership_group_v3_length (const igmp_membership_group_v3_t *g)
 
static igmp_membership_group_v3_tigmp_membership_group_v3_next (igmp_membership_group_v3_t *g)
 
static u32 igmp_membership_report_v3_length (const igmp_membership_report_v3_t *r)
 

Macro Definition Documentation

◆ foreach_igmp_membership_group_v3_type

#define foreach_igmp_membership_group_v3_type
Value:
_ (1, mode_is_include) \
_ (2, mode_is_exclude) \
_ (3, change_to_include) \
_ (4, change_to_exclude) \
_ (5, allow_new_sources) \
_ (6, block_old_sources)

Definition at line 132 of file igmp_packet.h.

◆ foreach_igmp_type

#define foreach_igmp_type
Value:
_ (0x11, membership_query) \
_ (0x12, membership_report_v1) \
_ (0x13, dvmrp) \
_ (0x14, pim_v1) \
_ (0x15, cisco_trace) \
_ (0x16, membership_report_v2) \
_ (0x17, leave_group_v2) \
_ (0x1e, traceroute_response) \
_ (0x1f, traceroute_request) \
_ (0x22, membership_report_v3) \
_ (0x30, router_advertisement) \
_ (0x31, router_solicitation) \
_ (0x32, router_termination)

Definition at line 46 of file igmp_packet.h.

Enumeration Type Documentation

◆ igmp_membership_group_v3_type_t

Enumerator
foreach_igmp_membership_group_v3_type 

Definition at line 140 of file igmp_packet.h.

◆ igmp_type_t

Enumerator
foreach_igmp_type 

Definition at line 61 of file igmp_packet.h.

Function Documentation

◆ igmp_header_get_max_resp_time()

static f64 igmp_header_get_max_resp_time ( const igmp_header_t header)
inlinestatic

Calculate the maximum response time allowed from the header.

  • RFC 3367 Section 4.1.1

Definition at line 82 of file igmp_packet.h.

+ Here is the caller graph for this function:

◆ igmp_membership_group_v3_length()

static u32 igmp_membership_group_v3_length ( const igmp_membership_group_v3_t g)
inlinestatic

Definition at line 164 of file igmp_packet.h.

+ Here is the caller graph for this function:

◆ igmp_membership_group_v3_next()

static igmp_membership_group_v3_t* igmp_membership_group_v3_next ( igmp_membership_group_v3_t g)
inlinestatic

Definition at line 172 of file igmp_packet.h.

◆ igmp_membership_query_v3_is_general()

static int igmp_membership_query_v3_is_general ( const igmp_membership_query_v3_t q)
inlinestatic

Definition at line 127 of file igmp_packet.h.

+ Here is the caller graph for this function:

◆ igmp_membership_query_v3_length()

static u32 igmp_membership_query_v3_length ( const igmp_membership_query_v3_t q)
inlinestatic

Definition at line 119 of file igmp_packet.h.

+ Here is the caller graph for this function:

◆ igmp_membership_report_v3_length()

static u32 igmp_membership_report_v3_length ( const igmp_membership_report_v3_t r)
inlinestatic

Definition at line 193 of file igmp_packet.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: