Home
last modified time | relevance | path

Searched refs:dnptrs (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/lib/libresolv/
H A Dres_comp.c46 static int dn_find(u_char *exp_dn, u_char *msg, u_char **dnptrs,
138 dn_comp(exp_dn, comp_dn, length, dnptrs, lastdnptr) in dn_comp() argument
141 u_char **dnptrs, **lastdnptr;
151 if (dnptrs != NULL) {
152 if ((msg = *dnptrs++) != NULL) {
153 for (cpp = dnptrs; *cpp != NULL; cpp++)
162 if ((l = dn_find(dn-1, msg, dnptrs, lpp)) >= 0) {
249 dn_find(u_char *exp_dn, u_char *msg, u_char **dnptrs, u_char **lastdnptr) in dn_find() argument
255 for (cpp = dnptrs; cpp < lastdnptr; cpp++) { in dn_find()
H A Dres_mkquery.c133 char *dnptrs[10], **dpp, **lastdnptr; local
174 dpp = dnptrs;
177 lastdnptr = dnptrs + sizeof (dnptrs) / sizeof (dnptrs[0]);
185 if ((n = dn_comp(dname, cp, buflen, dnptrs, lastdnptr)) < 0)
200 if ((n = dn_comp(data, cp, buflen, dnptrs, lastdnptr)) < 0)
257 if ((n = dn_comp(dname, cp, buflen, dnptrs, lastdnptr)) < 0)
284 if ((n = dn_comp(dname, cp, buflen, dnptrs, lastdnptr)) < 0)
/titanic_41/usr/src/lib/libresolv2/common/nameser/
H A Dns_newmsg.c51 handle->dnptrs[0] = msg->_msg; in ns_newmsg_init()
52 handle->dnptrs[1] = NULL; in ns_newmsg_init()
53 handle->lastdnptr = &handle->dnptrs[sizeof handle->dnptrs / in ns_newmsg_init()
54 sizeof handle->dnptrs[0] - 1]; in ns_newmsg_init()
138 handle->dnptrs, handle->lastdnptr); in ns_newmsg_q()
176 handle->dnptrs, handle->lastdnptr); in ns_newmsg_rr()
231 handle->dnptrs, handle->lastdnptr); in rdcpy()
240 handle->dnptrs, handle->lastdnptr); in rdcpy()
260 handle->dnptrs, handle->lastdnptr); in rdcpy()
H A Dns_name.c515 const u_char **dnptrs, const u_char **lastdnptr) in ns_name_pack() argument
526 if (dnptrs != NULL) { in ns_name_pack()
527 if ((msg = *dnptrs++) != NULL) { in ns_name_pack()
528 for (cpp = dnptrs; *cpp != NULL; cpp++) in ns_name_pack()
563 l = dn_find(srcp, msg, (const u_char * const *)dnptrs, in ns_name_pack()
645 const u_char **dnptrs, const u_char **lastdnptr) in ns_name_compress() argument
651 return (ns_name_pack(tmp, dst, dstsiz, dnptrs, lastdnptr)); in ns_name_compress()
659 ns_name_rollback(const u_char *src, const u_char **dnptrs, in ns_name_rollback() argument
662 while (dnptrs < lastdnptr && *dnptrs != NULL) { in ns_name_rollback()
663 if (*dnptrs >= src) { in ns_name_rollback()
[all …]
H A Dns_sign.c90 time_t in_timesigned, u_char **dnptrs, u_char **lastdnptr) in ns_sign2() argument
113 (const u_char **)dnptrs, in ns_sign2()
280 u_char **dnptrs, u_char **lastdnptr) in ns_sign_tcp2() argument
296 dnptrs, lastdnptr)); in ns_sign_tcp2()
319 n = dn_comp(state->key->dk_key_name, cp, eob - cp, dnptrs, lastdnptr); in ns_sign_tcp2()
/titanic_41/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkquery.c129 u_char *dnptrs[20], **dpp, **lastdnptr; in res_nmkquery() local
164 dpp = dnptrs; in res_nmkquery()
167 lastdnptr = dnptrs + sizeof dnptrs / sizeof dnptrs[0]; in res_nmkquery()
176 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs, in res_nmkquery()
193 dnptrs, lastdnptr); in res_nmkquery()
H A Dres_mkupdate.c94 u_char *dnptrs[20], **dpp, **lastdnptr; in res_nmkupdate() local
110 dpp = dnptrs; in res_nmkupdate()
113 lastdnptr = dnptrs + sizeof dnptrs / sizeof dnptrs[0]; in res_nmkupdate()
182 if ((n = dn_comp(rrecp->r_dname, cp, buflen, dnptrs, in res_nmkupdate()
228 n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr); in res_nmkupdate()
242 dnptrs, lastdnptr); in res_nmkupdate()
282 n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr); in res_nmkupdate()
325 n = dn_comp(buf2, cp, buflen, dnptrs, in res_nmkupdate()
525 n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr); in res_nmkupdate()
H A Dres_comp.c129 u_char **dnptrs, u_char **lastdnptr) in dn_comp() argument
132 (const u_char **)dnptrs, in dn_comp()
/titanic_41/usr/src/head/arpa/
H A Dnameser.h152 const uchar_t *dnptrs[25]; member
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_name.c486 unsigned char *dnptrs[32]; in smb_name_buf_from_packet() local
494 dnptrs[0] = heap; in smb_name_buf_from_packet()
495 dnptrs[1] = 0; in smb_name_buf_from_packet()