csrtext
struct csrtext *textleaf;
textleaf = (struct csrtext *)(reg + reg->val);
#define MAX_TEXT ((CROM_MAX_CHUNK_LEN + 1) * 4 - sizeof(struct csrtext))
struct csrtext *tl;
tl = (struct csrtext *)(void *)&chunk->data;
tl->crc_len = howmany(sizeof(struct csrtext) + len, sizeof(u_int32_t));