skb fileds

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

 



I'm trying to generate an skb in a kernel module. The packets I have are equivalent to an Ethernet packet.  I'm confused about where exactly in the actual packet should the "data" field of the skb point to. Does it depend on the layer processing/generating the skb, and if yes how? I haven't been able to find any up-to-date documentations. Are there any helper functions that can help setting  different skb fields when we have the actual data and know the packet type? Pointers to up-to-date and relevant docs are appreciated.

Thank you

[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