tcpdump mailing list archives

bpf Filter Debug


From: "Krishna Vora" <Krishna () exact-solutions com>
Date: Fri, 25 Jul 2003 16:32:45 +0530


Hi,

[Using AIX 5.1]
I am using my own bpf filter rules (Not calling pcap_compile, but rather
directly populating the bpf_insn struct). I need to debug a few problem
cases. The bpf_dump looks fine but the kernel seems to be dropping a few
packets in between.

Is there a way to debug the packet filtering mechanism? In particular could
we call some user defined function in case of "jf" in struct insn?

Regards,
Krishna Vora
Senior Software Engineer,
Exact Solutions (India) Pvt. Ltd.
http://www.exact-solutions.com
Phone : +91-22-56311764/65


-
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: