ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Regarding wireshark design

From: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
Date: Thu, 10 May 2012 04:37:47 -0700
On Thu, May 10, 2012 at 4:28 AM, Singh, Anand <Anand.Singh@xxxxxxxxxxxxx> wrote:
> Hi,
>                Can you please let me know how does it talk with raw packets. Is it using existing
> TCP stack or is it directly communication with lower level drivers like phy/Mac layer. &
> Where do I find that code section where we accessing raw buffers.

Sigh. It is all in the documentation.

If we are capturing off the wire, then I believe that it uses
dumpcap.c and does not talk to packet sockets or anything like that.
It actually links to libpcap.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)