Lines Matching refs:nstatp
32 res_state nstatp;
45 nstatp = (res_state) malloc(sizeof(*statp));
46 if (nstatp == NULL) {
50 memcpy(nstatp, statp, sizeof(*statp));
55 free(nstatp);
71 free(nstatp);
76 nstatp->nscount = 1;
81 free (nstatp);
91 if (newmsglen > PACKETSZ || nstatp->options & RES_USEVC)
94 nstatp->options |= RES_IGNTC;
96 nstatp->options |= RES_USEVC;
100 nstatp->options &= ~RES_DEBUG;
101 nstatp->pfcode &= ~RES_PRF_REPLY;
105 len = res_nsend(nstatp, newmsg, newmsglen, answer, anslen);
107 free (nstatp);
114 NULL, NULL, &tsig_time, nstatp->options & RES_KEEPTSIG);
136 free (nstatp);
148 nstatp->options &= ~RES_IGNTC;
164 free (nstatp);