Home
last modified time | relevance | path

Searched refs:dist_data (Results 1 – 3 of 3) sorted by relevance

/external/iproute2/tc/
Dq_netem.c183 __s16 *dist_data = NULL; in netem_parse_opt() local
398 dist_data = calloc(sizeof(dist_data[0]), MAX_DIST); in netem_parse_opt()
399 dist_size = get_distribution(*argv, dist_data, MAX_DIST); in netem_parse_opt()
401 free(dist_data); in netem_parse_opt()
466 if (dist_data && (opt.latency == 0 || opt.jitter == 0)) { in netem_parse_opt()
525 if (dist_data) { in netem_parse_opt()
526 if (addattr_l(n, MAX_DIST * sizeof(dist_data[0]), in netem_parse_opt()
528 dist_data, dist_size * sizeof(dist_data[0])) < 0) in netem_parse_opt()
530 free(dist_data); in netem_parse_opt()
/external/libnl/lib/route/sch/
Dnetem.c139 netem->qnm_dist.dist_data = NULL; in netem_msg_parser()
155 if ( netem->qnm_dist.dist_data ) in netem_free_data()
156 free(netem->qnm_dist.dist_data); in netem_free_data()
235 if ( netem->qnm_dist.dist_data && netem->qnm_dist.dist_size ) { in netem_build_msg()
242 sizeof(netem->qnm_dist.dist_data[0]); in netem_build_msg()
285 netem->qnm_dist.dist_size * sizeof(netem->qnm_dist.dist_data[0]), in netem_build_msg()
286 netem->qnm_dist.dist_data); in netem_build_msg()
843 *dist_ptr = netem->qnm_dist.dist_data; in rtnl_netem_get_delay_distribution()
886 netem->qnm_dist.dist_data = (int16_t *) calloc (MAXDIST, sizeof(int16_t)); in rtnl_netem_set_delay_distribution()
905 netem->qnm_dist.dist_data[n++] = x; in rtnl_netem_set_delay_distribution()
/external/libnl/include/
Dnetlink-types.h606 int16_t * dist_data; member