Lines Matching defs:EXT

128 #define EXT(res) ((res)->_u._ext)
195 if (EXT(statp).ext == NULL)
319 if (statp->nscount == 0 || EXT(statp).ext == NULL) {
337 if (EXT(statp).nscount != 0) {
342 if (EXT(statp).nscount != statp->nscount)
348 (struct sockaddr *)&EXT(statp).ext->nsaddrs[ns])) {
353 if (EXT(statp).nssocks[ns] == -1)
356 if (getpeername(EXT(statp).nssocks[ns],
369 EXT(statp).nscount = 0;
376 if (EXT(statp).nscount == 0) {
378 EXT(statp).nstimes[ns] = RES_MAXTIME;
379 EXT(statp).nssocks[ns] = -1;
382 EXT(statp).ext->nsaddrs[ns].sin =
385 EXT(statp).nscount = statp->nscount;
400 if (EXT(statp).ext != NULL)
401 inu = EXT(statp).ext->nsaddrs[0];
403 fd = EXT(statp).nssocks[0];
404 nstime = EXT(statp).nstimes[0];
406 if (EXT(statp).ext != NULL)
407 EXT(statp).ext->nsaddrs[ns] =
408 EXT(statp).ext->nsaddrs[ns + 1];
410 EXT(statp).nssocks[ns] = EXT(statp).nssocks[ns + 1];
411 EXT(statp).nstimes[ns] = EXT(statp).nstimes[ns + 1];
413 if (EXT(statp).ext != NULL)
414 EXT(statp).ext->nsaddrs[lastns] = inu;
416 EXT(statp).nssocks[lastns] = fd;
417 EXT(statp).nstimes[lastns] = nstime;
588 if (!statp->nsaddr_list[n].sin_family && EXT(statp).ext) {
590 * - EXT(statp).ext->nsaddrs[n] holds an address that is larger
594 return (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[n];
599 * EXT(statp).ext->nsaddrs[n].
848 if (EXT(statp).nssocks[ns] == -1) {
849 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM, 0);
850 if (EXT(statp).nssocks[ns] > highestFD) {
854 if (EXT(statp).nssocks[ns] < 0) {
881 if (connect(EXT(statp).nssocks[ns], nsap, nsaplen) < 0) {
891 s = EXT(statp).nssocks[ns];