On Tue, 17 Mar 1998, Richard B. Johnson wrote:
[...]
>Change the socket type to SOCK_RAW, there is no longer a SOCK_PACKET.
[...]
Is there a thread on linux-c-programming about capturing data from a
network device, the same thing that tcpdump or a normal sniffer do.
We was talking about to do it using SOCK_PACKET, but I told that
SOCK_PACKET is obsolete (as I read in your email and as the kernel warn as
well), and I asked how to use SOCK_RAW to replace SOCK_PACKET but nobody
know this.
Since you told this at first I hope you can give us a answer.
Thanks in advance.
Andrea[s] Arcangeli