FD.io VPP
v17.01.1-3-gc6833f8
Vector Packet Processing
|
Segment Routing header. More...
Go to the source code of this file.
Data Structures | |
struct | ip6_sr_tunnel_key_t |
Segment Route tunnel key. More... | |
struct | ip6_sr_tunnel_t |
Segment Route tunnel. More... | |
struct | ip6_sr_hmac_key_t |
Shared secret for keyed-hash message authentication code (HMAC). More... | |
struct | ip6_sr_add_del_tunnel_args_t |
Args required for add/del tunnel. More... | |
struct | ip6_sr_add_del_policy_args_t |
Args for creating a policy. More... | |
struct | ip6_sr_policy_t |
Segment Routing policy. More... | |
struct | ip6_sr_add_del_multicastmap_args_t |
Args for mapping of multicast address to policy name. More... | |
struct | ip6_sr_main_t |
Segment Routing state. More... | |
Functions | |
int | ip6_sr_add_del_tunnel (ip6_sr_add_del_tunnel_args_t *a) |
Add or Delete a Segment Routing tunnel. More... | |
int | ip6_sr_add_del_policy (ip6_sr_add_del_policy_args_t *a) |
Add or Delete a Segment Routing policy. More... | |
int | ip6_sr_add_del_multicastmap (ip6_sr_add_del_multicastmap_args_t *a) |
Add or Delete a mapping of IP6 multicast address to Segment Routing policy. More... | |
void | vnet_register_sr_app_callback (void *cb) |
Register a callback routine to set next0 in sr_local. More... | |
void | sr_fix_hmac (ip6_sr_main_t *sm, ip6_header_t *ip, ip6_sr_header_t *sr) |
Use passed HMAC key in ip6_sr_header_t in OpenSSL HMAC routines. More... | |
Variables | |
ip6_sr_main_t | sr_main |
format_function_t | format_ip6_sr_header |
format_function_t | format_ip6_sr_header_with_length |
vlib_node_registration_t | ip6_sr_input_node |
vlib_node_registration_t | sr_replicate_node |
(constructor) VLIB_REGISTER_NODE (sr_replicate_node) More... | |
int ip6_sr_add_del_multicastmap | ( | ip6_sr_add_del_multicastmap_args_t * | a | ) |
Add or Delete a mapping of IP6 multicast address to Segment Routing policy.
a | ip6_sr_add_del_multicastmap_args_t * |
Definition at line 1761 of file sr.c.
int ip6_sr_add_del_policy | ( | ip6_sr_add_del_policy_args_t * | a | ) |
Add or Delete a Segment Routing policy.
a | ip6_sr_add_del_policy_args_t * |
Definition at line 1509 of file sr.c.
int ip6_sr_add_del_tunnel | ( | ip6_sr_add_del_tunnel_args_t * | a | ) |
Add or Delete a Segment Routing tunnel.
a | ip6_sr_add_del_tunnel_args_t * |
Definition at line 896 of file sr.c.
void sr_fix_hmac | ( | ip6_sr_main_t * | sm, |
ip6_header_t * | ip, | ||
ip6_sr_header_t * | sr | ||
) |
Use passed HMAC key in ip6_sr_header_t in OpenSSL HMAC routines.
sm | ip6_sr_main_t * |
ip | ip6_header_t * |
sr | ip6_sr_header_t * |
Definition at line 46 of file sr.c.
void vnet_register_sr_app_callback | ( | void * | cb | ) |
format_function_t format_ip6_sr_header |
format_function_t format_ip6_sr_header_with_length |
vlib_node_registration_t ip6_sr_input_node |
ip6_sr_main_t sr_main |
vlib_node_registration_t sr_replicate_node |
(constructor) VLIB_REGISTER_NODE (sr_replicate_node)
Definition at line 449 of file sr_replicate.c.