From: Richard C. <ric...@gm...> - 2013-07-21 16:22:59
|
On Sun, Jul 21, 2013 at 03:31:41PM +0100, Milutin Aksic wrote: > Hello, > Can you tell me for some good documentation where I can find a clue > how to write that program which should give me hardware time stamp > and length of outgoing packets on the link? Read Documentation/networking/timestamping.txt from the Linux kernel. See also the example program in Documentation/networking/timestamping. BTW, you can only get transmit HW time stamps for packets send by your own program, not all outgoing packets. > Could I use your linuxptp > program's packet for that reason? Yes, look at raw.c and sk.c. HTH, Richard |