sk_buff->cb[48] could be used to toss in user-defined fields without having to modify the kernel. Just be certain as to the other consumers of this shared array of bytes. Stuart ----- Original Message ----- From: "omanakuttan" <omanakuttan@tataelxsi.co.in> To: "mohanlal jangir" <mohanlal@samsung.com> Cc: "bunty" <bunty123_4@rediffmail.com>; <kernelnewbies@nl.linux.org> Sent: Wednesday, April 14, 2004 11:19 AM Subject: Re: Basic understanding about sk_buff packet handling > > > > 1) i want to add two fields of each 4 bytes in sk_buff structure what is the > > effect of it on kernel packet processing? Is there any -ve effect? > > No -ve effect. Even if it has, there is no one stopping you to heck with > > kernel :-) > IMHO, the fields are ordered so as to facilitate faster access. Adding > fields amy affect the performance adversely. I am not sure about this, > though. :-) > regards, > Om. > > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/