blob: 05b6c528f24939c823bddd0d66a3046204a9c282 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
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>
22struct fc_ct_hdr {
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080024 __u8 ct_rev;
25 __u8 ct_in_id[3];
26 __u8 ct_fs_type;
27 __u8 ct_fs_subtype;
Ben Cheng655a7c02013-10-16 16:09:24 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029 __u8 ct_options;
30 __u8 _ct_resvd1;
31 __be16 ct_cmd;
32 __be16 ct_mr_size;
Ben Cheng655a7c02013-10-16 16:09:24 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 __u8 _ct_resvd2;
35 __u8 ct_reason;
36 __u8 ct_explan;
37 __u8 ct_vendor;
Ben Cheng655a7c02013-10-16 16:09:24 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39};
40#define FC_CT_HDR_LEN 16
41enum fc_ct_rev {
Tao Baod7db5942015-01-28 10:07:51 -080042 FC_CT_REV = 1
Ben Cheng655a7c02013-10-16 16:09:24 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44};
45enum fc_ct_fs_type {
Tao Baod7db5942015-01-28 10:07:51 -080046 FC_FST_ALIAS = 0xf8,
47 FC_FST_MGMT = 0xfa,
Ben Cheng655a7c02013-10-16 16:09:24 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080049 FC_FST_TIME = 0xfb,
50 FC_FST_DIR = 0xfc,
Ben Cheng655a7c02013-10-16 16:09:24 -070051};
52enum fc_ct_cmd {
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080054 FC_FS_RJT = 0x8001,
55 FC_FS_ACC = 0x8002,
Ben Cheng655a7c02013-10-16 16:09:24 -070056};
57enum fc_ct_reason {
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080059 FC_FS_RJT_CMD = 0x01,
60 FC_FS_RJT_VER = 0x02,
61 FC_FS_RJT_LOG = 0x03,
62 FC_FS_RJT_IUSIZ = 0x04,
Ben Cheng655a7c02013-10-16 16:09:24 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080064 FC_FS_RJT_BSY = 0x05,
65 FC_FS_RJT_PROTO = 0x07,
66 FC_FS_RJT_UNABL = 0x09,
67 FC_FS_RJT_UNSUP = 0x0b,
Ben Cheng655a7c02013-10-16 16:09:24 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69};
70enum fc_ct_explan {
Tao Baod7db5942015-01-28 10:07:51 -080071 FC_FS_EXP_NONE = 0x00,
72 FC_FS_EXP_PID = 0x01,
Ben Cheng655a7c02013-10-16 16:09:24 -070073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080074 FC_FS_EXP_PNAM = 0x02,
75 FC_FS_EXP_NNAM = 0x03,
76 FC_FS_EXP_COS = 0x04,
77 FC_FS_EXP_FTNR = 0x07,
Ben Cheng655a7c02013-10-16 16:09:24 -070078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79};
80#endif