Lines Matching refs:dnptrs
462 * ns_name_pack(src, dst, dstsiz, dnptrs, lastdnptr)
467 * 'dnptrs' is an array of pointers to previous compressed names.
468 * dnptrs[0] is a pointer to the beginning of the message. The array
471 * by 'dnptrs'.
473 * The list of pointers in dnptrs is updated for labels inserted into
480 const u_char **dnptrs, const u_char **lastdnptr)
491 if (dnptrs != NULL) {
492 if ((msg = *dnptrs++) != NULL) {
493 for (cpp = dnptrs; *cpp != NULL; cpp++)
528 l = dn_find(srcp, msg, (const u_char * const *)dnptrs,
593 * ns_name_compress(src, dst, dstsiz, dnptrs, lastdnptr)
598 * 'dnptrs' is an array of pointers to previous compressed names.
599 * dnptrs[0] is a pointer to the beginning of the message.
601 * array pointed to by 'dnptrs'. Side effect is to update the list of
608 const u_char **dnptrs, const u_char **lastdnptr)
614 return (ns_name_pack(tmp, dst, (int)dstsiz, dnptrs, lastdnptr));
618 * Reset dnptrs so that there are no active references to pointers at or
622 ns_name_rollback(const u_char *src, const u_char **dnptrs,
625 while (dnptrs < lastdnptr && *dnptrs != NULL) {
626 if (*dnptrs >= src) {
627 *dnptrs = NULL;
630 dnptrs++;
729 * dn_find(domain, msg, dnptrs, lastdnptr)
734 * dnptrs is the pointer to the first name on the list,
739 const u_char * const *dnptrs,
746 for (cpp = dnptrs; cpp < lastdnptr; cpp++) {