Function ndpi_serialize_binary_int64

Function Documentation

int ndpi_serialize_binary_int64(ndpi_serializer *_serializer, const char *key, u_int16_t klen, int64_t value)

Serialize an unterminated string key and a 64-bit signed int value

Parameters:
  • serializer – The serializer handle

  • key – The field name or ID

  • klen – The key length

  • value – The field value

Returns:

0 on success, a negative number otherwise