Function ndpi_serialize_uint32_binary
Defined in File ndpi_api.h
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
- Parameters:
serializer – The serializer handle
key – The field name or ID
value – The field value
vlen – The value length
- Returns:
0 on success, a negative number otherwise