Thread (2 messages) 2 messages, 2 authors, 2004-08-27

Re: [PATCH 2.6] netem update

From: David S. Miller <hidden>
Date: 2004-08-27 23:56:59

On Fri, 27 Aug 2004 12:17:52 -0700
Stephen Hemminger [off-list ref] wrote:
This is a third revision of the netem extensions which provides
	* packet duplication
	* correlated random number
	* loading distribution table

The API is backwards compatible and now uses nested elements to allow
for easier future changes.
Looks great, applied.  A 2.4.x version is coming? :-)

Also, if someone is bored, can we get the pkt_sched.h
enumeration stuff cleaned up a bit?  I mean, instead
of all of these error prone FOO_MAX tricks, just do
what we do for the netlink headers.

enum {
	FOO_A,
	FOO_B,
	...
	__FOO_MAX,
};

#define FOO_MAX		(__FOO_MAX - 1)

This way to add new enumerations is just a one line
change and less error prone.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help