Home
last modified time | relevance | path

Searched refs:anslen (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddnsglue.c56 int anslen; member
98 ds->anslen = 0; in krb5int_dns_init()
146 ds->anslen = len; in krb5int_dns_init()
148 ret = ns_initparse(ds->ansp, ds->anslen, &ds->msg); in krb5int_dns_init()
213 (unsigned char *)ds->ansp + ds->anslen, in krb5int_dns_expand()
217 (unsigned char *)ds->ansp + ds->anslen, in krb5int_dns_expand()
258 if (ds->anslen < sizeof(HEADER)) in initparse()
272 len = dn_skipname(p, (unsigned char *)ds->ansp + ds->anslen); in initparse()
274 len = dn_expand(ds->ansp, (unsigned char *)ds->ansp + ds->anslen, in initparse()
277 if (len < 0 || !INCR_OK(ds->ansp, ds->anslen, p, len + 4)) in initparse()
[all …]
/titanic_41/usr/src/lib/libresolv/
H A Dres_query.c72 res_query(name, class, type, answer, anslen) in res_query() argument
76 int anslen; /* size of answer buffer */
99 n = res_send(buf, n, answer, anslen);
149 res_search(name, class, type, answer, anslen) in res_search() argument
153 int anslen; /* size of answer */
168 return (res_query(cp, class, type, answer, anslen));
180 answer, anslen);
214 answer, anslen)) > 0)
226 res_querydomain(name, domain, class, type, answer, anslen) in res_querydomain() argument
230 int anslen; /* size of answer */
[all …]
H A Dres_send.c124 res_send(buf, buflen, answer, anslen) in res_send() argument
128 int anslen;
259 anslen) {
265 len = anslen;
291 len = resplen - anslen;
299 resplen = anslen;
429 if ((resplen = recv(s, answer, anslen, 0))
H A Dres_gethost.c80 getanswer(answer, anslen, iquery) in getanswer() argument
82 int anslen;
94 eom = answer->buf + anslen;
/titanic_41/usr/src/lib/libresolv2/common/resolv/
H A Dres_query.c115 int anslen) /*%< size of answer buffer */ in res_nquery() argument
137 n = res_nopt(statp, n, buf, sizeof(buf), anslen); in res_nquery()
154 n = res_nsend(statp, buf, n, answer, anslen); in res_nquery()
216 int anslen) /*%< size of answer */ in res_nsearch() argument
238 return (res_nquery(statp, cp, class, type, answer, anslen)); in res_nsearch()
248 answer, anslen); in res_nsearch()
276 answer, anslen); in res_nsearch()
332 answer, anslen); in res_nsearch()
363 int anslen) /*%< size of answer */ in res_nquerydomain() argument
399 return (res_nquery(statp, longname, class, type, answer, anslen)); in res_nquerydomain()
H A Dres_sendsigned.c30 ns_tsig_key *key, u_char *answer, int anslen) in res_nsendsigned() argument
105 len = res_nsend(nstatp, newmsg, newmsglen, answer, anslen); in res_nsendsigned()
124 answer, (anslen > len) ? len : anslen); in res_nsendsigned()
160 answer, (anslen > len) ? len : anslen); in res_nsendsigned()
H A Dres_data.c194 int anslen) /*!< size of answer buffer */ in res_query() argument
200 return (res_nquery(&_res, name, class, type, answer, anslen)); in res_query()
259 int anslen) /*!< size of answer */ in res_search() argument
266 return (res_nsearch(&_res, name, class, type, answer, anslen)); in res_search()
274 int anslen) /*!< size of answer */ in res_querydomain() argument
283 answer, anslen)); in res_querydomain()
H A Dres_mkquery.c244 int anslen) /*%< UDP answer buffer size */ in res_nopt() argument
265 ns_put16(anslen & 0xffff, cp); /*%< CLASS = UDP payload size */ in res_nopt()
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Ddns_nw.c92 u_char *ansbuf, int anslen,
244 int anslen; in get1101byname() local
253 anslen = res_nsearch(pvt->res, name, C_IN, T_PTR, ansbuf, MAXPACKET); in get1101byname()
254 if (anslen < 0) { in get1101byname()
258 result = get1101mask(this, get1101answer(this, ansbuf, anslen, by_name, in get1101byname()
270 int anslen; in get1101byaddr() local
285 anslen = res_nquery(pvt->res, qbuf, C_IN, T_PTR, ansbuf, MAXPACKET); in get1101byaddr()
286 if (anslen < 0) { in get1101byaddr()
290 result = get1101mask(this, get1101answer(this, ansbuf, anslen, by_addr, in get1101byaddr()
298 u_char *ansbuf, int anslen, enum by_what by_what, in get1101answer() argument
[all …]
H A Ddns_ho.c114 int anslen; /*%< size of answer buffer */ member
166 const u_char *ansbuf, int anslen,
268 q->anslen = sizeof(q->qbuf); in ho_byname2()
276 q->anslen = sizeof(q->qbuf); in ho_byname2()
308 p->answer, p->anslen)) < 0) { in ho_byname2()
370 q->anslen = sizeof(q->qbuf); in ho_byaddr()
378 q->anslen = sizeof(q->qbuf); in ho_byaddr()
384 q2->anslen = sizeof(q2->qbuf); in ho_byaddr()
470 p->answer, p->anslen)) < 0) { in ho_byaddr()
585 q->anslen = sizeof(q->qbuf); in ho_addrinfo()
[all …]
/titanic_41/usr/src/cmd/krb5/kadmin/kdcmgr/
H A Dklookup.c54 int len = 0, anslen, hostlen, nq, na, type, class; in main() local
105 anslen = sizeof (answer); in main()
106 len = res_nsearch(&stat, name, C_IN, rr_type, answer, anslen); in main()
114 end = ansp + anslen; in main()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Drevarp.c277 size_t anslen = msglen; in rarp_recv() local
283 retval = dlpi_recv(dh, NULL, NULL, ans, &anslen, waitms, NULL); in rarp_recv()
287 if (anslen < msglen) in rarp_recv()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c485 size_t anslen = rdev->ifrarplen; in do_rarp() local
509 &saddrlen, ans, &anslen, -1, NULL); in do_rarp()
519 if (anslen < rdev->ifrarplen) in do_rarp()