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

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	ckuethe_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2008/05/02 00:49:32

Modified files:
	lib/libc/sys   : getsockopt.2 
	sys/sys        : socket.h 
	sys/kern       : uipc_socket.c 
	sys/netinet    : raw_ip.c udp_usrreq.c 

Log message:
Make the SO_TIMESTAMP sockopt work. When set, this allows the user to
get a timestamp of when the datagram was accepted (by udp(4), for
example) rather than having to take a timestamp with gettimeofday(2)
when recv(2) returns - possibly several hundreds of microseconds later.
May be of use to those interested in precision network timing schemes
or QoS for media applications. Tested on alpha, amd64, i386 and sparc64.
manpage suggestions from jmc, ok deraadt



Visit your host, monkey.org