Home
last modified time | relevance | path

Searched refs:maxports (Results 1 – 2 of 2) sorted by relevance

/freebsd-9-stable/usr.sbin/ppp/
Dncp.c104 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp.maxports = 0; in ncp_Init()
106 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp.maxports = NDEFTCPPORTS; in ncp_Init()
112 ncp->cfg.urgent.udp.nports = ncp->cfg.urgent.udp.maxports = 0; in ncp_Init()
134 if (ncp->cfg.urgent.tcp.maxports) { in ncp_Destroy()
135 ncp->cfg.urgent.tcp.nports = ncp->cfg.urgent.tcp.maxports = 0; in ncp_Destroy()
139 if (ncp->cfg.urgent.udp.maxports) { in ncp_Destroy()
140 ncp->cfg.urgent.udp.nports = ncp->cfg.urgent.udp.maxports = 0; in ncp_Destroy()
388 if (range->nports == range->maxports) { in ncp_AddUrgentPort()
389 range->maxports += 10; in ncp_AddUrgentPort()
391 range->maxports * sizeof(u_short)); in ncp_AddUrgentPort()
[all …]
Dncp.h31 unsigned maxports; /* How many allocated (malloc) ports */ member