Searched refs:bhstr (Results 1 – 2 of 2) sorted by relevance
| /freebsd-11-stable/usr.sbin/iscsid/ |
| HD | discovery.c | 49 struct iscsi_bhs_text_response *bhstr; in text_receive() local 56 bhstr = (struct iscsi_bhs_text_response *)response->pdu_bhs; in text_receive() 58 if ((bhstr->bhstr_flags & BHSTR_FLAGS_FINAL) == 0) in text_receive() 64 if ((bhstr->bhstr_flags & BHSTR_FLAGS_CONTINUE) != 0) in text_receive() 66 if (ntohl(bhstr->bhstr_statsn) != conn->conn_statsn + 1) { in text_receive() 68 "is %u, should be %u", ntohl(bhstr->bhstr_statsn), in text_receive() 71 conn->conn_statsn = ntohl(bhstr->bhstr_statsn); in text_receive() 80 struct iscsi_bhs_text_request *bhstr; in text_new_request() local 83 bhstr = (struct iscsi_bhs_text_request *)request->pdu_bhs; in text_new_request() 84 bhstr->bhstr_opcode = ISCSI_BHS_OPCODE_TEXT_REQUEST | in text_new_request() [all …]
|
| /freebsd-11-stable/usr.sbin/ctld/ |
| HD | discovery.c | 51 struct iscsi_bhs_text_request *bhstr; in text_receive() local 59 bhstr = (struct iscsi_bhs_text_request *)request->pdu_bhs; in text_receive() 61 if ((bhstr->bhstr_flags & ISCSI_BHSTR_FLAGS_FINAL) == 0) in text_receive() 67 if ((bhstr->bhstr_flags & BHSTR_FLAGS_CONTINUE) != 0) in text_receive() 69 if (ISCSI_SNLT(ntohl(bhstr->bhstr_cmdsn), conn->conn_cmdsn)) { in text_receive() 71 "was %u, is %u", conn->conn_cmdsn, ntohl(bhstr->bhstr_cmdsn)); in text_receive() 73 if (ntohl(bhstr->bhstr_expstatsn) != conn->conn_statsn) { in text_receive() 75 "is %u, should be %u", ntohl(bhstr->bhstr_expstatsn), in text_receive() 78 conn->conn_cmdsn = ntohl(bhstr->bhstr_cmdsn); in text_receive() 79 if ((bhstr->bhstr_opcode & ISCSI_BHS_OPCODE_IMMEDIATE) == 0) in text_receive() [all …]
|