recvfrom

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hallo everybody,
Just a very short question. Is it possible to use the
function recvfrom to read all incoming packet at the
network interface layer (with RAW SOCKET) so that the
packet is removed from the kernel receive queue?

Perhabs it is better to explain exactly what i want:
 - I have opened a raw socket, that i'm using to read
all incoming packet at a network card on my machine.
 - Now, with recvfrom i receive just a copy of the
incoming packets. 
 - That means the packet still have a normal treatment
in the kernel. 
 - Interesting for me will be to remove the packet (
not just a copy) from the kernel queue.

How can i do that ?
I would be grateful for any advices.
Best regards.

__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux