Module p0f_api::raw [] [src]

Raw structures for p0f API communication.

Structs

p0f_api_query

Raw struct accepted by p0f

p0f_api_response

Raw struct returned by p0f

Constants

P0F_ADDR_IPV4

addr_type for IPv4 query.

P0F_ADDR_IPV6

addr_type for IPv6 query.

P0F_MATCH_FUZZY

Response os_match_q fuzzy bit.

P0F_MATCH_GENERIC

Response os_match_q generic bit.

P0F_QUERY_MAGIC

Query magic value.

P0F_RESP_MAGIC

Response magic value.

P0F_STATUS_BADQUERY

Response status returned on bad query.

P0F_STATUS_NOMATCH

Response status returned on no match.

P0F_STATUS_OK

Response status returned on match.

P0F_STR_MAX

Max length of C string returned.

P0F_STR_SIZE

sizeof C string struct field returned by p0f (P0F_STR_MAX + trailing zero).

SIZEOF_QUERY

sizeof p0f_api_query.

SIZEOF_RESPONSE

sizeof p0f_api_response.