Function ndpi_serialize_uint32_binary

Function Documentation

int ndpi_serialize_uint32_binary(ndpi_serializer *serializer, u_int32_t key, const char *_value, u_int16_t vlen)

Serialize a 32-bit unsigned int and an unterminated string value

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