Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/ktime.h>
#include <linux/skbuff.h>
#include <net/pkt_sched.h>
#include <net/inet_ecn.h>
#include <linux/reciprocal_div.h>
Go to the source code of this file.
Data Structures | |
struct | codel_skb_cb |
struct | codel_params |
struct | codel_vars |
struct | codel_stats |
Macros | |
#define | CODEL_SHIFT 10 |
#define | MS2TIME(a) ((a * NSEC_PER_MSEC) >> CODEL_SHIFT) |
#define | codel_time_after(a, b) ((s32)(a) - (s32)(b) > 0) |
#define | codel_time_after_eq(a, b) ((s32)(a) - (s32)(b) >= 0) |
#define | codel_time_before(a, b) ((s32)(a) - (s32)(b) < 0) |
#define | codel_time_before_eq(a, b) ((s32)(a) - (s32)(b) <= 0) |
#define | REC_INV_SQRT_BITS (8 * sizeof(u16)) /* or sizeof_in_bits(rec_inv_sqrt) */ |
#define | REC_INV_SQRT_SHIFT (32 - REC_INV_SQRT_BITS) |
Typedefs | |
typedef u32 | codel_time_t |
typedef s32 | codel_tdiff_t |
typedef struct sk_buff *(* | codel_skb_dequeue_t )(struct codel_vars *vars, struct Qdisc *sch) |
#define MS2TIME | ( | a | ) | ((a * NSEC_PER_MSEC) >> CODEL_SHIFT) |
#define REC_INV_SQRT_SHIFT (32 - REC_INV_SQRT_BITS) |
typedef s32 codel_tdiff_t |
typedef u32 codel_time_t |