Home
last modified time | relevance | path

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

/fs/cifs/
Dsmb2misc.c41 if ((*(__le32 *)hdr->ProtocolId == SMB2_PROTO_NUMBER) && in check_smb2_hdr()
53 if (*(__le32 *)hdr->ProtocolId != SMB2_PROTO_NUMBER) in check_smb2_hdr()
55 *(unsigned int *) hdr->ProtocolId); in check_smb2_hdr()
332 return (char *)(&hdr->ProtocolId[0]) + *off; in smb2_get_data_area_len()
Dsmb2pdu.c100 hdr->ProtocolId[0] = 0xFE; in smb2_hdr_assemble()
101 hdr->ProtocolId[1] = 'S'; in smb2_hdr_assemble()
102 hdr->ProtocolId[2] = 'M'; in smb2_hdr_assemble()
103 hdr->ProtocolId[3] = 'B'; in smb2_hdr_assemble()
1636 memcpy(*out_data, rsp->hdr.ProtocolId + le32_to_cpu(rsp->OutputOffset), in SMB2_ioctl()
2211 memcpy(*buf, (char *)rsp->hdr.ProtocolId + rsp->DataOffset, in SMB2_read()
Dsmb2pdu.h105 __u8 ProtocolId[4]; /* 0xFE 'S' 'M' 'B' */ member
129 __u8 ProtocolId[4]; /* 0xFD 'S' 'M' 'B' */ member