[Click] ToHost problem

Beyers Cronje bcronje at gmail.com
Sat Mar 26 10:23:38 EST 2005


Hi Bart,

It's not necessary to deliver packets to Linux under the userlever
click as Linux already has a copy of the packet. I presume use of
ToHost in userlevel click is provided for configurations where you
want to modify packets before sending them back to Linux.

Kernel module click on the other hand requires use of ToHost for any
packets you want Linux to see/process.

Regards

Beyers


On Sat, 26 Mar 2005 15:26:09 +0100, Bart Braem <bart.braem at ua.ac.be> wrote:
> Hello,
> 
> I'm trying to build a simple configuration where 2 userlevel routers ping each
> other. I can see my pings going from the first node to the second one and I
> can see correct replies coming back.
> My router decides correctly that the ICMP packets should be delivered to the
> host but there they never arrive in the ping program?  I'm sure these packets
> have all necessary ethernet headers and I'm also sure ToHost writes those
> bytes out.
> Shouldn't I deliver local packet through ToHost or is this the way to do it?
> 
> Bart
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list