Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for NdrBuffer (0.07 sec)

  1. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

        public int index;
        public int length;
        public NdrBuffer deferred;
    
    
        public NdrBuffer ( byte[] buf, int start ) {
            this.buf = buf;
            this.start = this.index = start;
            this.length = 0;
            this.deferred = this;
        }
    
    
        public NdrBuffer derive ( int idx ) {
            NdrBuffer nb = new NdrBuffer(this.buf, this.start);
            nb.index = idx;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

    import java.util.HashMap;
    
    import jcifs.smb1.util.Encdec;
    
    public class NdrBuffer {
        int referent;
        HashMap referents;
    
        static class Entry {
            int referent;
            Object obj;
        }
    
        public byte[] buf;
        public int start;
        public int index;
        public int length;
        public NdrBuffer deferred;
    
        public NdrBuffer(byte[] buf, int start) {
            this.buf = buf;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

            public String entry_path;
    
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(entry_path, 1);
    
                if (entry_path != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(entry_path);
    
                }
            }
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 15K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

            public byte effective_only;
    
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(length);
                _dst.enc_ndr_short(impersonation_level);
                _dst.enc_ndr_small(context_mode);
                _dst.enc_ndr_small(effective_only);
    
            }
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 33K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcSecurityProvider.java

    
    import jcifs.dcerpc.ndr.NdrBuffer;
    
    
    /**
     *
     */
    public interface DcerpcSecurityProvider {
    
        /**
         * 
         * @param outgoing
         * @throws DcerpcException
         */
        void wrap ( NdrBuffer outgoing ) throws DcerpcException;
    
    
        /**
         * 
         * @param incoming
         * @throws DcerpcException
         */
        void unwrap ( NdrBuffer incoming ) throws DcerpcException;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

            public SamrCloseHandle(rpc.policy_handle handle) {
                this.handle = handle;
            }
    
            public void encode_in(NdrBuffer _dst) throws NdrException {
                handle.encode(_dst);
            }
            public void decode_out(NdrBuffer _src) throws NdrException {
                retval = (int)_src.dec_ndr_long();
            }
        }
        public static class SamrConnect2 extends DcerpcMessage {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 14K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/samr.java

                this.handle = handle;
            }
    
    
            @Override
            public void encode_in ( NdrBuffer _dst ) throws NdrException {
                this.handle.encode(_dst);
            }
    
    
            @Override
            public void decode_out ( NdrBuffer _src ) throws NdrException {
                this.retval = _src.dec_ndr_long();
            }
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 15.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(this.netname, 1);
    
                if ( this.netname != null ) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(this.netname);
    
                }
            }
    
    
            @Override
            public void decode ( NdrBuffer _src ) throws NdrException {
                _src.align(4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 19.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

            public String netname;
    
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(netname, 1);
    
                if (netname != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(netname);
    
                }
            }
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 18.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(this.entry_path, 1);
    
                if ( this.entry_path != null ) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(this.entry_path);
    
                }
            }
    
    
            @Override
            public void decode ( NdrBuffer _src ) throws NdrException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 16.4K bytes
    - Viewed (0)
Back to top