linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how do i get a packets contents from using printks
@ 2002-05-13 14:03 william fitzgerald
  2002-05-13 18:32 ` blitzkrieg
  0 siblings, 1 reply; 2+ messages in thread
From: william fitzgerald @ 2002-05-13 14:03 UTC (permalink / raw)
  To: linux-c-programming

hi all,

i have inserted printk statements into a 2.4.14
kernel in the networking code and want to trace a
packet through the kerenl.

i have being able to record a particular sk_buff
by for example:
printk(KERN_DEBUG"ip_forwrd(sk_buff %P)-> entry
point",skb);

but how do i extract the packets headers etc from
the sk_buff?


Beer Mail, brought to you by your friends at beer.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-13 18:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-13 14:03 how do i get a packets contents from using printks william fitzgerald
2002-05-13 18:32 ` blitzkrieg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).