Function pfwl_field_number_get¶
Defined in File peafowl.h
Function Documentation¶
-
uint8_t
pfwl_field_number_get(pfwl_field_t *fields, pfwl_field_id_t id, int64_t *number)¶ pfwl_field_number_get Extracts a specific numeric field from a list of fields.
- Return
0 if the field was present, 1 otherwise. If 1 is returned, ‘number’ is not set.
- Parameters
fields: The list of fields.id: The field identifier.number: The extracted field, in host byte order.