Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for packet (0.15 sec)

  1. src/main/java/jcifs/dcerpc/DcerpcConstants.java

        int DCERPC_OBJECT_UUID = 0x80; /* if true, a non-nil object UUID */
    
        // Packet Types (ptype)
        /**
         * Request packet type
         */
        int RPC_PT_REQUEST = 0x00;
        /**
         * Ping packet type
         */
        int RPC_PT_PING = 0x01;
        /**
         * Response packet type
         */
        int RPC_PT_RESPONSE = 0x02;
        /**
         * Fault packet type - indicates an error
         */
        int RPC_PT_FAULT = 0x03;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/SessionServicePacket.java

        // session service packet types
        static final int SESSION_MESSAGE = 0x00;
        static final int SESSION_REQUEST = 0x81;
    
        /**
         * NetBIOS positive session response packet type.
         */
        public static final int POSITIVE_SESSION_RESPONSE = 0x82;
    
        /**
         * NetBIOS negative session response packet type.
         */
        public static final int NEGATIVE_SESSION_RESPONSE = 0x83;
        static final int SESSION_RETARGET_RESPONSE = 0x84;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

            // Test that the constructor correctly initializes the type and length fields.
            SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
            assertEquals(SessionServicePacket.SESSION_RETARGET_RESPONSE, packet.type);
            assertEquals(6, packet.length);
        }
    
        @Test
        void writeTrailerWireFormatShouldReturnZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/SessionRequestPacket.java

     */
    
    package jcifs.netbios;
    
    import java.io.IOException;
    import java.io.InputStream;
    
    import jcifs.Configuration;
    import jcifs.NetbiosName;
    
    /**
     * NetBIOS session request packet implementation.
     * This packet is used to initiate NetBIOS session connections.
     */
    public class SessionRequestPacket extends SessionServicePacket {
    
        private final Name calledName, callingName;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcMessage.java

         */
        protected int alloc_hint = 0;
        /**
         * The result code of the DCERPC operation
         */
        protected int result = 0;
    
        /**
         * Gets the packet type of this DCERPC message
         * @return the packet type
         */
        public int getPtype() {
            return ptype;
        }
    
        /**
         * Gets the flags of this DCERPC message
         * @return the message flags
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

        // session service packet types
        static final int SESSION_MESSAGE = 0x00;
        static final int SESSION_REQUEST = 0x81;
        /**
         * NetBIOS positive session response packet type.
         */
        public static final int POSITIVE_SESSION_RESPONSE = 0x82;
        /**
         * NetBIOS negative session response packet type.
         */
        public static final int NEGATIVE_SESSION_RESPONSE = 0x83;
        static final int SESSION_RETARGET_RESPONSE = 0x84;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java

     */
    
    package jcifs.smb1.netbios;
    
    import java.io.IOException;
    import java.io.InputStream;
    
    /**
     * NetBIOS session request packet for establishing sessions.
     * This packet is sent to request a NetBIOS session with a remote host.
     */
    public class SessionRequestPacket extends SessionServicePacket {
    
        private final Name calledName, callingName;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        }
    
        /**
         * The toString representation should include the class name and both
         * fields.  This provides visibility into the debug output of the SMB
         * packet.
         */
        @Test
        @DisplayName("happy: toString contains class info and field values")
        void testToStringContainsAllInfo() {
            int fid = 256;
            long lwt = 9876543210L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

         */
        @Override
        public final boolean isError() {
            return this.error;
        }
    
        /**
         * Checks whether this SMB2 response packet has been signed.
         *
         * @return whether the packet has been signed.
         */
        public boolean isSigned() {
            return (getFlags() & SMB2_FLAGS_SIGNED) != 0;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(5);
            byte[] buf = newBuffer(10);
            int written = cmd.writeSetupWireFormat(buf, 0);
            assertEquals(2, written, "setup packet should write 2 bytes");
            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buf[0], "first byte should be subCommand");
            assertEquals((byte) 0x00, buf[1], "second byte should be zero");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top