Go to the source code of this file.
◆ PARAM_AS_IIF
#define PARAM_AS_IIF (1 << 2) |
◆ PARAM_AS_NH
#define PARAM_AS_NH (1 << 0) |
◆ PARAM_AS_OIF
#define PARAM_AS_OIF (1 << 1) |
◆ PARAM_AS_SRC
#define PARAM_AS_SRC (1 << 3) |
◆ SID_CREATE_IFACE_FEATURE_ERROR
#define SID_CREATE_IFACE_FEATURE_ERROR -1 |
Definition at line 27 of file as.c.
◆ SID_CREATE_INVALID_ADJ_INDEX
#define SID_CREATE_INVALID_ADJ_INDEX -5 |
Definition at line 30 of file as.c.
◆ SID_CREATE_INVALID_IFACE_INDEX
#define SID_CREATE_INVALID_IFACE_INDEX -4 |
Definition at line 29 of file as.c.
◆ SID_CREATE_INVALID_IFACE_TYPE
#define SID_CREATE_INVALID_IFACE_TYPE -3 |
Definition at line 28 of file as.c.
◆ format_srv6_as_dpo()
static u8* format_srv6_as_dpo |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
Definition at line 494 of file as.c.
◆ format_srv6_as_localsid()
u8* format_srv6_as_localsid |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Definition at line 339 of file as.c.
◆ free_ls_mem()
Definition at line 103 of file as.c.
◆ prepare_rewrite()
static u8* prepare_rewrite |
( |
ip6_address_t |
src_addr, |
|
|
ip6_address_t * |
sid_list, |
|
|
u8 |
protocol |
|
) |
| |
|
inlinestatic |
Definition at line 42 of file as.c.
◆ srv6_as_dpo_lock()
Definition at line 503 of file as.c.
◆ srv6_as_dpo_unlock()
void srv6_as_dpo_unlock |
( |
dpo_id_t * |
dpo | ) |
|
Definition at line 508 of file as.c.
◆ srv6_as_init()
Definition at line 529 of file as.c.
◆ srv6_as_localsid_creation_fn()
Definition at line 114 of file as.c.
◆ srv6_as_localsid_removal_fn()
Definition at line 269 of file as.c.
◆ unformat_srv6_as_localsid()
Definition at line 396 of file as.c.
◆ VLIB_PLUGIN_REGISTER()
◆ VNET_FEATURE_INIT() [1/3]
VNET_FEATURE_INIT |
( |
srv6_as2_rewrite |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [2/3]
VNET_FEATURE_INIT |
( |
srv6_as4_rewrite |
, |
|
|
static |
|
|
) |
| |
◆ VNET_FEATURE_INIT() [3/3]
VNET_FEATURE_INIT |
( |
srv6_as6_rewrite |
, |
|
|
static |
|
|
) |
| |
◆ def_str
Initial value:=
"Endpoint with static proxy to SR-unaware appliance"
Definition at line 34 of file as.c.
◆ function_name
unsigned char function_name[] = "SRv6-AS-plugin" |
Definition at line 32 of file as.c.
◆ keyword_str
unsigned char keyword_str[] = "End.AS" |
Definition at line 33 of file as.c.
◆ params_str
unsigned char params_str[] |
Initial value:=
"nh <next-hop> oif <iface-out> iif <iface-in> src <src-addr> next <sid> [next <sid> ...]"
Definition at line 36 of file as.c.
◆ srv6_as_ip6_nodes
const char* const srv6_as_ip6_nodes[] |
|
static |
Initial value:= {
"srv6-as-localsid",
NULL,
}
Definition at line 518 of file as.c.
◆ srv6_as_main
Definition at line 39 of file as.c.
◆ srv6_as_nodes
Initial value:= {
}
static const char *const srv6_as_ip6_nodes[]
Definition at line 523 of file as.c.
◆ srv6_as_vft
Initial value:= {
}
void srv6_as_dpo_lock(dpo_id_t *dpo)
void srv6_as_dpo_unlock(dpo_id_t *dpo)
static u8 * format_srv6_as_dpo(u8 *s, va_list *args)
Definition at line 512 of file as.c.