RIONET_MAX_NETS
if (netid >= RIONET_MAX_NETS)
for (i = 0; i < RIONET_MAX_NETS; i++) {
static struct rionet_net nets[RIONET_MAX_NETS];