Go to the source code of this file.
|
static u64 | abf_itf_attach_mk_key (u32 abf_index, u32 sw_if_index) |
|
static abf_itf_attach_t * | abf_itf_attach_db_find (u32 abf_index, u32 sw_if_index) |
|
static void | abf_itf_attach_db_add (u32 abf_index, u32 sw_if_index, abf_itf_attach_t *aia) |
|
static void | abf_itf_attach_db_del (u32 abf_index, u32 sw_if_index) |
|
static void | abf_itf_attach_stack (abf_itf_attach_t *aia) |
|
static int | abf_cmp_attach_for_sort (void *v1, void *v2) |
|
void | abf_setup_acl_lc (fib_protocol_t fproto, u32 sw_if_index) |
|
int | abf_itf_attach (fib_protocol_t fproto, u32 policy_id, u32 priority, u32 sw_if_index) |
|
int | abf_itf_detach (fib_protocol_t fproto, u32 policy_id, u32 sw_if_index) |
|
static u8 * | format_abf_intf_attach (u8 *s, va_list *args) |
|
static clib_error_t * | abf_itf_attach_cmd (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | abf_show_attach_cmd (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
void | abf_itf_attach_walk (abf_itf_attach_walk_cb_t cb, void *ctx) |
|
static uword | abf_input_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, fib_protocol_t fproto) |
|
static uword | abf_input_ip4 (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | abf_input_ip6 (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static u8 * | format_abf_input_trace (u8 *s, va_list *args) |
|
| VNET_FEATURE_INIT (abf_ip4_feat, static) |
|
| VNET_FEATURE_INIT (abf_ip6_feat, static) |
|
static fib_node_t * | abf_itf_attach_get_node (fib_node_index_t index) |
|
static abf_itf_attach_t * | abf_itf_attach_get_from_node (fib_node_t *node) |
|
static void | abf_itf_attach_last_lock_gone (fib_node_t *node) |
|
static fib_node_back_walk_rc_t | abf_itf_attach_back_walk_notify (fib_node_t *node, fib_node_back_walk_ctx_t *ctx) |
|
static clib_error_t * | abf_itf_bond_init (vlib_main_t *vm) |
|
#define abf_error |
( |
|
n, |
|
|
|
s |
|
) |
| ABF_ERROR_##n, |
#define abf_error |
( |
|
n, |
|
|
|
s |
|
) |
| s, |
static int abf_cmp_attach_for_sort |
( |
void * |
v1, |
|
|
void * |
v2 |
|
) |
| |
|
static |
static void abf_itf_attach_db_del |
( |
u32 |
abf_index, |
|
|
u32 |
sw_if_index |
|
) |
| |
|
static |
static void abf_itf_attach_last_lock_gone |
( |
fib_node_t * |
node | ) |
|
|
static |
static u64 abf_itf_attach_mk_key |
( |
u32 |
abf_index, |
|
|
u32 |
sw_if_index |
|
) |
| |
|
static |
static u8* format_abf_input_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_abf_intf_attach |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
VNET_FEATURE_INIT |
( |
abf_ip4_feat |
, |
|
|
static |
|
|
) |
| |
VNET_FEATURE_INIT |
( |
abf_ip6_feat |
, |
|
|
static |
|
|
) |
| |
ABF ACL module user id returned during the initialization.
Definition at line 49 of file abf_itf_attach.c.
Per interface values of ACL lookup context IDs.
used in the data-plane
Definition at line 44 of file abf_itf_attach.c.
char* abf_error_strings[] |
|
static |
Initial value:=
{
.name = "abf-input-ip4",
.vector_size =
sizeof (
u32),
.n_errors = ABF_N_ERROR,
.next_nodes =
{
}
}
static char * abf_error_strings[]
static u8 * format_abf_input_trace(u8 *s, va_list *args)
static uword abf_input_ip4(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Forward declarations;.
(constructor) VLIB_REGISTER_NODE (abf_ip4_node)
Definition at line 653 of file abf_itf_attach.c.
Initial value:=
{
.name = "abf-input-ip6",
.vector_size =
sizeof (
u32),
.n_errors = 0,
.next_nodes =
{
}
}
static u8 * format_abf_input_trace(u8 *s, va_list *args)
static uword abf_input_ip6(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (abf_ip6_node)
Definition at line 669 of file abf_itf_attach.c.
Initial value:= {
.path = "abf attach",
.short_help = "abf attach <ip4|ip6> [del] policy <value> <interface>",
}
static clib_error_t * abf_itf_attach_cmd(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Attach an ABF policy to an interface.
(constructor) VLIB_CLI_COMMAND (abf_itf_attach_cmd_node)
Definition at line 406 of file abf_itf_attach.c.
A DB of attachments; key={abf_index,sw_if_index}.
Definition at line 59 of file abf_itf_attach.c.
Initial value:= {
}
static fib_node_back_walk_rc_t abf_itf_attach_back_walk_notify(fib_node_t *node, fib_node_back_walk_ctx_t *ctx)
static fib_node_t * abf_itf_attach_get_node(fib_node_index_t index)
static void abf_itf_attach_last_lock_gone(fib_node_t *node)
Definition at line 746 of file abf_itf_attach.c.
A per interface vector of attached policies.
used in the data-plane
Definition at line 39 of file abf_itf_attach.c.
Initial value:= {
.path = "show abf attach",
.short_help = "show abf attach <interface>",
.is_mp_safe = 1,
}
static clib_error_t * abf_show_attach_cmd(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (abf_show_attach_cmd_node)
Definition at line 461 of file abf_itf_attach.c.