Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for encode_header (0.1 sec)

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

                buf.enc_ndr_long(this.alloc_hint);
            }
    
            buf.setIndex(start);
            encode_header(buf);
            buf.setIndex(start + this.length);
        }
    
    
        @Override
        public void decode ( NdrBuffer buf ) throws NdrException {
            decode_header(buf);
    
            if ( this.ptype != 12 && this.ptype != 2 && this.ptype != 3 && this.ptype != 13 )
    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

                alloc_hint = length - alloc_hint_index;
                buf.enc_ndr_long(alloc_hint);
            }
    
            buf.setIndex(start);
            encode_header(buf);
            buf.setIndex(start + length);
        }
        public void decode(NdrBuffer buf) throws NdrException {
            decode_header(buf);
    
            if (ptype != 12 && ptype != 2 && ptype != 3 && ptype != 13)
                throw new NdrException("Unexpected ptype: " + ptype);
    
    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/smb1/dcerpc/DcerpcHandle.java

                    if ((msg.flags & (DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG)) != (DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG)) {
                        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());
                    }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
Back to top