From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Roy" Date: Mon, 29 Mar 2004 18:30:46 +0000 Subject: Re: [LARTC] [ANNOUNCE] sch_dup - duplicate packet queue discipline [2.6] Message-Id: <010501c415bb$f8f7e600$030aa8c0@t> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Where such thing can be used? and why you implemented such thing as sheduler, not iptables module? > This is my first work for kernel, so please have mercy. :) > > OK, I like to announce sch_dup, a new queue discipline that, attached to a > class (or a device, as root) duplicate packets that pass. Yes, you can > control the frequency of duplicates. > > Example: > tc qdisc add dev eth0 root dup limit 100 gap 1 > This means: create a pfifo queue and send packets with > a gap of 1 (0 = no dups) between duplicates: > gap=0: no duplication > gap=1: NDNDNDNDND > gap=2: NNDNNDNNDNNDNND > (N=not duplicated, D duplicated) > > Attached are 3 patches: 1 patch for net/sched dir, other > for include/linux/pkg_sched.h, and the last for iproute2. > > Any comments are appreciated. > > David, please include it in 2.6. > Alexey, please include the third patch in iproute2. > > Thank you! > --- > Catalin(ux aka Dino) BOIE > catab at deuroconsult.ro > > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/