FD.io VPP  v17.04.2-2-ga8f93f8
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 vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 
#define foreach_vpe_api_msg
 
#define vl_msg_name_crc_list
 

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_steering_add_del_t_handler (vl_api_sr_steering_add_del_t *mp)
 
static void setup_message_id_table (api_main_t *am)
 
static clib_error_tsr_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (sr_api_hookup)
 

Macro Definition Documentation

#define foreach_vpe_api_msg
Value:
_(SR_LOCALSID_ADD_DEL, sr_localsid_add_del) \
_(SR_POLICY_DEL, sr_policy_del) \
_(SR_STEERING_ADD_DEL, sr_steering_add_del)
int sr_policy_del(ip6_address_t *bsid, u32 index)
Delete a SR policy.

Definition at line 46 of file sr_api.c.

#define vl_endianfun   /* define message structures */

Definition at line 34 of file sr_api.c.

#define vl_msg_name_crc_list

Definition at line 179 of file sr_api.c.

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 39 of file sr_api.c.

#define vl_printfun

Definition at line 40 of file sr_api.c.

#define vl_typedefs   /* define message structures */

Definition at line 30 of file sr_api.c.

Function Documentation

static void setup_message_id_table ( api_main_t am)
static

Definition at line 184 of file sr_api.c.

+ Here is the caller graph for this function:

static clib_error_t* sr_api_hookup ( vlib_main_t vm)
static

Definition at line 192 of file sr_api.c.

+ Here is the call graph for this function:

static void vl_api_sr_localsid_add_del_t_handler ( vl_api_sr_localsid_add_del_t mp)
static

Definition at line 54 of file sr_api.c.

+ Here is the call graph for this function:

static void vl_api_sr_policy_add_t_handler ( vl_api_sr_policy_add_t mp)
static

Definition at line 76 of file sr_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

static void vl_api_sr_policy_mod_t_handler ( vl_api_sr_policy_mod_t mp)
static

Definition at line 104 of file sr_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_sr_steering_add_del_t_handler ( vl_api_sr_steering_add_del_t mp)
static

Definition at line 151 of file sr_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VLIB_API_INIT_FUNCTION ( sr_api_hookup  )

+ Here is the caller graph for this function: