pcap_tstamp_type_name_to_val.3pcap - Man Page
get the time stamp type value corresponding to a time stamp type name
Synopsis
#include <pcap/pcap.h> int pcap_tstamp_type_name_to_val(const char *name);
Description
pcap_tstamp_type_name_to_val() translates a time stamp type name to the corresponding time stamp type value. The translation is case-insensitive.
Return Value
pcap_tstamp_type_name_to_val() returns time stamp type value on success and PCAP_ERROR on failure.
Backward Compatibility
This function became available in libpcap release 1.2.1.
See Also
pcap(3PCAP), pcap_tstamp_type_val_to_name(3PCAP)
Info
22 August 2018