Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for dec_ndr_long (0.1 sec)

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

            if ( buf.dec_ndr_long() != 0x00000010 ) { /* Little-endian / ASCII / IEEE */
                throw new NdrException("Data representation not supported");
            }
            this.length = buf.dec_ndr_short();
            if ( buf.dec_ndr_short() != 0 ) {
                throw new NdrException("DCERPC authentication not supported");
            }
            this.call_id = buf.dec_ndr_long();
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

            flags = buf.dec_ndr_small();
            if (buf.dec_ndr_long() != 0x00000010) /* Little-endian / ASCII / IEEE */
                throw new NdrException("Data representation not supported");
            length = buf.dec_ndr_short();
            if (buf.dec_ndr_short() != 0)
                throw new NdrException("DCERPC authentication not supported");
            call_id = buf.dec_ndr_long();
        }
        public void encode(NdrBuffer buf) throws NdrException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/ndr/NdrLong.java

            this.value = value;
        }
    
    
        @Override
        public void encode ( NdrBuffer dst ) throws NdrException {
            dst.enc_ndr_long(this.value);
        }
    
    
        @Override
        public void decode ( NdrBuffer src ) throws NdrException {
            this.value = src.dec_ndr_long();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/ndr/NdrLong.java

        public NdrLong(int value) {
            this.value = value;
        }
    
        public void encode(NdrBuffer dst) throws NdrException {
            dst.enc_ndr_long(value);
        }
        public void decode(NdrBuffer src) throws NdrException {
            value = src.dec_ndr_long();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            buf.enc_ndr_short(binding.minor);
            DCERPC_UUID_SYNTAX_NDR.encode(buf);
            buf.enc_ndr_long(2); /* syntax version */
        }
        public void decode_out(NdrBuffer buf) throws NdrException {
            buf.dec_ndr_short(); /* max transmit frag size */
            buf.dec_ndr_short(); /* max receive frag size */
            buf.dec_ndr_long();  /* assoc. group */
            int n = buf.dec_ndr_short(); /* secondary addr len */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcBind.java

            DCERPC_UUID_SYNTAX_NDR.encode(buf);
            buf.enc_ndr_long(2); /* syntax version */
        }
    
    
        @Override
        public void decode_out ( NdrBuffer buf ) throws NdrException {
            buf.dec_ndr_short(); /* max transmit frag size */
            buf.dec_ndr_short(); /* max receive frag size */
            buf.dec_ndr_long(); /* assoc. group */
            int n = buf.dec_ndr_short(); /* secondary addr len */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            if (obj == null) {
                enc_ndr_long(0);
                return;
            }
            switch (type) {
                case 1: /* unique */
                case 3: /* ref */
                    enc_ndr_long(System.identityHashCode(obj));
                    return;
                case 2: /* ptr */
                    enc_ndr_long(getDceReferent(obj));
                    return;
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            if ( obj == null ) {
                enc_ndr_long(0);
                return;
            }
            switch ( type ) {
            case 1: /* unique */
            case 3: /* ref */
                enc_ndr_long(System.identityHashCode(obj));
                return;
            case 2: /* ptr */
                enc_ndr_long(getDceReferent(obj));
                return;
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                        buf.start = off;
                        buf.reset();
                        msg.encode_header(buf);
                        buf.enc_ndr_long(msg.alloc_hint);
                        buf.enc_ndr_short(0); /* context id */
                        buf.enc_ndr_short(msg.getOpnum());
                    }
    
                    doSendFragment(stub, off, msg.length, isDirect);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                    buf.start = off;
                    buf.reset();
                    msg.encode_header(buf);
                    buf.enc_ndr_long(msg.alloc_hint);
                    buf.enc_ndr_short(0); /* context id */
                    buf.enc_ndr_short(msg.getOpnum());
                }
    
                if ( ( msg.flags & DCERPC_LAST_FRAG ) != DCERPC_LAST_FRAG ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
Back to top