1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _FC_GS_H_ 20 #define _FC_GS_H_ 21 #include <linux/types.h> 22 struct fc_ct_hdr { 23 __u8 ct_rev; 24 __u8 ct_in_id[3]; 25 __u8 ct_fs_type; 26 __u8 ct_fs_subtype; 27 __u8 ct_options; 28 __u8 _ct_resvd1; 29 __be16 ct_cmd; 30 __be16 ct_mr_size; 31 __u8 _ct_resvd2; 32 __u8 ct_reason; 33 __u8 ct_explan; 34 __u8 ct_vendor; 35 }; 36 #define FC_CT_HDR_LEN 16 37 enum fc_ct_rev { 38 FC_CT_REV = 1 39 }; 40 enum fc_ct_fs_type { 41 FC_FST_ALIAS = 0xf8, 42 FC_FST_MGMT = 0xfa, 43 FC_FST_TIME = 0xfb, 44 FC_FST_DIR = 0xfc, 45 }; 46 enum fc_ct_cmd { 47 FC_FS_RJT = 0x8001, 48 FC_FS_ACC = 0x8002, 49 }; 50 enum fc_ct_reason { 51 FC_FS_RJT_CMD = 0x01, 52 FC_FS_RJT_VER = 0x02, 53 FC_FS_RJT_LOG = 0x03, 54 FC_FS_RJT_IUSIZ = 0x04, 55 FC_FS_RJT_BSY = 0x05, 56 FC_FS_RJT_PROTO = 0x07, 57 FC_FS_RJT_UNABL = 0x09, 58 FC_FS_RJT_UNSUP = 0x0b, 59 }; 60 enum fc_ct_explan { 61 FC_FS_EXP_NONE = 0x00, 62 FC_FS_EXP_PID = 0x01, 63 FC_FS_EXP_PNAM = 0x02, 64 FC_FS_EXP_NNAM = 0x03, 65 FC_FS_EXP_COS = 0x04, 66 FC_FS_EXP_FTNR = 0x07, 67 }; 68 #endif 69