Function pfwl_convert_pcap_dlt¶
Defined in File peafowl.h
Function Documentation¶
-
pfwl_protocol_l2_t
pfwl_convert_pcap_dlt(int dlt)¶ pfwl_convert_pcap_dlt Converts a pcap datalink type (which can be obtained with the pcap_datalink(…) call), to a pfwl_datalink_type_t.
- Return
The peafowl datalink type. PFWL_DLT_NOT_SUPPORTED is returned if the specified datalink type is not supported by peafowl.
- Parameters
dlt: The pcap datalink type.