Diff for /wikisrc/projects/project/kernel_udp_timestamping.mdwn between versions 1.2 and 1.3

version 1.2, 2011/11/06 14:48:47 version 1.3, 2013/02/14 22:29:08
Line 13  mentors=""" Line 13  mentors="""
 category="kernel"  category="kernel"
 difficulty="easy"  difficulty="easy"
 duration="3 months"  duration="3 months"
   status="done 2012"
   
 description="""  description="""
 Many applications that use UDP unicast or multicast to receive data, need to store the data together with its reception time, or time the arrival time of packets as precisely as possible. This is required for example in order to be able to replay the data in simulated real-time to be able to do further performance analysis or quality control. Right now the only way to do this is to call [recv(2)](http://netbsd.gw.com/cgi-bin/man-cgi?recv+2+NetBSD-5.1+i386)/[recvmsg(2)](http://netbsd.gw.com/cgi-bin/man-cgi?recvmsg+2+NetBSD-5.1+i386)/[recvfrom(2)](http://netbsd.gw.com/cgi-bin/man-cgi?recvfrom+2+NetBSD-5.1+i386) to grab the data, followed by [gettimeofday(2)](http://netbsd.gw.com/cgi-bin/man-cgi?gettimeofday+2+NetBSD-5.1+i386)/[clock_gettime(2)](http://netbsd.gw.com/cgi-bin/man-cgi?clock_gettime+2+NetBSD-5.1+i386). This is undesirable because:  Many applications that use UDP unicast or multicast to receive data, need to store the data together with its reception time, or time the arrival time of packets as precisely as possible. This is required for example in order to be able to replay the data in simulated real-time to be able to do further performance analysis or quality control. Right now the only way to do this is to call [recv(2)](http://netbsd.gw.com/cgi-bin/man-cgi?recv+2+NetBSD-5.1+i386)/[recvmsg(2)](http://netbsd.gw.com/cgi-bin/man-cgi?recvmsg+2+NetBSD-5.1+i386)/[recvfrom(2)](http://netbsd.gw.com/cgi-bin/man-cgi?recvfrom+2+NetBSD-5.1+i386) to grab the data, followed by [gettimeofday(2)](http://netbsd.gw.com/cgi-bin/man-cgi?gettimeofday+2+NetBSD-5.1+i386)/[clock_gettime(2)](http://netbsd.gw.com/cgi-bin/man-cgi?clock_gettime+2+NetBSD-5.1+i386). This is undesirable because:

Removed from v.1.2  
changed lines
  Added in v.1.3


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb