Wireshark-dev: [Wireshark-dev] writing batch application using wireshark and its dissectors
From: Iftikhar Rathore <irathore@xxxxxxxxxxxxxxx>
Date: Tue, 21 Sep 2010 16:50:43 -0500
Hi
Sorry, if it has been asked before, I could not find any info on making
an application that uses several dissectors provided by wireshark. In
other words I need to write an application that doe's analysis and
measures timing on a capture. I cannot use the plugin architecture
because I need to be able to do it offline and use it for regression
testing of network applications.

If anyone can point me to the right direction, I will be very grateful.
I can use libcap but then I will have to write all the dissectors
myself.

Looking at the docs, looks like the TAP interface may be useful, but I
do not know if it can be used by a external application.

Any help will be appreciated.   

   -----------------------------------------------------------
			CONFIDENTIALITY NOTICE:
   -----------------------------------------------------------
This electronic mail message and any attached files contain information
intended for the exclusive use of the individual or entity to whom it is addressed and may contain information that is proprietary, privileged, confidential and/or exempt from disclosure under applicable law.  If you are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or distribution of this information may be subject to legal restriction or sanction.  Please notify the sender, by electronic mail or telephone, of any unintended recipients and delete the original message without making any copies.