PCAP_TSTAM...AL_TO_NAME(3)
Bestie, welcome to the Library Functions Manual β this is the pcap_tstamp_type_val_to_name(3) page, and it's giving helpful-library-functions energy. π
β¨ NAME β¨
The iconic duo here is pcap_tstamp_type_val_to_name and pcap_tstamp_type_val_to_description β they get a name or a 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 π
Okay so pcap_tstamp_type_val_to_name() translates a time stamp type value into the corresponding time stamp type name. If it can't do the thing, it returns NULL β no cap. π
And pcap_tstamp_type_val_to_description() translates a time stamp type value into a short description of that time stamp type. Same deal: NULL comes back on failure. π«Ά
π¦ BACKWARD COMPATIBILITY π¦
These functions became available in libpcap release 1.2.1. That's the compatibility lore, bestie. β¨
π SEE ALSO π
Okay bestie, that's the whole page β from the Library Functions Manual, dated 22 August 2018, with the footer tag PCAP_TSTAM...AL_TO_NAME(3) doing its little iconic thing. byeee ππ
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 1994, 1996, 1997 The Regents of the University of California. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms