Go to the source code of this file.
|
static_always_inline u8 | ipfix_classify_table_index_valid (u32 index) |
|
static_always_inline ipfix_classify_table_t * | ipfix_classify_add_table (void) |
|
static_always_inline void | ipfix_classify_delete_table (u32 index) |
|
u8 * | ipfix_classify_template_rewrite (flow_report_main_t *frm, flow_report_t *fr, ip4_address_t *collector_address, ip4_address_t *src_address, u16 collector_port, ipfix_report_element_t *elts, u32 n_elts, u32 *stream_index) |
|
vlib_frame_t * | ipfix_classify_send_flows (flow_report_main_t *frm, flow_report_t *fr, vlib_frame_t *f, u32 *to_next, u32 node_index) |
|
◆ foreach_ipfix_field
#define foreach_ipfix_field |
Value:if (ip_version == 4) { \
foreach_ipfix_ip4_field; \
} else { \
foreach_ipfix_ip6_field; \
} \
foreach_ipfix_transport_protocol_field
Definition at line 57 of file flow_report_classify.h.
◆ foreach_ipfix_ip4_field
#define foreach_ipfix_ip4_field |
Value:_(
ip->src_address.as_u32, ((
u32[]){0xFFFFFFFF}), sourceIPv4Address, 4) \
_(
ip->dst_address.as_u32, ((
u32[]){0xFFFFFFFF}), destinationIPv4Address, 4) \
_(
ip->protocol, ((
u8[]){0xFF}), protocolIdentifier, 1)
Definition at line 18 of file flow_report_classify.h.
◆ foreach_ipfix_ip6_field
#define foreach_ipfix_ip6_field |
Value:_(
ip6->src_address.as_u8, \
((
u32[]){0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF}), \
sourceIPv6Address, 16) \
_(
ip6->dst_address.as_u8, \
((
u32[]){0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF}), \
destinationIPv6Address, 16) \
_(
ip6->protocol, ((
u8[]){0xFF}), protocolIdentifier, 1)
Definition at line 23 of file flow_report_classify.h.
◆ foreach_ipfix_tcp_field
#define foreach_ipfix_tcp_field |
Value:_(tcpudp->src_port, ((
u16[]){0xFFFF}), tcpSourcePort, 2) \
_(tcpudp->dst_port, ((
u16[]){0xFFFF}), tcpDestinationPort, 2)
Definition at line 36 of file flow_report_classify.h.
◆ foreach_ipfix_tcpudp_field
#define foreach_ipfix_tcpudp_field |
Value:_(tcpudp->src_port, ((
u16[]){0xFFFF}), sourceTransportPort, 2) \
_(tcpudp->dst_port, ((
u16[]){0xFFFF}), destinationTransportPort, 2)
Definition at line 32 of file flow_report_classify.h.
◆ foreach_ipfix_transport_protocol_field
#define foreach_ipfix_transport_protocol_field |
Value:switch (transport_protocol) { \
case 255: \
foreach_ipfix_tcpudp_field; \
break; \
case 6: \
foreach_ipfix_tcp_field; \
break; \
case 17: \
foreach_ipfix_udp_field; \
break; \
}
Definition at line 44 of file flow_report_classify.h.
◆ foreach_ipfix_udp_field
#define foreach_ipfix_udp_field |
Value:_(tcpudp->src_port, ((
u16[]){0xFFFF}), udpSourcePort, 2) \
_(tcpudp->dst_port, ((
u16[]){0xFFFF}), udpDestinationPort, 2)
Definition at line 40 of file flow_report_classify.h.
◆ ipfix_classify_add_table()
◆ ipfix_classify_delete_table()
◆ ipfix_classify_send_flows()
◆ ipfix_classify_table_index_valid()
◆ ipfix_classify_template_rewrite()
◆ flow_report_classify_main