Function ndpi_serialize_raw_record

Function Documentation

int ndpi_serialize_raw_record(ndpi_serializer *_serializer, u_char *record, u_int32_t record_len)

Serialize a raw record in an array (this is a low-level function and its use is not recommended)

Parameters:
  • serializer – The serializer handle

  • record – The record value

  • record_len – The record length

Returns:

0 on success, a negative number otherwise