Enum pfwl_status

Enum Documentation

enum pfwl_status

Status of the identification process

Values:

enumerator PFWL_ERROR_L2_PARSING

L2 data unsupported, truncated or corrupted.

Errors

enumerator PFWL_ERROR_L3_PARSING

L3 data unsupported, truncated or corrupted.

enumerator PFWL_ERROR_L4_PARSING

L4 data unsupported, truncated or corrupted.

enumerator PFWL_ERROR_MAX_FLOWS

Maximum number of flows reached.

enumerator PFWL_ERROR_IPV6_HDR_PARSING

Error while parsing IPv6 headers.

enumerator PFWL_ERROR_IPSEC_NOTSUPPORTED

IPsec packet, not supported currently.

enumerator PFWL_ERROR_WRONG_IPVERSION

L3 protocol was neither IPv4 nor IPv6.

enumerator PFWL_STATUS_OK

Normal processing scenario.

enumerator PFWL_STATUS_IP_FRAGMENT

Received a fragment of an IP packet. If IP reassambly is enabled, the fragment has been stored and the data will be recompacted and analyzed when all the fragments will be received.

enumerator PFWL_STATUS_IP_DATA_REBUILT

The received datagram allowed the library to reconstruct a fragmented datagram. This status may only be returned if pfwl_parse_L3 is explicitely called. In this case, l3.pkt_refragmented will contain a pointer to the recomposed datagram. This pointer will be different from the packet provided by the user. The user should free() this pointer when it is no more needed.

enumerator PFWL_STATUS_TCP_OUT_OF_ORDER

Received an out of order TCP segment. If TCP defragmentation is enabled, the segment has been stored, and will be recomposed and analyzed when the other segments will be received.

enumerator PFWL_STATUS_TCP_CONNECTION_TERMINATED

FINs has been sent by both peers of the connection. This status is not set for connections closed by RST.