FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
igmp_ssm_range.c File Reference
+ Include dependency graph for igmp_ssm_range.c:

Go to the source code of this file.

Data Structures

struct  igmp_group_prefix_t
 

Typedefs

typedef struct igmp_group_prefix_t igmp_group_prefix_t
 

Functions

u8format_igmp_group_prefix_type (u8 *s, va_list *args)
 
static int igmp_group_prefix_cmp (const igmp_group_prefix_t *gp1, const fib_prefix_t *p)
 
void igmp_group_prefix_set (const fib_prefix_t *pfx, igmp_group_prefix_type_t type)
 
static void igmp_ssm_range_populate (void)
 
igmp_group_prefix_type_t igmp_group_prefix_get_type (const ip46_address_t *gaddr)
 
void igmp_ssm_range_walk (igmp_ssm_range_walk_t fn, void *ctx)
 
static clib_error_tigmp_ssm_range_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tigmp_ssm_range_init (vlib_main_t *vm)
 

Variables

static igmp_group_prefix_tigmp_group_prefixs
 
static vlib_cli_command_t igmp_show_timers_command
 (constructor) VLIB_CLI_COMMAND (igmp_show_timers_command) More...
 

Typedef Documentation

◆ igmp_group_prefix_t

Function Documentation

◆ format_igmp_group_prefix_type()

u8* format_igmp_group_prefix_type ( u8 s,
va_list *  args 
)

Definition at line 29 of file igmp_ssm_range.c.

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

◆ igmp_group_prefix_cmp()

static int igmp_group_prefix_cmp ( const igmp_group_prefix_t gp1,
const fib_prefix_t p 
)
static

Definition at line 43 of file igmp_ssm_range.c.

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

◆ igmp_group_prefix_get_type()

igmp_group_prefix_type_t igmp_group_prefix_get_type ( const ip46_address_t *  gaddr)

Definition at line 87 of file igmp_ssm_range.c.

+ Here is the call graph for this function:

◆ igmp_group_prefix_set()

void igmp_group_prefix_set ( const fib_prefix_t pfx,
igmp_group_prefix_type_t  type 
)

Definition at line 50 of file igmp_ssm_range.c.

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

◆ igmp_ssm_range_init()

static clib_error_t* igmp_ssm_range_init ( vlib_main_t vm)
static

Definition at line 139 of file igmp_ssm_range.c.

+ Here is the call graph for this function:

◆ igmp_ssm_range_populate()

static void igmp_ssm_range_populate ( void  )
static

Definition at line 74 of file igmp_ssm_range.c.

+ Here is the caller graph for this function:

◆ igmp_ssm_range_show()

static clib_error_t* igmp_ssm_range_show ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 116 of file igmp_ssm_range.c.

+ Here is the call graph for this function:

◆ igmp_ssm_range_walk()

void igmp_ssm_range_walk ( igmp_ssm_range_walk_t  fn,
void *  ctx 
)

Definition at line 104 of file igmp_ssm_range.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ igmp_group_prefixs

igmp_group_prefix_t* igmp_group_prefixs
static

Definition at line 26 of file igmp_ssm_range.c.

◆ igmp_show_timers_command

vlib_cli_command_t igmp_show_timers_command
static
Initial value:
= {
.path = "show igmp ssm-ranges",
.short_help = "show igmp ssm-ranges",
.function = igmp_ssm_range_show,
}
static clib_error_t * igmp_ssm_range_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)

(constructor) VLIB_CLI_COMMAND (igmp_show_timers_command)

Definition at line 131 of file igmp_ssm_range.c.