Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for enc_ndr_short (0.11 sec)

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

            buf.enc_ndr_small(this.ptype);
            buf.enc_ndr_small(this.flags);
            buf.enc_ndr_long(0x00000010); /* Little-endian / ASCII / IEEE */
            buf.enc_ndr_short(this.length);
            buf.enc_ndr_short(0); /* length of auth_value */
            buf.enc_ndr_long(this.call_id);
        }
    
    
        void decode_header ( NdrBuffer buf ) throws NdrException {
            /* RPC major / minor version */
    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/DcerpcBind.java

        }
        public void encode_in(NdrBuffer buf) throws NdrException {
            buf.enc_ndr_short(max_xmit);
            buf.enc_ndr_short(max_recv);
            buf.enc_ndr_long(0); /* assoc. group */
            buf.enc_ndr_small(1); /* num context items */
            buf.enc_ndr_small(0); /* reserved */
            buf.enc_ndr_short(0); /* reserved2 */
            buf.enc_ndr_short(0); /* context id */
            buf.enc_ndr_small(1); /* number of items */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcBind.java

        public void encode_in ( NdrBuffer buf ) throws NdrException {
            buf.enc_ndr_short(this.max_xmit);
            buf.enc_ndr_short(this.max_recv);
            buf.enc_ndr_long(0); /* assoc. group */
            buf.enc_ndr_small(1); /* num context items */
            buf.enc_ndr_small(0); /* reserved */
            buf.enc_ndr_short(0); /* reserved2 */
            buf.enc_ndr_short(0); /* context id */
            buf.enc_ndr_small(1); /* number of items */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/rpc.java

                    for (int _i = 0; _i < _bufferl; _i++) {
                        _dst.enc_ndr_short(buffer[_i]);
                    }
                }
            }
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
                length = (short)_src.dec_ndr_short();
                maximum_length = (short)_src.dec_ndr_short();
                int _bufferp = _src.dec_ndr_long();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/rpc.java

                        _dst.enc_ndr_short(this.buffer[ _i ]);
                    }
                }
            }
    
    
            @Override
            public void decode ( NdrBuffer _src ) throws NdrException {
                _src.align(4);
                this.length = (short) _src.dec_ndr_short();
                this.maximum_length = (short) _src.dec_ndr_short();
                int _bufferp = _src.dec_ndr_long();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

            buf.enc_ndr_small(0); /* minor version */
            buf.enc_ndr_small(ptype);
            buf.enc_ndr_small(flags);
            buf.enc_ndr_long(0x00000010); /* Little-endian / ASCII / IEEE */
            buf.enc_ndr_short(length);
            buf.enc_ndr_short(0); /* length of auth_value */
            buf.enc_ndr_long(call_id);
        }
        void decode_header(NdrBuffer buf) throws NdrException {
             /* RPC major / minor version */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                        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);
                    off += n;
                }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/ndr/NdrShort.java

        public NdrShort(int value) {
            this.value = value & 0xFF;
        }
    
        public void encode(NdrBuffer dst) throws NdrException {
            dst.enc_ndr_short(value);
        }
        public void decode(NdrBuffer src) throws NdrException {
            value = src.dec_ndr_short();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/ndr/NdrShort.java

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

        public int dec_ndr_small() {
            int val = buf[index] & 0xFF;
            advance(1);
            return val;
        }
        public void enc_ndr_short(int s) {
            align(2);
            Encdec.enc_uint16le((short)s, buf, index);
            advance(2);
        }
        public int dec_ndr_short() {
            align(2);
            int val = Encdec.dec_uint16le(buf, index);
            advance(2);
            return val;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
Back to top