TCP/IP stack data structure in the Linux kernel space

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

ha-as

I am trying to understand the implementation of TCP/IP stack in the linux kernel space. And I came across multiple-thing which I am not sure about.

1. What is meaning of non-linear sk_buff, and how does it differ from linear sk_buff?

2. If I want to get the timestamp option in the TCP header to obtain Timestamp value and timestamp reply, how can I extract it from sk_buff using tcphdr structure?

3. Changing the value of the timestamp requires, recalculating the TCP checksum ,right? So how can I do that in terms of functions required in the coding?

Continue reading...
 
Back
Top