Date: Thu, 1 Mar 2007 23:16:17 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_source.c ng_source.h Message-ID: <200703012316.l21NGIll025558@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
emaste 2007-03-01 23:16:17 UTC
FreeBSD src repository
Modified files:
sys/netgraph ng_source.c ng_source.h
Log:
Add "settimestamp" and "gettimestamp" messages, providing the the ability
to embed a timestamp (struct timeval) in outgoing packets. The message
specifies the offset at which the timestamp should be inserted.
NG_SOURCE(4) gives an example usage that queues an ICMP packet. Using that
example, the following command will insert a timestamp in the ICMP's data
payload:
ngctl msg src0: settimestamp '{ offset=0x2a flags=1 }'
Sponsored by: Sandvine Incorporated
Revision Changes Path
1.28 +122 -5 src/sys/netgraph/ng_source.c
1.8 +17 -0 src/sys/netgraph/ng_source.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703012316.l21NGIll025558>
