Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 230 for SMBUtil (0.92 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

            int idx = 0;
            SMBUtil.writeInt2(minVersion, data, idx);
            idx += 2;
            SMBUtil.writeInt2(maxVersion, data, idx);
            idx += 2;
            SMBUtil.writeInt2(reserved, data, idx);
            idx += 2;
            SMBUtil.writeInt2(creditsRequested, data, idx);
            idx += 2;
            SMBUtil.writeInt4(preferredSendSize, data, idx);
            idx += 4;
            SMBUtil.writeInt4(maxReceiveSize, data, idx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

            System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16);
            this.leaseKey = new Smb2LeaseKey(keyBytes);
            bufferIndex += 16;
    
            this.leaseState = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.leaseFlags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // LeaseDuration (8 bytes) - reserved, skip
            bufferIndex += 8;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java

     */
    package jcifs.internal.smb2.ioctl;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import jcifs.Decodable;
    import jcifs.internal.smb2.multichannel.NetworkInterfaceInfo;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Response data for FSCTL_QUERY_NETWORK_INTERFACE_INFO
     */
    public class QueryNetworkInterfaceInfoResponse implements Decodable {
    
        private List<NetworkInterfaceInfo> interfaces;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

            final int start = dstIndex;
    
            SMBUtil.writeInt2(25, dst, dstIndex);
    
            dst[dstIndex + 2] = (byte) (this.sessionBinding ? 0x1 : 0);
            dst[dstIndex + 3] = (byte) this.securityMode;
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(0, dst, dstIndex); // Channel
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertEquals(AvPair.MsvAvFlags, SMBUtil.readInt2(encoded, 0), "First pair type should be MsvAvFlags");
            assertEquals(4, SMBUtil.readInt2(encoded, 2), "First pair length should be 4");
    
            // Check AvFlags data
            assertEquals(0x12345678, SMBUtil.readInt4(encoded, 4), "Flags value should match");
    
            // Check EOL
            assertEquals(AvPair.MsvAvEOL, SMBUtil.readInt2(encoded, 8), "Should end with EOL");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            buffer[33] = 4; // wordCount
            buffer[34] = (byte) 0x42; // andxCommand
            SMBUtil.writeInt2(83, buffer, 36); // andxOffset (33 + 50)
            SMBUtil.writeInt2(20, buffer, 42); // byteCount
    
            // Setup andx command data at offset 83 (absolute position from buffer start)
            buffer[83] = 2; // andx wordCount
            SMBUtil.writeInt2(10, buffer, 88); // andx byteCount
    
            int length = testBlock.decode(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.negotiated.getNegotiatedSendBufferSize(), dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.negotiated.getNegotiatedMpxCount(), dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(getConfig().getVcNumber(), dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.negotiated.getNegotiatedSessionKey(), dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java

        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(this.fileAttributes, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeUTime(this.lastWriteTime, dst, dstIndex);
            dstIndex += 4;
            // reserved
            dstIndex += 10;
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

            bufferIndex += 4; // skip idFileSystem
    
            this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.alloc = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.free = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.bytesPerSect = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

            final int start = dstIndex;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            SMBUtil.writeInt2(this.securityMode, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.dialects.length, dst, dstIndex);
            dstIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top