|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
67 i = client -
cm->client_reg_pool;
93 cm->client_reg_pool = NULL;
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 hash_create(elts, value_bytes)
#define IPFIX_COLLECTOR_ERR_REG_EXISTS
u8 * client_name
String containing name of the client interested in getting ip-fix packets.
#define hash_set(h, key, value)
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)
sll srl srl sll sra u16x4 i
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.
#define hash_unset(h, key)
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
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.