Changeset 746 for vendor/current/source3/smbd/globals.h
- Timestamp:
- Nov 27, 2012, 4:56:06 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/smbd/globals.h
r740 r746 278 278 struct smb_request *smbd_smb2_fake_smb_request(struct smbd_smb2_request *req); 279 279 void remove_smb2_chained_fsp(files_struct *fsp); 280 281 NTSTATUS smbd_smb2_request_verify_sizes(struct smbd_smb2_request *req, 282 size_t expected_body_size); 280 283 281 284 NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req); … … 351 354 /* the session the request operates on, maybe NULL */ 352 355 struct smbd_smb2_session *session; 356 uint64_t last_session_id; 353 357 354 358 /* the tcon the request operates on, maybe NULL */ 355 359 struct smbd_smb2_tcon *tcon; 360 uint32_t last_tid; 356 361 357 362 int current_idx; … … 359 364 bool async; 360 365 bool cancelled; 366 bool compound_related; 361 367 362 368 /* fake smb1 request. */ 363 369 struct smb_request *smb1req; 364 370 struct files_struct *compat_chain_fsp; 365 366 NTSTATUS next_status;367 371 368 372 /* … … 598 602 } locks; 599 603 struct smbd_smb2_request *requests; 604 /* 605 * seqnum_low is the lowest sequence number 606 * we will accept. 607 */ 600 608 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 */ 603 645 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; 604 650 } smb2; 605 651 };
Note:
See TracChangeset
for help on using the changeset viewer.