RE: skb fileds

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

 



________________________________________
From: kernelnewbies-bounce@xxxxxxxxxxxx [kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Kamyar Mohajerani [kammoh@xxxxxxxxx]
Sent: Tuesday, September 14, 2010 4:28 PM
To: kernelnewbies@xxxxxxxxxxxx
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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[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