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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"