Network stack over LSF

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

 




Hi all

	I am currently writing a module using the existing af_packet
module for packet capturing.I want the packets that passed the BPF filter
to be forwarded to the appropriate network stack e.g TCP/IP.I think that
if i just use ip_rcv() then i might have problems from packets that i have
received when the network card was in promiscuous mode.Is there any way of
changing the "data path" of TCP/IP without changing the kernel code but
only my module?
Does anyone know something that may be usefull?

note:I believe that this is different from applying a filter in a TCP
socket because in this case i throw the packets earlier.

thanks


-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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