diff options
| author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
|---|---|---|
| committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
| commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
| tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /include/linux/ncp_no.h | |
| parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) | |
Diffstat (limited to 'include/linux/ncp_no.h')
| -rw-r--r-- | include/linux/ncp_no.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/ncp_no.h b/include/linux/ncp_no.h new file mode 100644 index 00000000000..cddaa48fb18 --- /dev/null +++ b/include/linux/ncp_no.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | #ifndef _NCP_NO | ||
| 2 | #define _NCP_NO | ||
| 3 | |||
| 4 | /* these define the attribute byte as seen by NCP */ | ||
| 5 | #define aRONLY (__cpu_to_le32(1)) | ||
| 6 | #define aHIDDEN (__cpu_to_le32(2)) | ||
| 7 | #define aSYSTEM (__cpu_to_le32(4)) | ||
| 8 | #define aEXECUTE (__cpu_to_le32(8)) | ||
| 9 | #define aDIR (__cpu_to_le32(0x10)) | ||
| 10 | #define aARCH (__cpu_to_le32(0x20)) | ||
| 11 | #define aSHARED (__cpu_to_le32(0x80)) | ||
| 12 | #define aDONTSUBALLOCATE (__cpu_to_le32(1L<<11)) | ||
| 13 | #define aTRANSACTIONAL (__cpu_to_le32(1L<<12)) | ||
| 14 | #define aPURGE (__cpu_to_le32(1L<<16)) | ||
| 15 | #define aRENAMEINHIBIT (__cpu_to_le32(1L<<17)) | ||
| 16 | #define aDELETEINHIBIT (__cpu_to_le32(1L<<18)) | ||
| 17 | #define aDONTCOMPRESS (__cpu_to_le32(1L<<27)) | ||
| 18 | |||
| 19 | #endif /* _NCP_NO */ | ||
