Kailiang Ying
2016-12-07 20:24:01 UTC
Both ip and tcp header can contains options field. I am wondering where is options field stored in kernel packet data structure sk_buff?
Originally, I thought the data should be inside sk_buff->cb. When I spoof a tcp timestamp options packet and use loadable kernel module to print out the sk_buff->cb. The sk_buff->cb are all zero. Any idea where does options field stored in sk_buff?
Thanks for any response
Kailiang
Originally, I thought the data should be inside sk_buff->cb. When I spoof a tcp timestamp options packet and use loadable kernel module to print out the sk_buff->cb. The sk_buff->cb are all zero. Any idea where does options field stored in sk_buff?
Thanks for any response
Kailiang