pcap_tstamp_type_val_to_name - 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(3pcap)
NAME
pcap_tstamp_type_val_to_name, pcap_tstamp_type_val_to_description - get
a name or description for a time stamp type value
SYNOPSIS
#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);
DESCRIPTION
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.
BACKWARD COMPATIBILITY
These functions became available in libpcap release 1.2.1.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+------------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+------------------------+
|Availability | system/library/libpcap |
+---------------+------------------------+
|Stability | Uncommitted |
+---------------+------------------------+
SEE ALSO
pcap(3PCAP), pcap_tstamp_type_name_to_val(3PCAP)
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from https://www.tcpdump.org/release/libp-
cap-1.9.1.tar.gz.
Further information about this software can be found on the open source
community website at https://www.tcpdump.org/.
22 August 2018
PCAP_TSTAMP_TYPE_VAL_TO_NAME(3pcap)