Lines Matching refs:qnm_dist
122 netem->qnm_dist.dist_data = NULL; in netem_msg_parser()
123 netem->qnm_dist.dist_size = 0; in netem_msg_parser()
136 free(netem->qnm_dist.dist_data); in netem_free_data()
212 if ( netem->qnm_dist.dist_data && netem->qnm_dist.dist_size ) { in netem_msg_fill_raw()
218 int new_msg_len = msg->nm_size + netem->qnm_dist.dist_size * in netem_msg_fill_raw()
219 sizeof(netem->qnm_dist.dist_data[0]); in netem_msg_fill_raw()
262 netem->qnm_dist.dist_size * sizeof(netem->qnm_dist.dist_data[0]), in netem_msg_fill_raw()
263 netem->qnm_dist.dist_data); in netem_msg_fill_raw()
792 return netem->qnm_dist.dist_size; in rtnl_netem_get_delay_distribution_size()
811 *dist_ptr = netem->qnm_dist.dist_data; in rtnl_netem_get_delay_distribution()
854 netem->qnm_dist.dist_data = (int16_t *) calloc (MAXDIST, sizeof(int16_t)); in rtnl_netem_set_delay_distribution()
873 netem->qnm_dist.dist_data[n++] = x; in rtnl_netem_set_delay_distribution()
879 netem->qnm_dist.dist_size = n; in rtnl_netem_set_delay_distribution()