Hi All,

I'm working on a minor modification to dummynet to create a pipe option that allows arbitrarily specified packets to be dropped (as opposed to the current "plr" option that introduces random, uncontrollable packet loss). I can't seem to figure out how to clear/reset dummynet queue counters associated with a pipe, which are shown when "ipfw pipe list" is issued.

Example of counters I'm referring to:

... Tot_pkt/bytes Pkt/Byte Drp

... 2619   219996  0    0   4
   ^^^^   ^^^^^^  ^    ^   ^

The ipfw man page and source does not reveal anything obvious, and in fact indicates to me that the functionality does not exist at all. Yes, I can delete and recreate the pipe which has the same net effect, but it's not as useful as, say, a "ipfw pipe zero" option. It's entirely possible I've missed something though so I wanted to check before diving in and attempting to add support for this.

Cheers,
Lawrence
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to