Home
last modified time | relevance | path

Searched refs:ProtocolId (Results 1 – 11 of 11) sorted by relevance

/linux/fs/smb/client/
H A Dsmb2misc.c31 if ((shdr->ProtocolId == SMB2_PROTO_NUMBER) && in check_smb2_hdr()
43 if (shdr->ProtocolId != SMB2_PROTO_NUMBER) in check_smb2_hdr()
45 le32_to_cpu(shdr->ProtocolId)); in check_smb2_hdr()
156 if (shdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) { in smb2_check_message()
H A Dcompress.c349 hdr.ProtocolId = SMB2_COMPRESSION_TRANSFORM_ID; in smb_compress()
H A Dsmb2ops.c399 if (shdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) { in __smb2_find_mid()
4300 tr_hdr->ProtocolId = SMB2_TRANSFORM_PROTO_NUM; in fill_transform_hdr()
4598 return trhdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM; in smb3_is_transform_hdr()
5152 if (hdr->ProtocolId == SMB2_TRANSFORM_PROTO_NUM) { in smb2_next_header()
H A Dsmb2pdu.c101 shdr->ProtocolId = SMB2_PROTO_NUMBER; in smb2_hdr_assemble()
/linux/fs/smb/common/
H A Dsmb2pdu.h140 __le32 ProtocolId; /* 0xFE 'S' 'M' 'B' */ member
161 __le32 ProtocolId; /* 0xFE 'S' 'M' 'B' */ member
205 __le32 ProtocolId; /* 0xFD 'S' 'M' 'B' */ member
229 __le32 ProtocolId; /* 0xFC 'S' 'M' 'B' */ member
/linux/fs/smb/server/
H A Dsmb_common.c140 if (smb2_hdr->ProtocolId == SMB2_PROTO_NUMBER) in ksmbd_verify_smb_message()
262 __le32 proto = ((struct smb2_hdr *)smb_get_msg(buf))->ProtocolId; in ksmbd_negotiate_smb_dialect()
H A Dsmb2pdu.c178 if (hdr->ProtocolId != SMB2_PROTO_NUMBER) in is_smb2_neg_cmd()
202 if (hdr->ProtocolId != SMB2_PROTO_NUMBER) in is_smb2_rsp()
263 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in init_smb2_neg_rsp()
424 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in init_chained_smb2_rsp()
452 if (hdr->ProtocolId != SMB2_PROTO_NUMBER) in is_chained_smb2_message()
504 rsp_hdr->ProtocolId = rcv_hdr->ProtocolId; in init_smb2_rsp_hdr()
1406 return (struct authenticate_message *)((char *)&req->hdr.ProtocolId in user_authblob()
1598 in_blob = (char *)&req->hdr.ProtocolId + in krb5_authenticate()
1601 out_blob = (char *)&rsp->hdr.ProtocolId + in krb5_authenticate()
1815 negblob = (struct negotiate_message *)((char *)&req->hdr.ProtocolId + in smb2_sess_setup()
[all …]
H A Dconnection.c398 if (((struct smb2_hdr *)smb_get_msg(conn->request_buf))->ProtocolId == in ksmbd_conn_handler_loop()
H A Doplock.c642 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in __smb2_oplock_break_noti()
749 rsp_hdr->ProtocolId = SMB2_PROTO_NUMBER; in __smb2_lease_break_noti()
H A Dauth.c718 char *all_bytes_msg = (char *)&rcv_hdr->ProtocolId; in ksmbd_gen_preauth_integrity_hash()
H A Dtransport_rdma.c569 hdr->ProtocolId, hdr->Command); in smb_direct_check_recvmsg()