In TCP Communication, when the packet is being transferred from ethernet to network(IP) layer, I want to print the data present in that packet?
I am working on linux (ununtu 14.04).
I got some information that it can be done with the help of linux kernel code i.e in linux NAT Firewall code. But where I will get linux kernel source code? Where these coding is being done? Please help me..