Displaying 2 results from an estimated 2 matches for "tc_netem_qopt".
2004 Jul 29
1
error: structure has no member named `rate''
...not have the necessary knobs.
So I grabbed iproute2-2.6.X-ss040702.tar.gz and tried to build it,
but I got this:
q_netem.c: In function `netem_parse_opt'':
q_netem.c:90: error: structure has no member named `rate''
and indeed, there is no longer a .rate member of the struct tc_netem_qopt.
I did some web searching and the patch mentioned here seems to be
responsible for removing it:
http://lwn.net/Articles/93487/
Since I see no snapshot more recent than
iproute2-2.6.X-ss040702.tar.gz, I went looking to see if there was
anonymous CVS access so I could get something even more...
2004 Jul 01
20
[PATCH 2.6] update to network emulation QOS scheduler
...ched.h
--- linux-2.6/include/linux/pkt_sched.h 2004-06-24 08:52:58.000000000 -0700
+++ sched-2.6/include/linux/pkt_sched.h 2004-07-01 03:53:31.185482832 -0700
@@ -439,11 +439,14 @@ enum {
#define TCA_ATM_MAX TCA_ATM_STATE
-/* Delay section */
-struct tc_dly_qopt
+/* Network emulator */
+struct tc_netem_qopt
{
- __u32 latency;
- __u32 limit;
- __u32 loss;
+ __u32 latency; /* added delay (us) */
+ __u32 limit; /* fifo limit (packets) */
+ __u32 loss; /* random packet loss (0=none ~0=100%) */
+ __u32 gap; /* re-ordering gap (0 for delay all) */
+ __u32 duplicate; /* random packet dup (0=none ~...