Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SMB2_HEADER (0.31 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

         */
        private void buildHeader(byte[] buf, int start, int status, int command, long sessionId) {
            System.arraycopy(SMBUtil.SMB2_HEADER, 0, buf, start, SMBUtil.SMB2_HEADER.length);
            // Status at +8
            SMBUtil.writeInt4(status, buf, start + 8);
            // Command at +12
            SMBUtil.writeInt2(command, buf, start + 12);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/util/SMBUtil.java

        /**
         * SMB2 protocol header template with magic number 0xFE 'SMB'
         */
        public static final byte[] SMB2_HEADER = { (byte) 0xFE, (byte) 'S', (byte) 'M', (byte) 'B', // ProtocolId
                (byte) 64, (byte) 0x00, // StructureSize (LE)
                (byte) 0x00, (byte) 0x00, // CreditCharge (reserved 2.0.2)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top