Lines Matching refs:qnm_dist
139 netem->qnm_dist.dist_data = NULL; in netem_msg_parser()
140 netem->qnm_dist.dist_size = 0; 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()
241 int new_msg_len = msg->nm_size + 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()
826 return netem->qnm_dist.dist_size; in rtnl_netem_get_delay_distribution_size()
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()
911 netem->qnm_dist.dist_size = n; in rtnl_netem_set_delay_distribution()