Enum pfwl_statistic_t

Enum Documentation

enum pfwl_statistic_t

A generic statistic for the flow. While a field is something related to the packet, a statistic is something related to the flow (e.g. packets per second, etc…).

Values:

enumerator PFWL_STAT_PACKETS

Number of packets, one value for each direction. Multiple IP fragments count like a single packet.

enumerator PFWL_STAT_BYTES

Number of bytes (from L3 start to end of packet).

enumerator PFWL_STAT_TIMESTAMP_FIRST

Timestamp of the first packet received for this flow. Resolution depends on the values provided through the pfwl_dissect_from_L* calls.

enumerator PFWL_STAT_TIMESTAMP_LAST

Timestamp of the last packet received for this flow. Resolution depends on the values provided through the pfwl_dissect_from_L* calls.

enumerator PFWL_STAT_L4_TCP_RTT_SYN_ACK

Round-Trip-Time (RTT), measuring delay from the first SYN received to the corresponding ACK. Resolution depends on the values provided through the pfwl_dissect_from_L* calls.

enumerator PFWL_STAT_L4_TCP_COUNT_SYN

Number of segments with SYN bit set.

enumerator PFWL_STAT_L4_TCP_COUNT_FIN

Number of segments with FIN bit set.

enumerator PFWL_STAT_L4_TCP_COUNT_RST

Number of segments with RST bit set.

enumerator PFWL_STAT_L4_TCP_COUNT_RETRANSMISSIONS

Number of retransmitted packets.

enumerator PFWL_STAT_L4_TCP_COUNT_ZERO_WINDOW

Number of zero window segments.

enumerator PFWL_STAT_L4_TCP_WINDOW_SCALING

Window scaling value (shift count) or -1 if the TCP option was not present.

enumerator PFWL_STAT_L7_PACKETS

Number of packets with a non-zero L7 payload.

enumerator PFWL_STAT_L7_BYTES

Number of L7 bytes. One value for each direction.

enumerator PFWL_STAT_NUM

Dummy value to indicate number of statistics. Must be the last stat specified.