PCAP_TSTAM...AL_TO_NAME(3)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

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