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 [EMAIL PROTECTED]
> > with "unsubscribe freebsd-net" in the body of the message
> >


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to