FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
sr_api.c File Reference
+ Include dependency graph for sr_api.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   sr_main.msg_id_base
 

Functions

static void vl_api_sr_localsid_add_del_t_handler (vl_api_sr_localsid_add_del_t *mp)
 
static void vl_api_sr_policy_add_t_handler (vl_api_sr_policy_add_t *mp)
 
static void vl_api_sr_policy_mod_t_handler (vl_api_sr_policy_mod_t *mp)
 
static void vl_api_sr_policy_del_t_handler (vl_api_sr_policy_del_t *mp)
 
static void vl_api_sr_set_encap_source_t_handler (vl_api_sr_set_encap_source_t *mp)
 
static void vl_api_sr_set_encap_hop_limit_t_handler (vl_api_sr_set_encap_hop_limit_t *mp)
 
static void vl_api_sr_steering_add_del_t_handler (vl_api_sr_steering_add_del_t *mp)
 
static void send_sr_localsid_details (ip6_sr_localsid_t *t, vl_api_registration_t *reg, u32 context)
 
static void vl_api_sr_localsids_dump_t_handler (vl_api_sr_localsids_dump_t *mp)
 
static void send_sr_policies_details (ip6_sr_policy_t *t, vl_api_registration_t *reg, u32 context)
 
static void vl_api_sr_policies_dump_t_handler (vl_api_sr_policies_dump_t *mp)
 
static void send_sr_policies_details_with_sl_index (ip6_sr_policy_t *t, vl_api_registration_t *reg, u32 context)
 
static void vl_api_sr_policies_with_sl_index_dump_t_handler (vl_api_sr_policies_with_sl_index_dump_t *mp)
 
static void send_sr_steering_pol_details (ip6_sr_steering_policy_t *t, vl_api_registration_t *reg, u32 context)
 
static void vl_api_sr_steering_pol_dump_t_handler (vl_api_sr_policies_dump_t *mp)
 
static clib_error_tsr_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (sr_api_hookup)
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   sr_main.msg_id_base

Definition at line 34 of file sr_api.c.

Function Documentation

◆ send_sr_localsid_details()

static void send_sr_localsid_details ( ip6_sr_localsid_t t,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 211 of file sr_api.c.

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

◆ send_sr_policies_details()

static void send_sr_policies_details ( ip6_sr_policy_t t,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 259 of file sr_api.c.

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

◆ send_sr_policies_details_with_sl_index()

static void send_sr_policies_details_with_sl_index ( ip6_sr_policy_t t,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 326 of file sr_api.c.

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

◆ send_sr_steering_pol_details()

static void send_sr_steering_pol_details ( ip6_sr_steering_policy_t t,
vl_api_registration_t reg,
u32  context 
)
static

Definition at line 393 of file sr_api.c.

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

◆ sr_api_hookup()

static clib_error_t* sr_api_hookup ( vlib_main_t vm)
static

Definition at line 441 of file sr_api.c.

+ Here is the call graph for this function:

◆ vl_api_sr_localsid_add_del_t_handler()

static void vl_api_sr_localsid_add_del_t_handler ( vl_api_sr_localsid_add_del_t mp)
static

Definition at line 38 of file sr_api.c.

+ Here is the call graph for this function:

◆ vl_api_sr_localsids_dump_t_handler()

static void vl_api_sr_localsids_dump_t_handler ( vl_api_sr_localsids_dump_t mp)
static

Definition at line 240 of file sr_api.c.

+ Here is the call graph for this function:

◆ vl_api_sr_policies_dump_t_handler()

static void vl_api_sr_policies_dump_t_handler ( vl_api_sr_policies_dump_t mp)
static

Definition at line 305 of file sr_api.c.

+ Here is the call graph for this function:

◆ vl_api_sr_policies_with_sl_index_dump_t_handler()

static void vl_api_sr_policies_with_sl_index_dump_t_handler ( vl_api_sr_policies_with_sl_index_dump_t mp)
static

Definition at line 374 of file sr_api.c.

+ Here is the call graph for this function:

◆ vl_api_sr_policy_add_t_handler()

static void vl_api_sr_policy_add_t_handler ( vl_api_sr_policy_add_t mp)
static

Definition at line 70 of file sr_api.c.

+ Here is the call graph for this function:

◆ vl_api_sr_policy_del_t_handler()

static void vl_api_sr_policy_del_t_handler ( vl_api_sr_policy_del_t mp)
static

Definition at line 136 of file sr_api.c.

+ Here is the call graph for this function:

◆ vl_api_sr_policy_mod_t_handler()

static void vl_api_sr_policy_mod_t_handler ( vl_api_sr_policy_mod_t mp)
static

Definition at line 102 of file sr_api.c.

+ Here is the call graph for this function:

◆ vl_api_sr_set_encap_hop_limit_t_handler()

static void vl_api_sr_set_encap_hop_limit_t_handler ( vl_api_sr_set_encap_hop_limit_t mp)
static

Definition at line 165 of file sr_api.c.

+ Here is the call graph for this function:

◆ vl_api_sr_set_encap_source_t_handler()

static void vl_api_sr_set_encap_source_t_handler ( vl_api_sr_set_encap_source_t mp)
static

Definition at line 152 of file sr_api.c.

+ Here is the call graph for this function:

◆ vl_api_sr_steering_add_del_t_handler()

static void vl_api_sr_steering_add_del_t_handler ( vl_api_sr_steering_add_del_t mp)
static

Definition at line 179 of file sr_api.c.

+ Here is the call graph for this function:

◆ vl_api_sr_steering_pol_dump_t_handler()

static void vl_api_sr_steering_pol_dump_t_handler ( vl_api_sr_policies_dump_t mp)
static

Definition at line 421 of file sr_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( sr_api_hookup  )