Lines Matching refs:nports
104 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp.maxports = 0;
106 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp.maxports = NDEFTCPPORTS;
112 ncp->cfg.urgent.udp.nports = ncp->cfg.urgent.udp.maxports = 0;
135 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp.maxports = 0;
140 ncp->cfg.urgent.udp.nports = ncp->cfg.urgent.udp.maxports = 0;
375 for (f = 0; f < range->nports; f++)
388 if (range->nports == range->maxports) {
401 for (p = 0; p < range->nports; p++)
407 (range->nports - p) * sizeof(u_short));
409 range->nports++;
413 if (p == range->nports)
414 range->port[range->nports++] = port;
422 for (p = 0; p < range->nports; p++)
424 if (p + 1 != range->nports)
426 (range->nports - p - 1) * sizeof(u_short));
427 range->nports--;
431 if (p == range->nports)
438 range->nports = 0;
471 if (ncp->cfg.urgent.tcp.nports == 0)
474 for (p = 0; p < ncp->cfg.urgent.tcp.nports; p++) {
481 if (ncp->cfg.urgent.udp.nports == 0)
484 for (p = 0; p < ncp->cfg.urgent.udp.nports; p++) {