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)

Return
0 on success, a negative number otherwise
Parameters
  • serializer: The serializer handle
  • record: The record value
  • record_len: The record length