pcap_tstamp_type_val_to_name(3PCAP) man page

Updated: 22 August 2018
Return to Main Contents

This man page documents libpcap version 1.11.0-PRE-GIT (see also: 1.10.1, 1.10.0, 1.9.1, 1.9.0, 1.8.1, 1.7.4, 1.6.2, 1.5.3).

Your system may have a different version installed, possibly with some local modifications. To achieve the best results, please make sure this version of this man page suits your needs. If necessary, try to look for a different version on this web site or in the man pages available in your installation.


pcap_tstamp_type_val_to_name, pcap_tstamp_type_val_to_description - get a name or description for a time stamp type value


#include <pcap.h>

const char *pcap_tstamp_type_val_to_name(int tstamp_type);
const char *pcap_tstamp_type_val_to_description(int tstamp_type);


pcap_tstamp_type_val_to_name() translates a time stamp type value to the corresponding time stamp type name. NULL is returned on failure.

pcap_tstamp_type_val_to_description() translates a time stamp type value to a short description of that time stamp type. NULL is returned on failure.


These functions became available in libpcap release 1.2.1.


pcap(3PCAP), pcap_tstamp_type_name_to_val(3PCAP)


This HTML man page was generated at 15:07:07 GMT, November 01, 2021 from a source man page in "The Tcpdump Group" git repositories using man2html and other tools.