CPL_TLS_DATA_LENGTH_G
CPL_TLS_DATA_LENGTH_G(ntohl(hdr->length_pkd)));
tlsk->pldlen = CPL_TLS_DATA_LENGTH_G(ntohl(hdr->length_pkd));