tcpdump mailing list archives

Re: how can i access tsval from tcp options?


From: Denis Ovsienko <infrastation () yandex ru>
Date: Sat, 15 Feb 2014 23:28:40 +0400

15.02.2014, 18:44, "Daniel H. Bahr" <dhbahr () 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


Current thread: