Home
last modified time | relevance | path

Searched refs:ISNSP_HEADER_SIZE (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/cmd/isns/isnsd/
H A Dpdu.c85 tmp_pdu_hdr = (isns_pdu_t *)malloc(ISNSP_HEADER_SIZE); in isns_rcv_pdu()
89 (void) memset((void *)&tmp_pdu_hdr[0], 0, ISNSP_HEADER_SIZE); in isns_rcv_pdu()
92 iovec[0].iov_len = ISNSP_HEADER_SIZE; in isns_rcv_pdu()
173 *pdu_size = ISNSP_HEADER_SIZE + payload_len; in isns_rcv_pdu()
231 iovec[0].iov_len = (ISNSP_HEADER_SIZE); in isns_send_pdu()
272 send_len += ISNSP_HEADER_SIZE; in isns_send_pdu()
399 if ((ISNSP_HEADER_SIZE + *pl + attr_tlv_len) > *sz) { in pdu_add_tlv()
H A Disns_protocol.h42 #define ISNSP_HEADER_SIZE (12) macro
45 #define ISNSP_MAX_PDU_SIZE (ISNSP_HEADER_SIZE + \
H A Dserver.c113 ISNSP_HEADER_SIZE + in isns_connection()
121 ISNSP_HEADER_SIZE + combined_pdu->payload_len); in isns_connection()
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Disns_protocol.h41 #define ISNSP_HEADER_SIZE (12) macro
43 #define ISNSP_MAX_PDU_SIZE (ISNSP_HEADER_SIZE + \
H A Disns_client.c1559 iovec[iovlen].iov_len = (ISNSP_HEADER_SIZE); in isns_send_pdu()
1560 total_len += (ISNSP_HEADER_SIZE); in isns_send_pdu()
1591 tmp_pdu_hdr = (isns_pdu_t *)kmem_zalloc(ISNSP_HEADER_SIZE, KM_SLEEP); in isns_rcv_pdu()
1594 iovec[0].iov_len = ISNSP_HEADER_SIZE; in isns_rcv_pdu()
1620 kmem_free(tmp_pdu_hdr, ISNSP_HEADER_SIZE); in isns_rcv_pdu()
1625 if (bytes_received == 0 || bytes_received != ISNSP_HEADER_SIZE) { in isns_rcv_pdu()
1626 kmem_free(tmp_pdu_hdr, ISNSP_HEADER_SIZE); in isns_rcv_pdu()
1637 kmem_free(tmp_pdu_hdr, ISNSP_HEADER_SIZE); in isns_rcv_pdu()
1675 kmem_free(tmp_pdu_hdr, ISNSP_HEADER_SIZE); in isns_rcv_pdu()
1682 kmem_free(tmp_pdu_hdr, ISNSP_HEADER_SIZE); in isns_rcv_pdu()
[all …]
/titanic_44/usr/src/uts/common/sys/iscsit/
H A Disns_protocol.h42 #define ISNSP_HEADER_SIZE (12) macro
45 #define ISNSP_MAX_PDU_SIZE (ISNSP_HEADER_SIZE + \
/titanic_44/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_isns.c2789 iov[0].iov_len = ISNSP_HEADER_SIZE; in isnst_send_pdu()
2816 send_len = ISNSP_HEADER_SIZE + payload_len; in isnst_send_pdu()
2860 if (idm_sorecv(so, &tmp_pdu_hdr, ISNSP_HEADER_SIZE) != 0 || in isnst_rcv_pdu()
2903 total_pdu_len = ISNSP_HEADER_SIZE + payload_len; in isnst_rcv_pdu()
2908 bcopy(&tmp_pdu_hdr, *pdu, ISNSP_HEADER_SIZE); in isnst_rcv_pdu()