Reinject packets

Lars Brinkhoff
26 Oct 2001 12:55:52 +0200 (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     Linux, GCC, PDP-10
Brinkhoff Consulting    programming