tcpdump mailing list archives

Re: how can i access tsval from tcp options?


From: "Daniel H. Bahr" <dhbahr () gmail com>
Date: Mon, 17 Feb 2014 08:42:19 -0500

Thanks, Denis, I'll check that out.

2014-02-15 14:28 GMT-05:00, Denis Ovsienko <infrastation () yandex ru>:
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

_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: