typedef struct ctf_array { - ushort_t cta_contents; /* reference to type of array contents */ - ushort_t cta_index; /* reference to type of array index */ - uint_t cta_nelems; /* number of elements */ + union { + uint32_t words[2]; + uint16_t hwords[2*2]; + } _u; } ctf_array_t; +#define cta_contents _u.hwords[0] /* reference to type of array contents */ +#define cta_index _u.hwords[1] /* reference to type of array index */ +#define cta_nelems _u.words[1] /* number of elements */ + +#define CTF_K_ARRAY_SIZE (2*sizeof(uint32_t)) +