Extract the payload of the packet from SKB buffer at Layer-2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

Is there any mechanism to get the payload area after extracting the transport
header from skb at layer-2. I think we can do this with the combination of skb_full and skb_reset_mac_header, skb_reset_network_header, and skb_reset_transport_header
functions. My main interest is extract the payload from the skb and reset the all the
headers so that the skb remains unchanged.


Help in this regards is highly appreciated.

Thanks,
Ramana.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux