Ignore:
Timestamp:
Nov 27, 2012, 4:56:06 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated vendor to 3.6.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/smbd/globals.h

    r740 r746  
    278278struct smb_request *smbd_smb2_fake_smb_request(struct smbd_smb2_request *req);
    279279void remove_smb2_chained_fsp(files_struct *fsp);
     280
     281NTSTATUS smbd_smb2_request_verify_sizes(struct smbd_smb2_request *req,
     282                                        size_t expected_body_size);
    280283
    281284NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req);
     
    351354        /* the session the request operates on, maybe NULL */
    352355        struct smbd_smb2_session *session;
     356        uint64_t last_session_id;
    353357
    354358        /* the tcon the request operates on, maybe NULL */
    355359        struct smbd_smb2_tcon *tcon;
     360        uint32_t last_tid;
    356361
    357362        int current_idx;
     
    359364        bool async;
    360365        bool cancelled;
     366        bool compound_related;
    361367
    362368        /* fake smb1 request. */
    363369        struct smb_request *smb1req;
    364370        struct files_struct *compat_chain_fsp;
    365 
    366         NTSTATUS next_status;
    367371
    368372        /*
     
    598602                } locks;
    599603                struct smbd_smb2_request *requests;
     604                /*
     605                 * seqnum_low is the lowest sequence number
     606                 * we will accept.
     607                 */
    600608                uint64_t seqnum_low;
    601                 uint32_t credits_granted;
    602                 uint32_t max_credits;
     609                /*
     610                 * seqnum_range is the range of credits we have
     611                 * granted from the sequence windows starting
     612                 * at seqnum_low.
     613                 *
     614                 * This gets incremented when new credits are
     615                 * granted and gets decremented when the
     616                 * lowest sequence number is consumed
     617                 * (when seqnum_low gets incremented).
     618                 */
     619                uint16_t seqnum_range;
     620                /*
     621                 * credits_grantedThe number of credits we have currently granted
     622                 * to the client.
     623                 *
     624                 * This gets incremented when new credits are
     625                 * granted and gets decremented when any credit
     626                 * is comsumed.
     627                 *
     628                 * Note: the decrementing is different compared
     629                 *       to seqnum_range.
     630                 */
     631                uint16_t credits_granted;
     632                /*
     633                 * The maximum number of credits we will ever
     634                 * grant to the client.
     635                 *
     636                 * Typically we will only grant 1/16th of
     637                 * max_credits.
     638                 *
     639                 * This is the "server max credits" parameter.
     640                 */
     641                uint16_t max_credits;
     642                /*
     643                 * a bitmap of size max_credits
     644                 */
    603645                struct bitmap *credits_bitmap;
     646                uint32_t max_trans;
     647                uint32_t max_read;
     648                uint32_t max_write;
     649                bool compound_related_in_progress;
    604650        } smb2;
    605651};
Note: See TracChangeset for help on using the changeset viewer.