sk_buff

Aamir Shaikh (ashak@mailcity.com)
Wed, 24 Nov 1999 09:01:53 -0800


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/