Lines Matching refs:cpu_to_le16

39 #define SMB2_NEGOTIATE		cpu_to_le16(SMB2_NEGOTIATE_HE)
40 #define SMB2_SESSION_SETUP cpu_to_le16(SMB2_SESSION_SETUP_HE)
41 #define SMB2_LOGOFF cpu_to_le16(SMB2_LOGOFF_HE)
42 #define SMB2_TREE_CONNECT cpu_to_le16(SMB2_TREE_CONNECT_HE)
43 #define SMB2_TREE_DISCONNECT cpu_to_le16(SMB2_TREE_DISCONNECT_HE)
44 #define SMB2_CREATE cpu_to_le16(SMB2_CREATE_HE)
45 #define SMB2_CLOSE cpu_to_le16(SMB2_CLOSE_HE)
46 #define SMB2_FLUSH cpu_to_le16(SMB2_FLUSH_HE)
47 #define SMB2_READ cpu_to_le16(SMB2_READ_HE)
48 #define SMB2_WRITE cpu_to_le16(SMB2_WRITE_HE)
49 #define SMB2_LOCK cpu_to_le16(SMB2_LOCK_HE)
50 #define SMB2_IOCTL cpu_to_le16(SMB2_IOCTL_HE)
51 #define SMB2_CANCEL cpu_to_le16(SMB2_CANCEL_HE)
52 #define SMB2_ECHO cpu_to_le16(SMB2_ECHO_HE)
53 #define SMB2_QUERY_DIRECTORY cpu_to_le16(SMB2_QUERY_DIRECTORY_HE)
54 #define SMB2_CHANGE_NOTIFY cpu_to_le16(SMB2_CHANGE_NOTIFY_HE)
55 #define SMB2_QUERY_INFO cpu_to_le16(SMB2_QUERY_INFO_HE)
56 #define SMB2_SET_INFO cpu_to_le16(SMB2_SET_INFO_HE)
57 #define SMB2_OPLOCK_BREAK cpu_to_le16(SMB2_OPLOCK_BREAK_HE)
59 #define SMB2_INTERNAL_CMD cpu_to_le16(0xFFFF)
108 cpu_to_le16(__SMB2_HEADER_STRUCTURE_SIZE)
162 #define SMB2_ERROR_STRUCTURE_SIZE2_LE cpu_to_le16(SMB2_ERROR_STRUCTURE_SIZE2)
227 #define SMB2_REMOTED_IDENTITY_TREE_CONNECT_CONTEXT_ID cpu_to_le16(0x0001)
301 #define SMB2_TREE_CONNECT_FLAG_CLUSTER_RECONNECT cpu_to_le16(0x0001)
302 #define SMB2_TREE_CONNECT_FLAG_REDIRECT_TO_OWNER cpu_to_le16(0x0002)
303 #define SMB2_TREE_CONNECT_FLAG_EXTENSION_PRESENT cpu_to_le16(0x0004)
378 #define SMB2_NEGOTIATE_SIGNING_ENABLED_LE cpu_to_le16(0x0001)
380 #define SMB2_NEGOTIATE_SIGNING_REQUIRED_LE cpu_to_le16(0x0002)
410 #define SMB2_PREAUTH_INTEGRITY_SHA512 cpu_to_le16(0x0001)
414 #define SMB2_PREAUTH_INTEGRITY_CAPABILITIES cpu_to_le16(1)
415 #define SMB2_ENCRYPTION_CAPABILITIES cpu_to_le16(2)
416 #define SMB2_COMPRESSION_CAPABILITIES cpu_to_le16(3)
417 #define SMB2_NETNAME_NEGOTIATE_CONTEXT_ID cpu_to_le16(5)
418 #define SMB2_TRANSPORT_CAPABILITIES cpu_to_le16(6)
419 #define SMB2_RDMA_TRANSFORM_CAPABILITIES cpu_to_le16(7)
420 #define SMB2_SIGNING_CAPABILITIES cpu_to_le16(8)
421 #define SMB2_POSIX_EXTENSIONS_AVAILABLE cpu_to_le16(0x100)
450 #define SMB2_ENCRYPTION_AES128_CCM cpu_to_le16(0x0001)
451 #define SMB2_ENCRYPTION_AES128_GCM cpu_to_le16(0x0002)
452 #define SMB2_ENCRYPTION_AES256_CCM cpu_to_le16(0x0003)
453 #define SMB2_ENCRYPTION_AES256_GCM cpu_to_le16(0x0004)
467 #define SMB3_COMPRESS_NONE cpu_to_le16(0x0000)
468 #define SMB3_COMPRESS_LZNT1 cpu_to_le16(0x0001)
469 #define SMB3_COMPRESS_LZ77 cpu_to_le16(0x0002)
470 #define SMB3_COMPRESS_LZ77_HUFF cpu_to_le16(0x0003)
472 #define SMB3_COMPRESS_PATTERN cpu_to_le16(0x0004) /* Pattern_V1 */
544 #define SIGNING_ALG_HMAC_SHA256_LE cpu_to_le16(0)
546 #define SIGNING_ALG_AES_CMAC_LE cpu_to_le16(1)
548 #define SIGNING_ALG_AES_GMAC_LE cpu_to_le16(2)
624 #define SMB2_SESSION_FLAG_IS_GUEST_LE cpu_to_le16(0x0001)
626 #define SMB2_SESSION_FLAG_IS_NULL_LE cpu_to_le16(0x0002)
628 #define SMB2_SESSION_FLAG_ENCRYPT_DATA_LE cpu_to_le16(0x0004)
660 #define SMB2_CLOSE_FLAG_POSTQUERY_ATTRIB cpu_to_le16(0x0001)