From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abhinav Gupta Subject: Accessing time Date: Thu, 25 Mar 2004 12:41:19 -0700 Sender: linux-net-owner@vger.kernel.org Message-ID: <406335DF.6060309@hotpop.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: To: netdev@oss.sgi.com, linux-net@vger.kernel.org List-Id: netdev.vger.kernel.org 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. Abhinav.