Jump to content

TCP/IP stack data structure in the Linux kernel space


Recommended Posts

Guest ha-as
Posted

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...