smb_doorhdr_decode
if (smb_doorhdr_decode(hdr, (uint8_t *)argp, hdr_size) == -1) {
int smb_doorhdr_decode(smb_doorhdr_t *, uint8_t *, uint32_t);