PCAP_GET_TSTAMP_PRECISION(3)
okay so bestie, welcome to the PCAP_GET_T...P_PRECISION(3) page from the Library Functions Manual β itβs giving timestamp-precision realness, and honestly itβs iconique β¨π
πΈ NAME πΈ
pcap_get_tstamp_precisionβ get the time stamp precision returned in captures π
β¨ SYNOPSIS β¨
#include <pcap/pcap.h>
int pcap_get_tstamp_precision(pcap_t *p);
π¦ DESCRIPTION π¦
pcap_get_tstamp_precision() returns the precision of the time stamp returned in packet captures on the pcap descriptor. Thatβs the whole vibe β it tells you how precise those capture timestamps are, no cap π«Ά
π RETURN VALUE π
pcap_get_tstamp_precision() returns PCAP_TSTAMP_PRECISION_MICRO or PCAP_TSTAMP_PRECISION_NANO, which indicates that pcap captures contains time stamps in microseconds or nanoseconds respectively. literally the precision receipt π
π BACKWARD COMPATIBILITY π
This function became available in libpcap release 1.5.1. In previous releases, time stamps from a capture device or savefile are always given in seconds and microseconds. so if youβre kicking it with an older libpcap, thatβs the deal, periodt β
π«Ά SEE ALSO π«Ά
okay thatβs the whole page, bestie β signing off from the PCAP_GET_T...P_PRECISION(3) page in the Library Functions Manual, dated 23 August 2018. stay precise and slay πβ¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2013, Michal Sekletar
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms