Packet tapping

Manoj Sontakke (
Wed, 12 Sep 2001 15:02:56 +0530

Is it possible to tap a packet and send it to a userlevel program
before it is sent to appropriate receive function (say ip_rcv()). The
user level program will give the packet back to the kernel for delivery
to appropriate receive function.
In short, is it possible to have a protocol stack (between layer 2 and
3) to be implemented in useland.

Is Tun/Tap driver useful here?

Thanks for all the help
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at