extract TCP flags


Walid Aljoby <walid_aljoby@...>
 

Hi All,

My question is about TCP flags.

 I am able to successfully get incoming packets from the switch, decode and identify their protocol, source and dest IP addresses, source and dest port numbers. But the problem I am not able to get TCP flags like Syn and Ack information. So:
 
I was wondering if anyone has an idea if it is possible to get information about TCP flags and check which flags are set or not set
I am specifically interested in TCP SYN and ACK flags.

Many thanks!

Best Regards
Walid