[Click] How to hand packet to linux stack

Roberto Riggio roberto.riggio at create-net.org
Tue Dec 8 08:58:02 EST 2009


Hi,

i'm trying to hand packets generated by click to the standard linux
stack. For example I have the following script:

InfiniteSource(DATASIZE 1000)
->UDPIPEncap(2.0.0.2, 6666, 1.0.0.2, 7777)
->KernelTun(2.0.0.1/8)
->Discard();

However, if i run another click instace with the following script:

KernelTun(1.0.0.1/8)
->Print()
->Discard();

I do not get any output.

I saw that with Socket I can implement such a communication, but
only if I know the other socket's address.

Thanks

R.


More information about the click mailing list