[Click] Modification(handling) of an ip packet data field ?
ystar master
yacdje77 at yahoo.fr
Wed Oct 20 03:07:29 EDT 2004
Hi Eddie,
Thank you for informations that you have provided. I
think that i have found the solution to access the
data field by using th_off defined in the
include/clicknet/tcp.h. If there are another mean to
access data field, please inform me.
Thanks again
YacineI
--- Eddie Kohler <kohler at cs.ucla.edu> a écrit :
> Hi Yacine,
>
> The general pattern is to "uniqueify" the packet,
> making sure that it is not
> shared. Then the "ip_header()" and "tcp_header()"
> return values will become
> writable. See IPMirror (elements/ip/ipmirror.cc)
> for an example.
>
> Eddie
Vous manquez despace 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
More information about the click
mailing list