search for: ooo_sched_data

Displaying 1 result from an estimated 1 matches for "ooo_sched_data".

2004 Jun 22
3
[ANNOUNCE] sch_ooo - Out-of-order packet queue discipline
...; +#include <net/pkt_sched.h> + +#define MODULE_NAME "sch_ooo v0.1" + +#if 0 +#define DPRINTK(format,args...) printk(KERN_DEBUG MODULE_NAME ": " format, ##args) +#else +#define DPRINTK(format,args...) +#endif + + +/* global variables */ + +/* qdisc internal data */ +struct ooo_sched_data { + __u32 limit; /* in packets */ + __u32 gap; /* gap + 1 between ooo packets */ + __u32 wait; /* how much ms to wait before release a marked ooo */ + /* 0 = disable */ + /* private data */ + __u32 counter; /* keep track of frequncy */ + struct sk_buff_head qooo; + struct timer_list...