Function ndpi_serialize_uint32_uint64

Function Documentation

int ndpi_serialize_uint32_uint64(ndpi_serializer *serializer, u_int32_t key, u_int64_t value)

Serialize a 32-bit unsigned int key and a 64-bit unsigned int value

Return
0 on success, a negative number otherwise
Parameters
  • serializer: The serializer handle
  • key: The field name or ID
  • value: The field value