tcpdump mailing list archives

Re: libpcap : Reading from kernel interface


From: Guy Harris <guy () alum mit edu>
Date: Thu, 31 Aug 2006 18:00:05 -0700


On Aug 30, 2006, at 10:48 AM, madhurag () iitk ac in wrote:

I wish to use hostap (a driver for wireless cards) + libpcap + tcpdump to
bring some extra details of the packets in the user space.

What sort of extra details?

I wish to know that how libpcap reads the packet from the kernel/ interfaces.

The only "hostap driver" I know of is the one in Linux. In Linux, libpcap reads the packet from a PF_PACKET socket.

For my purpose, i have to implement an interface in the hostap code (which
i shall be registering with the kernel).

Why do you have to implement a separate interface?

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: