Lines Matching +full:ascii +full:- +full:based
1 /* SPDX-License-Identifier: LGPL-2.1 */
93 #define CIFS_SMALL_PATH 120 /* allows for (448-88)/3 */
156 #define SMBFLG_EXTD_LOCK 0x01 /* server supports lock-read write-unlock smb */
169 #define SMBFLG2_KNOWS_LONG_NAMES cpu_to_le16(1) /* can send long (non-8.3)
224 /* In summary - Relevant file */
263 /* IPC$ in ASCII */
300 #define ATTR_OFFLINE 0x1000 /* ie file not immediately available -
383 zero - we could mask the type byte off */
416 return (void *)smb + sizeof(*smb) + 2 * smb->WordCount; in BCC()
431 /* set the ByteCount for a SMB packet in little-endian */
474 * CIFS standards document, which this code is based on, may
513 /* followed by Domain name - if extended security is off */
580 __le16 CaseInsensitivePasswordLength; /* ASCII password len */
626 } __attribute__((packed)) old_req; /* pre-NTLM (LANMAN2.1) req format */
638 } __attribute__((packed)) old_resp; /* pre-NTLM (LANMAN2.1) response */
708 unsigned char Service[]; /* always ASCII, not Unicode */
721 unsigned char Service[]; /* always ASCII, not Unicode */
800 __u32 LastWriteTime; /* should be zero or -1 */
919 __u64 FileId; /* note no endian conversion - is opaque UniqueID */
963 /* For encoding of POSIX Open Request - see trans2 function 0x209 data struct */
1118 __u8 BufferFormat; /* 4 = ASCII or Unicode */
1138 __u8 BufferFormat; /* 4 = ASCII or Unicode */
1148 __u8 BufferFormat; /* 0x04 - only present if errored file follows */
1156 typedef struct smb_com_nt_rename_req { /* A5 - also used for create hardlink */
1162 __u8 BufferFormat; /* 4 = ASCII or Unicode */
1177 __u8 BufferFormat; /* 4 = ASCII */
1189 __u8 BufferFormat; /* 4 = ASCII */
1201 __u8 BufferFormat; /* 4 = ASCII */
1213 __u8 BufferFormat; /* 4 = ASCII */
1233 __u8 BufferFormat; /* 4 = ASCII */
1287 /* See MS-SMB 2.2.7.2.1.1 */
1549 __le16 SubCommand; /* 1st setup word - SetupCount words follow */
1757 __u16 Reserved2; /* parameter word reserved - present for infolevels > 100 */
1772 __u16 Reserved2; /* parameter word reserved - present for infolevels > 100 */
1930 __u32 length_of_sid_array; /* in bytes - may be zero */
1931 __u32 pad; /* reserved - MBZ */
2022 perhaps?) followed by one byte pad - doesn't
2146 #define CIFS_UNIX_POSIX_PATH_OPS_CAP 0x00000020 /* Allow new POSIX path based
2170 /* For undefined recommended transfer size return -1 in that field */
2183 /* For undefined Node fields or FSID return -1 */
2234 /* List of FileSystemAttributes - see 2.5.1 of MS-FSCC */
2262 char FileSystemName[52]; /* do not have to save this - get subset? */
2411 __le16 access_entry_count; /* access ACL - count of entries */
2412 __le16 default_entry_count; /* default ACL - count of entries */
2458 /* struct following varies based on requested level */
2488 __u32 ResumeKey; /* as with FileIndex - no need to convert */
2538 __le64 UniqueId; /* inode num - le since Samba puts ino in low 32 bit*/
2604 1) PosixCreateX - to set and return the mode, inode#, device info and
2605 perhaps add a CreateDevice - to create Pipes and other special .inodes
2607 2) Close - to return the last write time to do cache across close
2609 3) FindFirst return unique inode number - what about resume key, two
2611 4) Mkdir - set mode
2617 7) sendfile - handle based copy
2624 --------------------------------------
2641 SMB_SET_FILE_BASIC_INFO2 (setting times - BB can it be done via
2644 COPY (note support for copy across directories) - FUTURE, OPTIONAL
2645 setting/getting OS/2 EAs - FUTURE (BB can this handle
2646 setting Linux xattrs perfectly) - OPTIONAL
2647 dnotify - FUTURE, OPTIONAL
2648 quota - FUTURE, OPTIONAL
2655 -------------------------
2670 TRANS2_GET_DFS_REFERRAL - OPTIONAL but recommended
2671 T2_QFS_INFO QueryDevice/AttributeInfo - OPTIONAL
2678 based symlinks). For such a file to be recognized
2683 3) length field must be set to ASCII representation
2691 /* ASCII representation of length (4 bytes decimal) terminated by \n not null */
2694 /* md5 of valid subset of path ie path[0] through path[length-1] */