lkml.org 
[lkml]   [1999]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsk_buff
Hi,
Is there a way to use sk_buff to get all the incoming and outgoing
packets from the ethernet layer. i.e. from the eth.c etc. I'm interested in getting
info. about the packet headers and also some other kernel variables. Specifically the src address, dest.addr, portnos etc. from the kernel itself. I thought that sk_buff->data would be storing these headers and the data also, but when I try to print it out, it just prints garbage values.

Is it possible to do it this way.
Any suggestions would be helpful,

Sincerely,
Aamir
---


Get your FREE Email at http://mailcity.lycos.com
Get your PERSONALIZED START PAGE at http://my.lycos.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.052 / U:1.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site