tcpdump mailing list archives

Re: New APIs to support multiple DLT_'s on an interface


From: Guy Harris <gharris () sonic net>
Date: Wed, 11 Dec 2002 15:11:14 -0800

BTW, other APIs that might be useful might be one that takes a string
specifying a DLT_ type, as supplied to "-D" (or "-I") as an argument,
and returns either the corresponding DLT_ type, if it exists, or -1, if
not, and one that takes a DLT_ type and returns the corresponding
string, or NULL if that value isn't a known DLT_ type.

That would be used by tcpdump's "show_dlts_and_exit()" routine and the
code to handle "-D"; it could also be used by *other* applications that
support the APIs for multiple DLT_ types per interface.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: