|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
48 if (collector_set == 0)
61 if (lm->
ports[
i] == udp_port)
64 &collector, udp_port);
67 0,
"collector %U already configured with port %d",
81 && lm->
ports[
i] == udp_port)
90 &collector, udp_port);
99 "set li src <ip4-address> collector <ip4-address> udp-port <nnnn>",
static clib_error_t * set_li_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
#define clib_error_return(e, args...)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
#define vec_delete(V, N, M)
Delete N elements starting at element M.
ip4_address_t * collectors
static vlib_cli_command_t set_li_command
(constructor) VLIB_CLI_COMMAND (set_li_command)
#define vec_len(v)
Number of elements in vector (rvalue-only, NULL tolerant)
#define vec_add1(V, E)
Add 1 element to end of vector (unspecified alignment).
vnet_main_t * vnet_get_main(void)
sll srl srl sll sra u16x4 i
#define VLIB_CLI_COMMAND(x,...)
ip4_address_t * src_addrs
#define VLIB_INIT_FUNCTION(x)
clib_error_t *() vlib_init_function_t(struct vlib_main_t *vm)
static clib_error_t * li_init(vlib_main_t *vm)
vlib_node_registration_t li_hit_node
(constructor) VLIB_REGISTER_NODE (li_hit_node)