ns_name_ntol
int ns_name_ntol(const uchar_t *, uchar_t *, size_t);
n = ns_name_ntol(name, buf, sizeof(buf));
n = ns_name_ntol(alg, buf, sizeof(buf));
n = ns_name_ntol(buf2, buf, sizeof(buf));
n = ns_name_ntol(buf2, buf, sizeof(buf));