Lines Matching refs:smb
581 uint8_t *smb = osdp_phy_packet_get_smb(pd, buf); in pd_build_reply() local
735 if (smb == NULL) { in pd_build_reply()
749 smb[0] = 3; /* length */ in pd_build_reply()
750 smb[1] = SCS_12; /* type */ in pd_build_reply()
751 smb[2] = ISSET_FLAG(pd, PD_FLAG_SC_USE_SCBKD) ? 0 : 1; in pd_build_reply()
755 if (smb == NULL) { in pd_build_reply()
765 smb[0] = 3; /* length */ in pd_build_reply()
766 smb[1] = SCS_14; /* type */ in pd_build_reply()
768 smb[2] = 1; /* CP auth succeeded */ in pd_build_reply()
777 smb[2] = 0; /* CP auth failed */ in pd_build_reply()
786 if (smb && (smb[1] > SCS_14) && sc_is_active(pd)) { in pd_build_reply()
787 smb[0] = 2; /* length */ in pd_build_reply()
788 smb[1] = (len > 1) ? SCS_18 : SCS_16; in pd_build_reply()