Kamyar Mohajerani wrote:
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

This site is a good start:

 http://www.skbuff.net/skbuff.html

Later . . .   Jim


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to