- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for Smb2IoctlResponse (0.09 seconds)
-
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");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
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 {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 10.2K bytes - Click Count (0) -
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];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
// For now, we're preparing the request structure correctly // TODO: Integration point - send request through session.send() // Smb2IoctlResponse response = (Smb2IoctlResponse) session.send(request); // if (response.isSuccess()) { // parseNetworkInterfaces(response.getOutputData()); // }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 20K bytes - Click Count (0) -
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")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
request.setCtlCode(FSCTL_QUERY_NETWORK_INTERFACE_INFO); request.setFileId(new byte[16]); // Use session ID request.setMaxOutputResponse(65536); Smb2IoctlResponse response = (Smb2IoctlResponse) session.send(request); if (response.isSuccess()) { parseNetworkInterfaces(response.getOutputData()); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0) -
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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
import jcifs.internal.smb2.ioctl.Smb2IoctlRequest; import jcifs.internal.smb2.ioctl.Smb2IoctlResponse; @ExtendWith(MockitoExtension.class) class SmbPipeHandleInternalTest { @Mock private SmbNamedPipe pipe; @Mock private SmbTreeHandleImpl tree; @Mock private SmbFileHandleImpl fh; @Mock private Smb2IoctlResponse ioctlResp; @Mock private Configuration config; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0)