Lines Matching defs:ports
357 in_port_t *ports;
377 ports = tcps->tcps_g_epriv_ports;
383 ports = us->us_epriv_ports;
389 ports = sctps->sctps_g_epriv_ports;
398 /* if MOD_PROP_DEFAULT is set then reset the ports list to default */
401 ports[i] = 0;
402 ports[0] = ULP_DEF_EPRIV_PORT1;
403 ports[1] = ULP_DEF_EPRIV_PORT2;
410 if (new_value == ports[i])
420 ports[i] = 0;
429 if (ports[i] == 0)
437 ports[i] = (in_port_t)new_value;
444 * We clear all the ports and then just add 3001.
448 ports[i] = 0;
449 ports[0] = (in_port_t)new_value;
472 in_port_t *ports;
494 ports = tcps->tcps_g_epriv_ports;
499 ports = us->us_epriv_ports;
504 ports = sctps->sctps_g_epriv_ports;
518 if (ports[i] != 0) {
520 nbytes = snprintf(pval, size, "%u", ports[i]);
522 nbytes = snprintf(pval, size, ",%u", ports[i]);