15.02.2014, 18:44, "Daniel H. Bahr" <dhb...@gmail.com>:
> Hello everyone,
>
> I'm in need of accessing the tsval value of the options field in the
> tcp header... i've been checking the tcp.h and did not find anything
> that helped me.
>
> Does any body know how to do it?

Greetings.

TCP options are a particular case of TLV class of encodings. This most likely 
implies that TCP options are opaque to libpcap. To access one or more TCP 
options it is necessary to have some code like that in tcpdump, print-tcp.c 
around line 500.

-- 
    Denis Ovsienko
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to