Welcome, Guest
You have to register before you can post on our site.



Search Forums

(Advanced Search)

Forum Statistics
» Members: 8
» Latest member: raminblackhat
» Forum threads: 2
» Forum posts: 8

Full Statistics

Online Users
There are currently 2 online users.
» 0 Member(s) | 2 Guest(s)

Latest Threads
get offset to user data f...
Forum: Kernel Networking Stack
Last Post: kirankankipati
11-17-2016, 03:10 AM
» Replies: 3
» Views: 871
How to create a portable ...
Forum: Configuration and Setup
Last Post: kirankankipati
09-22-2016, 01:24 PM
» Replies: 3
» Views: 754

  get offset to user data from tcp header
Posted by: shyamsaini - 11-15-2016, 03:14 PM - Forum: Kernel Networking Stack - Replies (3)

I searched  and found this link
data from tcp_hdr 

which shows

(char *)((unsigned char *)tcph + (tcph->doff * 4));

Now my questions is, doff is already representing size of tcp-header in 32 bit word form. Then why tcph is added with it   (see above code).

Also why it typecasted in char*  . if we have offset in integer form?

Print this item

  How to create a portable VmImage of Ubuntu with mainline kernel
Posted by: shyamsaini - 09-22-2016, 12:54 PM - Forum: Configuration and Setup - Replies (3)

A portable VmImage of ubuntu which is having mainline kernel and which can shared among different users

Print this item