pack_dname
pack_dname(p, dname);
pack_dname(p, ""); /* root */
static int pack_dname(struct asr_pack *, const char *);