Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2002 15:43:10 +0100
From:      Marko Zec <zec@tel.fer.hr>
To:        Julian Elischer <julian@elischer.org>, freebsd-net@freebsd.org
Subject:   Re: ng_dummy - netgraph traffic shaping node
Message-ID:  <3C5E9DFE.4AEB55BE@tel.fer.hr>
References:  <Pine.BSF.4.21.0202011012400.67160-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote:

> hmm interesting...
>
> any docs?
> (we always include a man page when we commit a new node type.)

As the code is still work in progress, writing manpages doesn't make too much
sense before reaching a mature code state. Until then, I hope a basic howto
included on the web page will do the job.

> Any comments on netgraph in general

I'm still catching the impressions right now, though I must admit the first
banal thing I noticed I don't like is somewhat unconsistent hook naming
(left/right, upper/lower, downstream/upstream etc.).
Btw, where could I find some examples on parsing setsockopt() calls to
selected nodes, if such thing is possible at all?

Marko


> On Fri, 1 Feb 2002, Marko Zec wrote:
>
> > The result of an innocent netgraph programming exercise can be found at:
> >
> > http://www.tel.fer.hr/zec/BSD/ng_dummy/
> >
> > "ng_dummy" is a simple traffic shaper node that implements control of
> > traffic flow in both upstream and downstream direction. In each
> > direction, the traffic flows through the sequence of two FIFO-type
> > queues, which implement different queuing policies. The "inbound" queue
> > is rate limited, and emulates an interface output buffer. On "outbound"
> > queue, frames are dequeued based on preconfigured delay, thus emulating
> > propagation effects on a transmission link. Additional features include
> > random frame discarding based on BER; and emulation of phantom traffic,
> > which competes for available bandwidth, and thereby introduces inbound
> > queue congestions and delay jitter.
> >
> > Have fun!
> >
> > Marko
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-net" in the body of the message
> >


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C5E9DFE.4AEB55BE>