Accessing time

From: Abhinav Gupta
Date: Thu Mar 25 2004 - 14:45:51 EST

Can anyone please give me pointers to accessing system time? I need to timestamp each tcp-packet that I receive over the network. I have tried using sys_gettimeoftheday() but due to frequent calls, the function doesn't always return a correct return value.

Thanks in advance.


To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at