pcap_tstamp_type_name_to_val3
Get the time stamp type value corresponding to a time stamp type name
Usage
#include <pcap/pcap.h>
int pcap_tstamp_type_name_to_val(const char *name);
Overview
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.
Releases
33 releases since FreeBSD 9.1-RELEASE; the text changed 5 times.