Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
0002 /*
0003  *
0004  *   Author(s): Scott Lovenberg (scott.lovenberg@gmail.com)
0005  *
0006  *   This library is free software; you can redistribute it and/or modify
0007  *   it under the terms of the GNU Lesser General Public License as published
0008  *   by the Free Software Foundation; either version 2.1 of the License, or
0009  *   (at your option) any later version.
0010  *
0011  *   This library is distributed in the hope that it will be useful,
0012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
0013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
0014  *   the GNU Lesser General Public License for more details.
0015  */
0016 #ifndef _CIFS_MOUNT_H
0017 #define _CIFS_MOUNT_H
0018 
0019 /* Max string lengths for cifs mounting options. */
0020 #define CIFS_MAX_DOMAINNAME_LEN 256 /* max fully qualified domain name */
0021 #define CIFS_MAX_USERNAME_LEN   256 /* reasonable max for current servers */
0022 #define CIFS_MAX_PASSWORD_LEN   512 /* Windows max seems to be 256 wide chars */
0023 #define CIFS_MAX_SHARE_LEN      256 /* reasonable max share name length */
0024 #define CIFS_NI_MAXHOST        1024 /* max host name length (256 * 4 bytes) */
0025 
0026 
0027 #endif /* _CIFS_MOUNT_H */