Measure packet traverse time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am using laptop with linux debian, kernel 2.6.12. My network configuration is following. Router is connected to laptop and sending periodically UDP packets ( let say with interval 100 ms) to laptop ethernet interface, this packets are routed to wireless interface (which working like Madwifi Access Point) and futher to wireless client. Routing of UDP packets inside linux box made thanks to proper Iptables configuration.
Can anyone help to understand how i can measure packet traverse time inside linux kernel, i mean the interval from UDP packet coming to ethernet interface to time of packet going out from wireless interface. Can i somehow connect the packet arrival event with values(in microseconds) of kernel time, same for outgoing packet? For routing, kernel probably is using buffering, that means that packets going through linux box can be served different time in microseconds.
Thank's in advance,
regards Yuri 
   
-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux