Reinject packets
Lars Brinkhoff
lars@nocrew.org
26 Oct 2001 12:55:52 +0200
alexey.vyskubov@nokia.com (Alexey Vyskubov) writes:
> Sandip Bhattacharya writes:
> > If the sk_buff is properly set up, it is possible to send it back to the
> > stack using netif_rx()
Ok, thanks.
> ...and if it has local IP as a source it will be dropped by the
> kernel...
It doesn't. The packets I want to reinject are raw ethernet frames
written by a local process to a PF_PACKET SOCK_RAW socket. Can those
be seen by netfilter?
--
Lars Brinkhoff http://lars.nocrew.org/ Linux, GCC, PDP-10
Brinkhoff Consulting http://www.brinkhoff.se/ programming