Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for SMB_COM_NT_TRANSACT_SECONDARY (0.13 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

            dstIndex += 4;
            if (command == SMB_COM_NT_TRANSACT_SECONDARY) {
                writeInt4(parameterDisplacement, dst, dstIndex);
                dstIndex += 4;
            }
            writeInt4(dataCount, dst, dstIndex);
            dstIndex += 4;
            writeInt4(dataCount == 0 ? 0 : dataOffset, dst, dstIndex);
            dstIndex += 4;
            if (command == SMB_COM_NT_TRANSACT_SECONDARY) {
                writeInt4(dataDisplacement, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransaction.java

        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (this.getCommand() != SMB_COM_NT_TRANSACT_SECONDARY) {
                dst[dstIndex++] = this.maxSetupCount;
            } else {
                dst[dstIndex++] = (byte) 0x00; // Reserved
            }
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                        ServerMessageBlock.SMB_COM_NT_CREATE_ANDX, ServerMessageBlock.SMB_COM_NT_TRANSACT,
                        ServerMessageBlock.SMB_COM_NT_TRANSACT_SECONDARY, ServerMessageBlock.SMB_COM_LOCKING_ANDX, (byte) 0xFF };
    
                String[] expectedStrings = { "SMB_COM_CREATE_DIRECTORY", "SMB_COM_DELETE_DIRECTORY", "SMB_COM_CLOSE", "SMB_COM_DELETE",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

            // Second call should change to NT_TRANSACT_SECONDARY
            transaction.nextElement();
            assertEquals(ServerMessageBlock.SMB_COM_NT_TRANSACT_SECONDARY, transaction.command,
                    "Command should change to SMB_COM_NT_TRANSACT_SECONDARY for NT transactions");
        }
    
        @Test
        @DisplayName("Test toString() method")
        void testToString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            case SMB_COM_WRITE_ANDX -> "SMB_COM_WRITE_ANDX";
            case SMB_COM_CREATE_DIRECTORY -> "SMB_COM_CREATE_DIRECTORY";
            case SMB_COM_NT_TRANSACT -> "SMB_COM_NT_TRANSACT";
            case SMB_COM_NT_TRANSACT_SECONDARY -> "SMB_COM_NT_TRANSACT_SECONDARY";
            default -> "UNKNOWN";
            };
            final String str = errorCode == 0 ? "0" : SmbException.getMessageByCode(errorCode);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertEquals((byte) 0xA0, SmbComTransaction.SMB_COM_NT_TRANSACT);
            assertEquals((byte) 0x26, SmbComTransaction.SMB_COM_TRANSACTION_SECONDARY);
            assertEquals((byte) 0xA1, SmbComTransaction.SMB_COM_NT_TRANSACT_SECONDARY);
        }
    
        @Test
        @DisplayName("Test sub-command constants")
        void testSubCommandConstants() {
            assertEquals((short) 0x0001, SmbComTransaction.TRANS2_FIND_FIRST2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        void testWriteParameterWordsWireFormatSecondary() {
            byte[] dst = new byte[256];
    
            // Change command to secondary
            transaction.setCommand(ServerMessageBlock.SMB_COM_NT_TRANSACT_SECONDARY);
    
            // Set up transaction parameters
            transaction.setTotalParameterCount(100);
            transaction.setTotalDataCount(200);
            transaction.setParameterCount(30);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

            } else {
                if (command != SMB_COM_NT_TRANSACT) {
                    command = SMB_COM_TRANSACTION_SECONDARY;
                } else {
                    command = SMB_COM_NT_TRANSACT_SECONDARY;
                }
                // totalParameterCount and totalDataCount are set ok from primary
    
                parameterOffset = SECONDARY_PARAMETER_OFFSET;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

        @Test
        void testWriteParameterWordsWireFormat_SecondaryTransaction() {
            // Test the writeParameterWordsWireFormat for a secondary transaction.
            smbComNtTransaction.command = ServerMessageBlock.SMB_COM_NT_TRANSACT_SECONDARY;
            smbComNtTransaction.totalParameterCount = 10;
            smbComNtTransaction.totalDataCount = 20;
            smbComNtTransaction.parameterCount = 5;
            smbComNtTransaction.parameterOffset = 100;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            case SMB_COM_WRITE_ANDX -> "SMB_COM_WRITE_ANDX";
            case SMB_COM_CREATE_DIRECTORY -> "SMB_COM_CREATE_DIRECTORY";
            case SMB_COM_NT_TRANSACT -> "SMB_COM_NT_TRANSACT";
            case SMB_COM_NT_TRANSACT_SECONDARY -> "SMB_COM_NT_TRANSACT_SECONDARY";
            case SMB_COM_LOCKING_ANDX -> "SMB_COM_LOCKING_ANDX";
            default -> "UNKNOWN";
            };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top