Home
last modified time | relevance | path

Searched refs:NETBIOS_HDR_SZ (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_session.c144 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()
/titanic_41/usr/src/uts/common/smbsrv/
H A Dnetbios.h73 #define NETBIOS_HDR_SZ 4 /* bytes */ macro
H A Dsmb_ktypes.h325 #define SMB_XPRT_MAX_SIZE (SMB_REQ_MAX_SIZE + NETBIOS_HDR_SZ)