apalaios@xxxxxxxxxxxx wrote:
Hi... do u know how i can "watch" the path that a packet follows after it have
been received from the kernel?
I need a low level packet debuger or something else that shows what a packet do
inside the kernel..
Any suggestion?
Thx
there is a debug variable in the sock structure that you can enable at
various points, and use in instrumentation to conditionally print out
data at various points. I usually turn in on in sys_socket, or
sys_connect, etc, based on information I have on hand at the time
(process name, dest ip, etc). That allows me to print out data for a
particular socket as its datagrams traverse the IP stack.
HTH
Neil
----------------------------------------------------------------
This message was sent through the TEI of ATHENS by means of NOC.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
/***************************************************
*Neil Horman
*Software Engineer
*Red Hat, Inc.
*nhorman@xxxxxxxxxx
*gpg keyid: 1024D / 0x92A74FA1
*http://pgp.mit.edu
***************************************************/
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html