dw_read_u16
error = dw_read_u16(dwbuf, &dav->dav_u16);
static int dw_read_u16(struct dwbuf *, uint16_t *);
if (dw_read_u16(&dwbuf, &version) ||