This project is read-only.

TCP Headers

Jul 20, 2011 at 11:30 AM

Hi Boaz,

How can I extract the following:

TCP ACK Number
TCP CtrlBit (ACK/PSH)
TCP Sequence Number
TCP Length

 

techguy

Jul 23, 2011 at 9:13 AM

Hi techguy,

 

If you have a standard TCP packet, you can probably get these fields by doing.

 

packet.Ethernet.IpV4.Tcp.AcknowledgmentNumber

packet.Ethernet.IpV4.Tcp.ControlBits

packet.Ethernet.IpV4.Tcp.SequenceNumber

packet.Ethernet.IpV4.Tcp.Length or HeaderLength or PayloadLength

 

I hope this helps,

 

Boaz.

Jul 23, 2011 at 10:09 AM

Hi Boaz,

Appreciate your never-ending help.

 

Cheers!

techguy