Date: Fri, 2 Mar 2007 01:44:04 +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: <200703020144.l221i4gA063862@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
emaste 2007-03-02 01:44:04 UTC
FreeBSD src repository
Modified files:
sys/netgraph ng_source.c ng_source.h
Log:
Add "setcounter" and "getcounter" messages, providing the the ability
to embed up to four counters in outgoing packets. The message specifies
the offset at which the counter should be inserted as well as the
parameters of the counter.
Example usage:
ngctl msg src0: setcounter \
'{ index=0 offset=0x40 flags=1 width=4 increment=1 max_val=12345 }'
Sponsored by: Sandvine Incorporated
Revision Changes Path
1.29 +108 -0 src/sys/netgraph/ng_source.c
1.9 +29 -0 src/sys/netgraph/ng_source.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703020144.l221i4gA063862>
