Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Smb2IoctlResponse (0.09 sec)

  1. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

    import jcifs.smb.SmbException;
    
    /**
     * SMB2 IOCTL response message. This response contains the result of a device control
     * operation on the server.
     *
     * @author mbechler
     *
     */
    public class Smb2IoctlResponse extends ServerMessageBlock2Response {
    
        private final byte[] outputBuffer;
        private int ctlCode;
        private byte[] fileId;
        private int ioctlFlags;
        private Decodable outputData;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            System.arraycopy(header, 0, packet, 0, header.length);
            System.arraycopy(body, 0, packet, header.length, body.length);
    
            BaseConfiguration config = new BaseConfiguration(true);
            Smb2IoctlResponse resp = new Smb2IoctlResponse(config);
    
            int read = resp.decode(packet, 0);
            assertTrue(read >= packet.length, "Decoded length should cover entire packet");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            when(tree.isSMB2()).thenReturn(true);
            when(tree.getConfig()).thenReturn(config);
            when(config.getTransactionBufferSize()).thenReturn(65535);
    
            Smb2IoctlResponse ioResp = mock(Smb2IoctlResponse.class);
            SrvPipePeekResponse peek = mock(SrvPipePeekResponse.class);
            when(peek.getReadDataAvailable()).thenReturn(7);
            when(ioResp.getOutputData()).thenReturn(peek);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            when(fileHandle.acquire()).thenReturn(fileHandle);
            when(fileHandle.getTree()).thenReturn(tree);
    
            // Mock response and send behavior
            Smb2IoctlResponse resp = mock(Smb2IoctlResponse.class);
            when(resp.getOutputLength()).thenReturn(42);
            when(tree.send(any(Smb2IoctlRequest.class), any())).thenReturn(resp);
    
            byte[] out = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

            this.outputBuffer = outputBuffer;
            this.maxOutputResponse = outputBuffer.length;
        }
    
        @Override
        protected Smb2IoctlResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2IoctlResponse> req) {
            return new Smb2IoctlResponse(tc.getConfig(), this.outputBuffer, this.controlCode);
        }
    
        /**
         * Set the IOCTL flags
         * @param flags the flags to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

    import jcifs.internal.smb1.trans.TransWaitNamedPipe;
    import jcifs.internal.smb1.trans.TransWaitNamedPipeResponse;
    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    import jcifs.util.ByteEncodable;
    
    /**
     * @author mbechler
     *
     */
    class SmbPipeHandleImpl implements SmbPipeHandleInternal {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeInputStream.java

    import jcifs.CIFSException;
    import jcifs.internal.smb1.trans.TransPeekNamedPipe;
    import jcifs.internal.smb1.trans.TransPeekNamedPipeResponse;
    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    import jcifs.internal.smb2.ioctl.SrvPipePeekResponse;
    
    /**
     * Input stream for reading from SMB named pipes.
     *
     * This class provides a stream-based interface for reading
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

    import jcifs.internal.smb1.trans2.Trans2FindFirst2Response;
    import jcifs.internal.smb2.ServerMessageBlock2;
    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    import jcifs.internal.smb2.ioctl.ValidateNegotiateInfoRequest;
    import jcifs.internal.smb2.ioctl.ValidateNegotiateInfoResponse;
    import jcifs.internal.smb2.nego.Smb2NegotiateRequest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbCopyUtil.java

    import jcifs.internal.smb1.trans2.Trans2SetFileInformationResponse;
    import jcifs.internal.smb2.info.Smb2SetInfoRequest;
    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    import jcifs.internal.smb2.ioctl.SrvCopyChunkCopyResponse;
    import jcifs.internal.smb2.ioctl.SrvCopychunk;
    import jcifs.internal.smb2.ioctl.SrvCopychunkCopy;
    import jcifs.internal.smb2.ioctl.SrvRequestResumeKeyResponse;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

            setupMockContext();
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE, TEST_FILE_ID, TEST_OUTPUT_BUFFER);
    
            Smb2IoctlResponse response = request.createResponse(mockContext, request);
    
            assertNotNull(response);
            verify(mockContext).getConfig();
        }
    
        @Test
        @DisplayName("Test setFlags method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top