________________________________________
From: kernelnewbies-bou...@nl.linux.org [kernelnewbies-bou...@nl.linux.org] On 
Behalf Of Kamyar Mohajerani [kam...@gmail.com]
Sent: Tuesday, September 14, 2010 4:28 PM
To: kernelnewbies@nl.linux.org
Subject: skb fileds

>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.

Following should be a good starting point  (It's a bit older skb format but 
basic concepts remain the same)
http://vger.kernel.org/~davem/skb_data.html

Hope this helps

-Smital
______________________________________________________________________

This Email may contain confidential or privileged information for the intended 
recipient (s) If you are not the intended recipient, please do not use or 
disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________

--
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