Lines Matching defs:TCP_Server_Info
545 struct TCP_Server_Info { struct
546 struct list_head tcp_ses_list;
547 struct list_head smb_ses_list;
548 int srv_count; /* reference counter */
550 char server_RFC1001_name[RFC1001_NAME_LEN_WITH_NULL];
551 struct smb_version_operations *ops;
552 struct smb_version_values *vals;
553 enum statusEnum tcpStatus; /* what we think the status is */
554 char *hostname; /* hostname portion of UNC string */
555 struct socket *ssocket;
556 struct sockaddr_storage dstaddr;
557 struct sockaddr_storage srcaddr; /* locally bind to this IP */
559 struct net *net;
561 wait_queue_head_t response_q;
562 wait_queue_head_t request_q; /* if more than maxmpx to srvr must block*/
563 struct list_head pending_mid_q;
564 bool noblocksnd; /* use blocking sendmsg */
565 bool noautotune; /* do not autotune send buf sizes */
566 bool tcp_nodelay;
567 int credits; /* send no more requests at once */
568 unsigned int in_flight; /* number of requests on the wire to server */
569 spinlock_t req_lock; /* protect the two values above */
570 struct mutex srv_mutex;
571 struct task_struct *tsk;
572 char server_GUID[16];
573 __u16 sec_mode;
574 bool sign; /* is signing enabled on this connection? */
575 bool session_estab; /* mark when very first sess is established */
577 int echo_credits; /* echo reserved slots */
578 int oplock_credits; /* oplock break reserved slots */
579 bool echoes:1; /* enable echoes */
580 __u8 client_guid[SMB2_CLIENT_GUID_SIZE]; /* Client GUID */
582 u16 dialect; /* dialect index that server chose */
583 bool oplocks:1; /* enable oplocks */
584 unsigned int maxReq; /* Clients should submit no more */
587 unsigned int maxBuf; /* maxBuf specifies the maximum */
591 unsigned int max_rw; /* maxRw specifies the maximum */
594 unsigned int capabilities; /* selective disabling of caps by smb sess */
595 int timeAdj; /* Adjust for difference in server time zone in sec */
596 __u64 CurrentMid; /* multiplex id - rotating counter */
597 char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlm, ntlmv2 etc */
599 char workstation_RFC1001_name[RFC1001_NAME_LEN_WITH_NULL];
600 __u32 sequence_number; /* for signing, protected by srv_mutex */
601 struct session_key session_key;
602 unsigned long lstrp; /* when we got last response from this server */
603 struct cifs_secmech secmech; /* crypto sec mech functs, descriptors */
607 char negflavor; /* NEGOTIATE response flavor */
609 bool sec_ntlmssp; /* supports NTLMSSP */
610 bool sec_kerberosu2u; /* supports U2U Kerberos */
634 in_flight(struct TCP_Server_Info *server) in in_flight() argument