[Click] TCP Option field
Eddie Kohler
kohler at cs.ucla.edu
Fri Jul 6 11:27:38 EDT 2007
Max,
If you want an example in Click of TCP option processing, take a look at
TCPMapping::apply_sack in elements/tcpudp/tcprewriter.cc; or at the
unparse_tcp_opt function in elements/analysis/ipsumdump_tcp.cc.
Eddie
el.drago at tiscali.it wrote:
> Hi to all,
>
> I have an urgent question about how to read/write/set the TCP-Option
> Field.
>
> I searched in /include/clicknet/tcp.h but there were only #define
> about it, but nothing else, even if i see that click can extract the
> Timestamp value from the packet and I know that it is memorized in the
> option field.
>
> After having "googled" in the web and in the mailing list I have
> decided to ask here if somebody knows how to gain access and/or how to
> set that field if not present in the packet analyzed.
>
> Has anyone the answer about it?
> Please help me or give me advices about this problem, because I spent
> about a month on it before deciding to ask and now I don't have idea
> how to continue.
>
> Thanks in advance and best regards,
> Max Dragoni
>
> PS: please forgive my bad english :)
>
>
>
>
> _______________________________________________________
> Naviga e telefona senza limiti con Tiscali
> Scopri le promozioni Tiscali Adsl: navighi e telefoni senza canone Telecom
>
> http://abbonati.tiscali.it/adsl/
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list