• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/lib/libc/resolv/

Lines Matching defs:EXT

129 #define EXT(res) ((res)->_u._ext)
192 if (EXT(statp).ext == NULL)
315 if (statp->nscount == 0 || EXT(statp).ext == NULL) {
340 if (EXT(statp).nscount != 0) {
345 if (EXT(statp).nscount != statp->nscount)
351 (struct sockaddr *)&EXT(statp).ext->nsaddrs[ns])) {
356 if (EXT(statp).nssocks[ns] == -1)
359 if (_getpeername(EXT(statp).nssocks[ns],
372 EXT(statp).nscount = 0;
379 if (EXT(statp).nscount == 0) {
381 EXT(statp).nstimes[ns] = RES_MAXTIME;
382 EXT(statp).nssocks[ns] = -1;
385 EXT(statp).ext->nsaddrs[ns].sin =
388 EXT(statp).nscount = statp->nscount;
403 if (EXT(statp).ext != NULL)
404 inu = EXT(statp).ext->nsaddrs[0];
406 fd = EXT(statp).nssocks[0];
407 nstime = EXT(statp).nstimes[0];
409 if (EXT(statp).ext != NULL)
410 EXT(statp).ext->nsaddrs[ns] =
411 EXT(statp).ext->nsaddrs[ns + 1];
413 EXT(statp).nssocks[ns] = EXT(statp).nssocks[ns + 1];
414 EXT(statp).nstimes[ns] = EXT(statp).nstimes[ns + 1];
416 if (EXT(statp).ext != NULL)
417 EXT(statp).ext->nsaddrs[lastns] = inu;
419 EXT(statp).nssocks[lastns] = fd;
420 EXT(statp).nstimes[lastns] = nstime;
604 if (!statp->nsaddr_list[n].sin_family && EXT(statp).ext) {
606 * - EXT(statp).ext->nsaddrs[n] holds an address that is larger
610 return (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[n];
615 * EXT(statp).ext->nsaddrs[n].
853 if (EXT(statp).nssocks[ns] == -1) {
854 EXT(statp).nssocks[ns] = _socket(nsap->sa_family,
857 if (EXT(statp).nssocks[ns] > highestFD) {
862 if (EXT(statp).nssocks[ns] < 0) {
897 _connect(EXT(statp).nssocks[ns], nsap, nsaplen) < 0) {
907 s = EXT(statp).nssocks[ns];