Logo Search packages:      
Sourcecode: libnl version File versions  Download package

Token Bucket Filter (TBF)
[Queueing Disciplines]


Attribute Access

static int calc_cell_log (int cell, int bucket)
static double calc_limit (struct rtnl_ratespec *spec, int latency, int bucket)
int rtnl_qdisc_tbf_get_limit (struct rtnl_qdisc *qdisc)
int rtnl_qdisc_tbf_get_mpu (struct rtnl_qdisc *qdisc)
int rtnl_qdisc_tbf_get_peakrate (struct rtnl_qdisc *qdisc)
int rtnl_qdisc_tbf_get_peakrate_bucket (struct rtnl_qdisc *qdisc)
int rtnl_qdisc_tbf_get_peakrate_cell (struct rtnl_qdisc *qdisc)
int rtnl_qdisc_tbf_get_rate (struct rtnl_qdisc *qdisc)
int rtnl_qdisc_tbf_get_rate_bucket (struct rtnl_qdisc *qdisc)
int rtnl_qdisc_tbf_get_rate_cell (struct rtnl_qdisc *qdisc)
int rtnl_qdisc_tbf_set_limit (struct rtnl_qdisc *qdisc, int limit)
int rtnl_qdisc_tbf_set_limit_by_latency (struct rtnl_qdisc *qdisc, int latency)
int rtnl_qdisc_tbf_set_mpu (struct rtnl_qdisc *qdisc, int mpu)
int rtnl_qdisc_tbf_set_peakrate (struct rtnl_qdisc *qdisc, int rate, int bucket, int cell)
int rtnl_qdisc_tbf_set_rate (struct rtnl_qdisc *qdisc, int rate, int bucket, int cell)

Functions

static struct rtnl_tbf * tbf_alloc (struct rtnl_qdisc *qdisc)
static int tbf_dump_brief (struct rtnl_qdisc *qdisc, struct nl_dump_params *p, int line)
static int tbf_dump_full (struct rtnl_qdisc *qdisc, struct nl_dump_params *p, int line)
static void __exit tbf_exit (void)
static struct nl_msg * tbf_get_opts (struct rtnl_qdisc *qdisc)
static void __init tbf_init (void)
static int tbf_msg_parser (struct rtnl_qdisc *q)
static struct rtnl_tbf * tbf_qdisc (struct rtnl_qdisc *qdisc)

Variables

static struct nla_policy tbf_policy [TCA_TBF_MAX+1]
static struct rtnl_qdisc_ops tbf_qdisc_ops


Generated by  Doxygen 1.6.0   Back to index