ks_obj_hdr_t
ks_obj_hdr_t hdr;
(void) memset(&hdr, 0, sizeof (ks_obj_hdr_t));
ks_len += sizeof (ks_obj_hdr_t) + len_attrs +
(void) memcpy(buf, &hdr, sizeof (ks_obj_hdr_t));
buf1 = buf + sizeof (ks_obj_hdr_t);
ks_obj_hdr_t *hdr;
hdr = (ks_obj_hdr_t *)ks_obj->buf;
buf = ks_obj->buf + sizeof (ks_obj_hdr_t);