FD.io VPP  v18.07.1-13-g909ba93
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

Function Documentation

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:

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_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:

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:

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:

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:

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:

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_prefix_t* igmp_group_prefixs
static

Definition at line 26 of file igmp_ssm_range.c.

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.