1*4882a593Smuzhiyun /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ 2*4882a593Smuzhiyun /* 3*4882a593Smuzhiyun * include/uapi/linux/cifs/cifs_mount.h 4*4882a593Smuzhiyun * 5*4882a593Smuzhiyun * Author(s): Scott Lovenberg (scott.lovenberg@gmail.com) 6*4882a593Smuzhiyun * 7*4882a593Smuzhiyun * This library is free software; you can redistribute it and/or modify 8*4882a593Smuzhiyun * it under the terms of the GNU Lesser General Public License as published 9*4882a593Smuzhiyun * by the Free Software Foundation; either version 2.1 of the License, or 10*4882a593Smuzhiyun * (at your option) any later version. 11*4882a593Smuzhiyun * 12*4882a593Smuzhiyun * This library is distributed in the hope that it will be useful, 13*4882a593Smuzhiyun * but WITHOUT ANY WARRANTY; without even the implied warranty of 14*4882a593Smuzhiyun * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 15*4882a593Smuzhiyun * the GNU Lesser General Public License for more details. 16*4882a593Smuzhiyun */ 17*4882a593Smuzhiyun #ifndef _CIFS_MOUNT_H 18*4882a593Smuzhiyun #define _CIFS_MOUNT_H 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun /* Max string lengths for cifs mounting options. */ 21*4882a593Smuzhiyun #define CIFS_MAX_DOMAINNAME_LEN 256 /* max fully qualified domain name */ 22*4882a593Smuzhiyun #define CIFS_MAX_USERNAME_LEN 256 /* reasonable max for current servers */ 23*4882a593Smuzhiyun #define CIFS_MAX_PASSWORD_LEN 512 /* Windows max seems to be 256 wide chars */ 24*4882a593Smuzhiyun #define CIFS_MAX_SHARE_LEN 256 /* reasonable max share name length */ 25*4882a593Smuzhiyun #define CIFS_NI_MAXHOST 1024 /* max host name length (256 * 4 bytes) */ 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun #endif /* _CIFS_MOUNT_H */ 29