tcpdump mailing list archives

pcap_get_tstamp_type() does not exist


From: Denis Ovsienko <denis () ovsienko info>
Date: Mon, 28 Sep 2026 21:05:51 +0100

Hello all.

A pull request today reminded me of an API gap I noticed in 2024 whilst
preparing commit 160ab11.  The "datalink" group of functions provides a
means to enumerate values, to translate a number to a name and back, to
set and to query the current value, which makes sense.  The "tstamp"
group of functions is similar, except it does not provide a means to
query the current value, in other words, pcap_get_tstamp_type() does
not exist.

I vaguely remember discussing this before, but could not find any
previous e-mails, so let me raise this again.  Is there a good reason
not to add this function?

-- 
    Denis Ovsienko
_______________________________________________
tcpdump-workers mailing list -- tcpdump-workers () lists tcpdump org
To unsubscribe send an email to tcpdump-workers-leave () lists tcpdump org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s


Current thread: