Searched refs:smb (Results 1 – 2 of 2) sorted by relevance
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()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()[all …]
132 uint8_t *smb = osdp_phy_packet_get_smb(pd, buf); in cp_build_command() local297 if (smb == NULL) { in cp_build_command()301 smb[0] = 3; /* length */ in cp_build_command()302 smb[1] = SCS_11; /* type */ in cp_build_command()303 smb[2] = ISSET_FLAG(pd, PD_FLAG_SC_USE_SCBKD) ? 0 : 1; in cp_build_command()312 if (smb == NULL) { in cp_build_command()317 smb[0] = 3; /* length */ in cp_build_command()318 smb[1] = SCS_13; /* type */ in cp_build_command()331 if (smb && (smb[1] > SCS_14) && sc_is_active(pd)) { in cp_build_command()337 smb[0] = 2; in cp_build_command()[all …]
Completed in 19 milliseconds