fc_gs.h revision 655a7c081f83b8351ed5f11a6c6accd9458293a8
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>
22struct fc_ct_hdr {
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 __u8 ct_rev;
25 __u8 ct_in_id[3];
26 __u8 ct_fs_type;
27 __u8 ct_fs_subtype;
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 __u8 ct_options;
30 __u8 _ct_resvd1;
31 __be16 ct_cmd;
32 __be16 ct_mr_size;
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 __u8 _ct_resvd2;
35 __u8 ct_reason;
36 __u8 ct_explan;
37 __u8 ct_vendor;
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39};
40#define FC_CT_HDR_LEN 16
41enum fc_ct_rev {
42 FC_CT_REV = 1
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44};
45enum fc_ct_fs_type {
46 FC_FST_ALIAS = 0xf8,
47 FC_FST_MGMT = 0xfa,
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 FC_FST_TIME = 0xfb,
50 FC_FST_DIR = 0xfc,
51};
52enum fc_ct_cmd {
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 FC_FS_RJT = 0x8001,
55 FC_FS_ACC = 0x8002,
56};
57enum fc_ct_reason {
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 FC_FS_RJT_CMD = 0x01,
60 FC_FS_RJT_VER = 0x02,
61 FC_FS_RJT_LOG = 0x03,
62 FC_FS_RJT_IUSIZ = 0x04,
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 FC_FS_RJT_BSY = 0x05,
65 FC_FS_RJT_PROTO = 0x07,
66 FC_FS_RJT_UNABL = 0x09,
67 FC_FS_RJT_UNSUP = 0x0b,
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69};
70enum fc_ct_explan {
71 FC_FS_EXP_NONE = 0x00,
72 FC_FS_EXP_PID = 0x01,
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 FC_FS_EXP_PNAM = 0x02,
75 FC_FS_EXP_NNAM = 0x03,
76 FC_FS_EXP_COS = 0x04,
77 FC_FS_EXP_FTNR = 0x07,
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79};
80#endif
81