|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef PLUGINS_IPFIXCOLLECTOR_PLUGIN_IPFIXCOLLECTOR_IPFIXCOLLECTOR_H_
17 #define PLUGINS_IPFIXCOLLECTOR_PLUGIN_IPFIXCOLLECTOR_IPFIXCOLLECTOR_H_
23 #define IPFIX_COLLECTOR_CLIENT_NAME_MAX 64
25 #define IPFIX_COLLECTOR_ERR_INVALID_PARAM -1
26 #define IPFIX_COLLECTOR_ERR_REG_EXISTS -2
vlib_main_t * vlib_main
Pointer to VLib main for the node - ipfix-collector.
static ipfix_client * ipfix_collector_get_client(u16 set_id)
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.
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.
int ipfix_collector_reg_setid(vlib_main_t *vm, ipfix_client_add_del_t *info)
IP-FIX SetID registration function.
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.
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.
vnet_main_t * vnet_main
Pointer to vnet main for convenience.
u32 client_next_node
ipfix-collector next index where packets have to be redirected.
Fixed length block allocator. Pools are built from clib vectors and bitmaps. Use pools when repeatedl...
IP-FIX collector internal client structure to store SetID to client node ID.
ipfix_client * client_reg_pool
Pool of Client node information for the IP-FIX SetID.
vnet_feature_config_main_t * cm
struct _vlib_node_registration vlib_node_registration_t
uword * client_reg_table
Hash table to map IP-FIX setid to a client registration pool.
u16 del
Add(0) or del(1) operation.
ipfix_collector_main_t ipfix_collector_main
u32 client_node
Node index where packets have to be redirected.
u16 ipfix_setid
Setid of IPFix for which client is interested in getting packets.