|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
67 i = client -
cm->client_reg_pool;
93 cm->client_reg_pool = NULL;
#define hash_set(h, key, value)
static uword vlib_node_add_next(vlib_main_t *vm, uword node, uword next_node)
vlib_node_registration_t ipfix_collector_node
(constructor) VLIB_REGISTER_NODE (ipfix_collector_node)
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
#define pool_put(P, E)
Free an object E in pool P.
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
Structure other nodes to use for registering with IP-FIX collector.
u8 * client_name
String containing name of the client interested in getting ip-fix packets.
u32 client_node
Node index where packets have to be redirected.
#define IPFIX_COLLECTOR_ERR_REG_EXISTS
#define hash_unset(h, key)
u8 * client_name
String containing name of the client interested in getting ip-fix packets.
u16 set_id
Setid of IPFix for which client is interested in getting packets.
IP-FIX collector main structure to SetID to client node ID mapping.
#define vec_dup(V)
Return copy of vector (no header, no alignment)
vnet_main_t * vnet_get_main(void)
u32 client_next_node
ipfix-collector next index where packets have to be redirected.
void udp_register_dst_port(vlib_main_t *vm, udp_dst_port_t dst_port, u32 node_index, u8 is_ip4)
IP-FIX collector internal client structure to store SetID to client node ID.
vnet_feature_config_main_t * cm
#define pool_get(P, E)
Allocate an object E from a pool P (unspecified alignment).
u8 udp_is_valid_dst_port(udp_dst_port_t dst_port, u8 is_ip4)
ipfix_collector_main_t ipfix_collector_main
#define vec_free(V)
Free vector's memory (no header).
#define VLIB_INIT_FUNCTION(x)
u16 del
Add(0) or del(1) operation.
clib_error_t *() vlib_init_function_t(struct vlib_main_t *vm)
u32 client_node
Node index where packets have to be redirected.
#define IPFIX_COLLECTOR_ERR_INVALID_PARAM
#define hash_create(elts, value_bytes)
u16 ipfix_setid
Setid of IPFix for which client is interested in getting packets.
static clib_error_t * ipfix_collector_init(vlib_main_t *vm)
int ipfix_collector_reg_setid(vlib_main_t *vm, ipfix_client_add_del_t *info)
IP-FIX SetID registration function.