pcap_tstamp_type_val_to_name(3pcap)

pcap_tstamp_type_val_to_name3pcap

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. A null pointer 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. A null pointer is returned on failure.

Backward compatibility

These functions became available in libpcap release 1.2.1.

Releases

8 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7
  2. 8
  3. 9–10
  4. 11–13
  5. Arch

From libpcap 1.11.0-1 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.