Lines Matching refs:ansp
53 unsigned char answer[NS_MAXMSG], *ansp = NULL, *end, a, b, c, d; in main() local
115 ansp = answer; in main()
116 end = ansp + anslen; in main()
122 ansp += HFIXEDSZ; in main()
130 len = dn_expand(answer, end, ansp, name, hostlen); in main()
136 ansp += len + QFIXEDSZ; in main()
138 if (ansp > end) { in main()
143 while (na-- > 0 && ansp < end) { in main()
145 len = dn_expand(answer, end, ansp, name, hostlen); in main()
149 ansp += len; /* name */ in main()
150 NS_GET16(type, ansp); /* type */ in main()
151 NS_GET16(class, ansp); /* class */ in main()
152 NS_GET32(ttl, ansp); /* ttl */ in main()
153 NS_GET16(size, ansp); /* size */ in main()
155 if ((ansp + size) > end) { in main()
160 NS_GET16(priority, ansp); in main()
161 NS_GET16(weight, ansp); in main()
162 NS_GET16(port, ansp); in main()
163 len = dn_expand(answer, end, ansp, name, hostlen); in main()
173 (void) inet_ntop(AF_INET, (void *)ansp, nbuf, in main()
178 len = dn_expand(answer, end, ansp, name, hostlen); in main()
184 ansp += len; in main()