Searched refs:NETBIOS_HDR_SZ (Results 1 – 3 of 3) sorted by relevance
144 rc = mbc_moveout(mbc, (caddr_t)&txr->tr_buf[NETBIOS_HDR_SZ], in smb_session_send()145 sizeof (txr->tr_buf) - NETBIOS_HDR_SZ, &txr->tr_len); in smb_session_send()156 NETBIOS_HDR_SZ); in smb_session_send()162 txr->tr_len += NETBIOS_HDR_SZ; in smb_session_send()276 unsigned char buf[NETBIOS_HDR_SZ]; in smb_session_xprt_gethdr()278 if ((rc = smb_sorecv(session->sock, buf, NETBIOS_HDR_SZ)) != 0) in smb_session_xprt_gethdr()321 buf == NULL || buflen < NETBIOS_HDR_SZ) { in smb_session_xprt_puthdr()579 (int64_t)(hdr.xh_length + NETBIOS_HDR_SZ)); in smb_session_message()
73 #define NETBIOS_HDR_SZ 4 /* bytes */ macro
325 #define SMB_XPRT_MAX_SIZE (SMB_REQ_MAX_SIZE + NETBIOS_HDR_SZ)