impl SMBState {
fn new_dcerpc_tx(&mut self, hdr: SMBCommonHdr, vercmd: SMBVerCmdStat, cmd: u8, call_id: u32)
- -> (&mut SMBTransaction)
+ -> &mut SMBTransaction
{
let mut tx = self.new_tx();
tx.hdr = hdr;
}
fn new_dcerpc_tx_for_response(&mut self, hdr: SMBCommonHdr, vercmd: SMBVerCmdStat, call_id: u32)
- -> (&mut SMBTransaction)
+ -> &mut SMBTransaction
{
let mut tx = self.new_tx();
tx.hdr = hdr;
impl SMBState {
pub fn new_setfileinfo_tx(&mut self, filename: Vec<u8>, fid: Vec<u8>,
subcmd: u16, loi: u16, delete_on_close: bool)
- -> (&mut SMBTransaction)
+ -> &mut SMBTransaction
{
let mut tx = self.new_tx();
pub fn new_setpathinfo_tx(&mut self, filename: Vec<u8>,
subcmd: u16, loi: u16, delete_on_close: bool)
- -> (&mut SMBTransaction)
+ -> &mut SMBTransaction
{
let mut tx = self.new_tx();
impl SMBState {
pub fn new_rename_tx(&mut self, fuid: Vec<u8>, oldname: Vec<u8>, newname: Vec<u8>)
- -> (&mut SMBTransaction)
+ -> &mut SMBTransaction
{
let mut tx = self.new_tx();
* track a single cmd request/reply pair. */
pub fn new_generic_tx(&mut self, smb_ver: u8, smb_cmd: u16, key: SMBCommonHdr)
- -> (&mut SMBTransaction)
+ -> &mut SMBTransaction
{
let mut tx = self.new_tx();
if smb_ver == 1 && smb_cmd <= 255 {
}
pub fn new_negotiate_tx(&mut self, smb_ver: u8)
- -> (&mut SMBTransaction)
+ -> &mut SMBTransaction
{
let mut tx = self.new_tx();
if smb_ver == 1 {
}
pub fn new_treeconnect_tx(&mut self, hdr: SMBCommonHdr, name: Vec<u8>)
- -> (&mut SMBTransaction)
+ -> &mut SMBTransaction
{
let mut tx = self.new_tx();