Systems and methods for transport layer processing of server message block protocol messages
AssigneeTuxera Inc.
InventorOleg Nikolaevich KRAVTSOV
Life of this patent
Estimating the term…
Abstract
This disclosure describes techniques for network file sharing. In one example, this disclosure describes systems and techniques for enabling network file sharing by processing server message block protocol messages. In one example, the systems and techniques for processing server message block protocol messages include transport layer processing of server message block protocol messages.
Claims20
A method for transferring data from a network buffer to a file system object, the method comprising:
- reading a transport packet header and a server message block header from a transport packet by invoking a first read call, wherein the transport packet includes a transport packet header, a server message block header, and a server message block data payload;
- checking a value of a command field from the read server message block header;
- and
- conditionally reading data from the server message block data payload based on whether the value of the command field indicates a write command.
A method for transferring data from a network buffer to a file system object, the method comprising:
- reading a transport packet header and a server message block header from a transport packet by invoking a first read call, wherein the transport packet includes a transport packet header, a server message block header, and a server message block data payload;
- determining whether the value of a length field in the read transport header is greater than a threshold value;
- and
- performing one of:
- checking a value of a command field in the read server message block header in the case where the value of the length field is greater than or equal to a threshold value;
- or
- reading all of the a server message block data payload by invoking a second read call in the case where the value of the length field is less than the threshold value.
A device comprising one or more processors configured to:
- read a transport packet header and a server message block header from a transport packet by invoking a first read call, wherein the transport packet includes a transport packet header, a server message block header, and a server message block data payload;
- determine whether the value of a length field in the read transport header is greater than a threshold value;
- and
- perform one of:
- checking a value of a command field in the read server message block header in the case where the value of the length field is greater than or equal to a threshold value;
- or
- reading all of the a server message block data payload by invoking a second read call in the case where the value of the length field is less than the threshold value.
A non-transitory computer-readable storage medium comprising instructions stored thereon, that upon execution, cause one or more processors of a device to:
- read a transport packet header and a server message block header from a transport packet by invoking a first read call, wherein the transport packet includes a transport packet header, a server message block header, and a server message block data payload;
- check a value of a command field from the read server message block header;
- and
- conditionally read data from the server message block data payload based on whether the value of the command field indicates a write command.
Dependencies are inferred from the claim text.