tcpdump mailing list archives
Suggestions for extra libpcap functions
From: Darren Reed <darrenr () reed wattle id au>
Date: Tue, 8 Apr 2003 01:01:32 +1000 (EST)
How about these: int pcap_llheadersize(int dlt) int pcap_get_datalink(pcap_t *pd) Typical use might be: int skipbytes; skipbytes = pcap_llheadersize(pcap_get_datalink(pd)); I find it frustrating that every application I write to handle libpcap input needs the above functions written, in one way or another. Darren - 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:
- Suggestions for extra libpcap functions Darren Reed (Apr 07)
- Re: Suggestions for extra libpcap functions Guy Harris (Apr 07)
- Re: Suggestions for extra libpcap functions Darren Reed (Apr 07)
- Re: Suggestions for extra libpcap functions Guy Harris (Apr 07)