Data structure for TCP packet in linux

  • Thread starter Thread starter ha-as
  • Start date Start date
H

ha-as

Hello,

I want to know which header file in Linux contains the structure of the TCP packets i.e. the data type definition of the tcp packet struct.

What I want is to get access to the data members of the TCP packets which are being stored in one of the there following socket buffer queues:

Out of order queue "out_of_order_queue".
Write queue "sk_write_queue".
Receive queue "sk_receive_queue".

In-order to manipulate the timestamp of each packet. So where is the structure is located?

Thanks a lot.

Continue reading...
 
Back
Top