Darren Reed
2009-Jun-17 13:13 UTC
[dtrace-discuss] [networking-discuss] Trace packet in etherstub and VNIC
okendro wrote:> I want to trace packet movement, syscalls, and other functions called, using DTrace in the etherstub and VNIC''s. Can anyone please point me in the right direction? And also please let me know the absolute path for looking at the source code for etherstub and VNIC. >Unfortunately that''s not possible at present because there''s no universal packet identifier that is preserved for the lifetime of a packet as it moves through the kernel. Things like the pointer to the structure that hold that packet can only be used in a limited fashion because the packet can be rebuilt into a completely new data structure and that passed on. But even if you do that, how do you trace it? The problem is widely accepted but there''s no solution yet. Darren