_NLS_MAGIC
if (ntohl(((struct _nls_cat_hdr *) data)->__magic) != _NLS_MAGIC)
cat_hdr->__magic = htonl(_NLS_MAGIC);