[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tcpdump-workers
Subject:    [tcpdump-workers] Re: There's no way to get an error string fromn "pcap_compile_nopcap()"
From:       Assar Westerlund <assar () sics ! se>
Date:       2000-06-20 22:17:06
[Download RAW message or body]

Darren Reed <darrenr@reed.wattle.id.au> writes:
> Let me guess, pcap_compile_nopcap() was implemented to support compiling
> BPF programs without opening a BPF device and because it doesn't use a
> pcap_t, is incompatible with the rest of the pcap interface ?

I think so, and I agree with Darren that having a more consistent API
is good.  Besides, I find the code duplication in pcap_compile and
pcap_compile_nopcap ugly.

/assar
-
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic