[Click] How to handle packets received in input port ?
Eddie Kohler
kohler at cs.ucla.edu
Mon Oct 18 13:44:04 EDT 2004
Hi ystar,
There are a couple things you could check. Just getting the signature of
simple_action() wrong can cause it not to be called. Put a
click_chatter("message") in the simple_action() method; do you see any printouts?
Eddie
ystar master wrote:
> i am a new click user, i am writing an new element to
> process packets following a new ip traceback
> technique. I would like to modify packets before
> forwarding them to the next element. i have tried to
> personalize simple_action method (in the new defined
> class) but without effect when running the following
> config :
> FromDevice(eth0)->MyElement->print(n)->Discard;
>
>
> so my question is : where to put handling packets
> instructions and how to call this method. For
> processing method, i have used agnostic mode.
>
> Thanks in advance
>
>
>
>
>
>
> Vous manquez d’espace pour stocker vos mails ?
> Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
> Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
>
> Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list