get_max_dprx_bw
int max_dprx_bw = get_max_dprx_bw(tunnel);
return min(get_max_dprx_bw(tunnel), tunnel->group->available_bw);