Re: sk_buff how to access???

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

 



so usp (so_usp@xxxxxxxxxxxx) wrote:
> Hi People
> 
> I don't know a lot about the source code of Linux
> kernel yet and i know that the structure sk_buff (in
> file skbuff.h) contains many varibles that show like
> stamp that store the time arrival. Now i don't know
> how can i access this structure when a packet comes. I
> want to access the content of this variables that it
> was created before by kernel and don't create one by
> myself.
> 
> If i am right, i think when the packet comes, kernel
> create a new sk_buff that contains information about
> the packet that will be sent by application or that
> comes from another computer. So i would like to know
> how to access this new structure created by kernel. If
> it's possible to access, how?
> 
> Thanks,
> Luis Henrique from Brazil.

Search in direction to netfilter hooks.
Please don't fix your ReplyTo flags, and please read more
code(http://lxr.linux.no/source/) and search the web.

Have a good day.
-- 
Amicalement

Christophe 

* GNU/Linux & UNIX developer and network administrator
* Membre RotomaLUG (http://www.rotomalug.org)
* Registered User #271267
* Email: c.lucas@xxxxxxxxxxx
* Web Site: http://odie.mcom.fr/~clucas/

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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