cvs commit: src/sys/netgraph ng_source.c ng_source.h

Ed Maste emaste at
Fri Mar 2 01:44:05 UTC 2007

emaste      2007-03-02 01:44:04 UTC

  FreeBSD src repository

  Modified files:
    sys/netgraph         ng_source.c ng_source.h 
  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

More information about the cvs-src mailing list