Go to the source code of this file.
◆ foreach_ipfix_collector_error
#define foreach_ipfix_collector_error |
Value:_(PROCESSED, "Number of IP-Fix packets processed") \
_(NO_LISTENER, "Number of IP-Fix packets with no listener")
Definition at line 23 of file node.c.
◆ flowperpkt_error_t
Enumerator |
---|
IPFIX_COLLECTOR_N_ERROR | |
Definition at line 27 of file node.c.
◆ ipfix_collector_next_t
Enumerator |
---|
IPFIX_COLLECTOR_NEXT_DROP | |
IPFIX_COLLECTOR_N_NEXT | |
Definition at line 41 of file node.c.
◆ format_ipfix_collector_trace()
static u8* format_ipfix_collector_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ ipfix_collector_node_fn()
Node to receive IP-Fix packets.
- Node Identifier:
ipfix-collector
This function receives IP-FIX packets and forwards them to other graph nodes based on SetID field in IP-FIX.
- Parameters
-
- Graph mechanics: buffer, next index usage
Uses:
vlib_buffer_get_current(p0)
- Parses IP-Fix packet to extract SetId which will be used to decide next node where packets should be enqueued.
Next Index:
Definition at line 93 of file node.c.
◆ ipfix_collector_error_strings
char* ipfix_collector_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_ipfix_collector_error
Definition at line 35 of file node.c.
◆ ipfix_collector_node
Initial value:= {
.name = "ipfix-collector",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static u8 * format_ipfix_collector_trace(u8 *s, va_list *args)
uword ipfix_collector_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Node to receive IP-Fix packets.
static char * ipfix_collector_error_strings[]
(constructor) VLIB_REGISTER_NODE (ipfix_collector_node)
Definition at line 54 of file node.c.