Lines Matching defs:active
45 unsigned int active;
87 portlist->active = 0;
137 if (portlist->active != 0) {
138 el = find_port(portlist->list, portlist->active, port);
149 if (portlist->allocated <= portlist->active) {
166 portlist->list[portlist->active].port = port;
168 portlist->list[portlist->active].flags = DNS_PL_INET;
170 portlist->list[portlist->active].flags = DNS_PL_INET6;
171 portlist->active++;
172 qsort(portlist->list, portlist->active, sizeof(*el), compare);
187 if (portlist->active != 0) {
188 el = find_port(portlist->list, portlist->active, port);
195 *el = portlist->list[portlist->active];
196 portlist->active--;
197 qsort(portlist->list, portlist->active,
213 if (portlist->active != 0) {
214 el = find_port(portlist->list, portlist->active, port);