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

Network Emulator
[Queueing Discipline Modules]


Detailed Description

For further documentation see http://linux-net.osdl.org/index.php/Netem.


Corruption

int rtnl_netem_get_corruption_correlation (struct rtnl_qdisc *qdisc)
int rtnl_netem_get_corruption_probability (struct rtnl_qdisc *qdisc)
int rtnl_netem_set_corruption_correlation (struct rtnl_qdisc *qdisc, int prob)
int rtnl_netem_set_corruption_probability (struct rtnl_qdisc *qdisc, int prob)

Packet Delay

int rtnl_netem_get_delay (struct rtnl_qdisc *qdisc)
int rtnl_netem_get_delay_correlation (struct rtnl_qdisc *qdisc)
int rtnl_netem_get_delay_distribution (struct rtnl_qdisc *qdisc, int16_t **dist_ptr)
int rtnl_netem_get_delay_distribution_size (struct rtnl_qdisc *qdisc)
int rtnl_netem_get_jitter (struct rtnl_qdisc *qdisc)
int rtnl_netem_set_delay (struct rtnl_qdisc *qdisc, int delay)
int rtnl_netem_set_delay_correlation (struct rtnl_qdisc *qdisc, int prob)
int rtnl_netem_set_delay_distribution (struct rtnl_qdisc *qdisc, const char *dist_type)
int rtnl_netem_set_jitter (struct rtnl_qdisc *qdisc, int jitter)

Packet Duplication

int rtnl_netem_get_duplicate (struct rtnl_qdisc *qdisc)
int rtnl_netem_get_duplicate_correlation (struct rtnl_qdisc *qdisc)
int rtnl_netem_set_duplicate (struct rtnl_qdisc *qdisc, int prob)
int rtnl_netem_set_duplicate_correlation (struct rtnl_qdisc *qdisc, int prob)

Packet Re-ordering

int rtnl_netem_get_gap (struct rtnl_qdisc *qdisc)
int rtnl_netem_get_reorder_correlation (struct rtnl_qdisc *qdisc)
int rtnl_netem_get_reorder_probability (struct rtnl_qdisc *qdisc)
int rtnl_netem_set_gap (struct rtnl_qdisc *qdisc, int gap)
int rtnl_netem_set_reorder_correlation (struct rtnl_qdisc *qdisc, int prob)
int rtnl_netem_set_reorder_probability (struct rtnl_qdisc *qdisc, int prob)

Queue Limit

int rtnl_netem_get_limit (struct rtnl_qdisc *qdisc)
int rtnl_netem_set_limit (struct rtnl_qdisc *qdisc, int limit)

Packet Loss

int rtnl_netem_get_loss (struct rtnl_qdisc *qdisc)
int rtnl_netem_get_loss_correlation (struct rtnl_qdisc *qdisc)
int rtnl_netem_set_loss (struct rtnl_qdisc *qdisc, int prob)
int rtnl_netem_set_loss_correlation (struct rtnl_qdisc *qdisc, int prob)

Functions

static struct rtnl_netem * netem_alloc (struct rtnl_qdisc *qdisc)
int netem_build_msg (struct rtnl_qdisc *qdisc, struct nl_msg *msg)
static void netem_dump_line (struct rtnl_qdisc *qdisc, struct nl_dump_params *p)
static void __exit netem_exit (void)
static void netem_free_data (struct rtnl_qdisc *qdisc)
static void __init netem_init (void)
static int netem_msg_parser (struct rtnl_qdisc *qdisc)
static struct rtnl_netem * netem_qdisc (struct rtnl_qdisc *qdisc)

Variables

static struct rtnl_qdisc_ops netem_ops
static struct nla_policy netem_policy [TCA_NETEM_MAX+1]


Generated by  Doxygen 1.6.0   Back to index