Function peafowl::convertPcapDlt¶
Defined in File peafowl.hpp
Function Documentation¶
-
ProtocolL2
peafowl::convertPcapDlt(int dlt)¶ convertPcapDlt 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.