pcap_tstamp_type_val_to_name(3)

pcap_tstamp_type_val_to_name3

Get a name or description for a time stamp type value

Usage

#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);

Overview

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.

Releases

33 releases since FreeBSD 9.1-RELEASE; the text changed 6 times.

  1. 9.1–10.4
  2. 11.0
  3. 11.1–11.3
  4. 11.4
  5. 12.0–12.1
  6. 12.2–13.4
  7. 13.5–16.0

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's man source.