summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/dcerpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'librpc/gen_ndr/dcerpc.h')
-rw-r--r--librpc/gen_ndr/dcerpc.h105
1 files changed, 104 insertions, 1 deletions
diff --git a/librpc/gen_ndr/dcerpc.h b/librpc/gen_ndr/dcerpc.h
index f05541c407..1c94468107 100644
--- a/librpc/gen_ndr/dcerpc.h
+++ b/librpc/gen_ndr/dcerpc.h
@@ -112,11 +112,114 @@ struct dcerpc_response {
DATA_BLOB stub_and_verifier;/* [flag(LIBNDR_FLAG_REMAINING)] */
};
+enum dcerpc_nca_status
+#ifndef USE_UINT_ENUMS
+ {
+ DERPC_NCA_S_COMM_FAILURE=(int)(0x1C010001),
+ DERPC_NCA_S_OP_RNG_ERROR=(int)(0x1C010002),
+ DERPC_NCA_S_UNKNOWN_IF=(int)(0x1C010003),
+ DERPC_NCA_S_WRONG_BOOT_TIME=(int)(0x1C010006),
+ DERPC_NCA_S_YOU_CRASHED=(int)(0x1C010009),
+ DERPC_NCA_S_PROTO_ERROR=(int)(0x1C01000B),
+ DERPC_NCA_S_OUT_ARGS_TOO_BIG=(int)(0x1C010013),
+ DERPC_NCA_S_SERVER_TOO_BUSY=(int)(0x1C010014),
+ DERPC_NCA_S_FAULT_STRING_TOO_LARGE=(int)(0x1C010015),
+ DERPC_NCA_S_UNSUPPORTED_TYPE=(int)(0x1C010017),
+ DERPC_NCA_S_FAULT_INT_DIV_BY_ZERO=(int)(0x1C000001),
+ DERPC_NCA_S_FAULT_ADDR_ERROR=(int)(0x1C000002),
+ DERPC_NCA_S_FAULT_FP_DIV_BY_ZERO=(int)(0x1C000003),
+ DERPC_NCA_S_FAULT_FP_UNDERFLOW=(int)(0x1C000004),
+ DERPC_NCA_S_FAULT_FP_OVERRFLOW=(int)(0x1C000005),
+ DERPC_NCA_S_FAULT_INVALID_TAG=(int)(0x1C000006),
+ DERPC_NCA_S_FAULT_INVALID_BOUND=(int)(0x1C000007),
+ DERPC_NCA_S_FAULT_RPC_VERSION_MISMATCH=(int)(0x1C000008),
+ DERPC_NCA_S_FAULT_UNSPEC_REJECT=(int)(0x1C000009),
+ DERPC_NCA_S_FAULT_BAD_ACTID=(int)(0x1C00000A),
+ DERPC_NCA_S_FAULT_WHO_ARE_YOU_FAILED=(int)(0x1C00000B),
+ DERPC_NCA_S_FAULT_MANAGER_NOT_ENTERED=(int)(0x1C00000C),
+ DERPC_NCA_S_FAULT_CANCEL=(int)(0x1C00000D),
+ DERPC_NCA_S_FAULT_ILL_INST=(int)(0x1C00000E),
+ DERPC_NCA_S_FAULT_FP_ERROR=(int)(0x1C00000F),
+ DERPC_NCA_S_FAULT_INT_OVERFLOW=(int)(0x1C000010),
+ DERPC_NCA_S_UNUSED_1C000011=(int)(0x1C000011),
+ DERPC_NCA_S_FAULT_UNSPEC=(int)(0x1C000012),
+ DERPC_NCA_S_FAULT_REMOTE_COMM_FAILURE=(int)(0x1C000013),
+ DERPC_NCA_S_FAULT_PIPE_EMPTY=(int)(0x1C000014),
+ DERPC_NCA_S_FAULT_PIPE_CLOSED=(int)(0x1C000015),
+ DERPC_NCA_S_FAULT_PIPE_ORDER=(int)(0x1C000016),
+ DERPC_NCA_S_FAULT_PIPE_DISCIPLINE=(int)(0x1C000017),
+ DERPC_NCA_S_FAULT_PIPE_COMM_ERROR=(int)(0x1C000018),
+ DERPC_NCA_S_FAULT_PIPE_MEMORY=(int)(0x1C000019),
+ DERPC_NCA_S_FAULT_CONTEXT_MISMATCH=(int)(0x1C00001A),
+ DERPC_NCA_S_FAULT_REMOTE_NO_MEMORY=(int)(0x1C00001B),
+ DERPC_NCA_S_INVALID_PRES_CONTEXT_ID=(int)(0x1C00001C),
+ DERPC_NCA_S_UNSUPPORTED_AUTHN_LEVEL=(int)(0x1C00001D),
+ DERPC_NCA_S_UNUSED_1C00001E=(int)(0x1C00001E),
+ DERPC_NCA_S_INVALID_CHECKSUM=(int)(0x1C00001F),
+ DERPC_NCA_S_INVALID_CRC=(int)(0x1C000020),
+ DERPC_NCA_S_FAULT_USER_DEFINED=(int)(0x1C000021),
+ DERPC_NCA_S_FAULT_TX_OPEN_FAILED=(int)(0x1C000022),
+ DERPC_NCA_S_FAULT_CODESET_CONV_ERROR=(int)(0x1C000023),
+ DERPC_NCA_S_FAULT_OBJECT_NOT_FOUND=(int)(0x1C000024),
+ DERPC_NCA_S_FAULT_NO_CLIENT_STUB=(int)(0x1C000025)
+}
+#else
+ { __donnot_use_enum_dcerpc_nca_status=0x7FFFFFFF}
+#define DERPC_NCA_S_COMM_FAILURE ( 0x1C010001 )
+#define DERPC_NCA_S_OP_RNG_ERROR ( 0x1C010002 )
+#define DERPC_NCA_S_UNKNOWN_IF ( 0x1C010003 )
+#define DERPC_NCA_S_WRONG_BOOT_TIME ( 0x1C010006 )
+#define DERPC_NCA_S_YOU_CRASHED ( 0x1C010009 )
+#define DERPC_NCA_S_PROTO_ERROR ( 0x1C01000B )
+#define DERPC_NCA_S_OUT_ARGS_TOO_BIG ( 0x1C010013 )
+#define DERPC_NCA_S_SERVER_TOO_BUSY ( 0x1C010014 )
+#define DERPC_NCA_S_FAULT_STRING_TOO_LARGE ( 0x1C010015 )
+#define DERPC_NCA_S_UNSUPPORTED_TYPE ( 0x1C010017 )
+#define DERPC_NCA_S_FAULT_INT_DIV_BY_ZERO ( 0x1C000001 )
+#define DERPC_NCA_S_FAULT_ADDR_ERROR ( 0x1C000002 )
+#define DERPC_NCA_S_FAULT_FP_DIV_BY_ZERO ( 0x1C000003 )
+#define DERPC_NCA_S_FAULT_FP_UNDERFLOW ( 0x1C000004 )
+#define DERPC_NCA_S_FAULT_FP_OVERRFLOW ( 0x1C000005 )
+#define DERPC_NCA_S_FAULT_INVALID_TAG ( 0x1C000006 )
+#define DERPC_NCA_S_FAULT_INVALID_BOUND ( 0x1C000007 )
+#define DERPC_NCA_S_FAULT_RPC_VERSION_MISMATCH ( 0x1C000008 )
+#define DERPC_NCA_S_FAULT_UNSPEC_REJECT ( 0x1C000009 )
+#define DERPC_NCA_S_FAULT_BAD_ACTID ( 0x1C00000A )
+#define DERPC_NCA_S_FAULT_WHO_ARE_YOU_FAILED ( 0x1C00000B )
+#define DERPC_NCA_S_FAULT_MANAGER_NOT_ENTERED ( 0x1C00000C )
+#define DERPC_NCA_S_FAULT_CANCEL ( 0x1C00000D )
+#define DERPC_NCA_S_FAULT_ILL_INST ( 0x1C00000E )
+#define DERPC_NCA_S_FAULT_FP_ERROR ( 0x1C00000F )
+#define DERPC_NCA_S_FAULT_INT_OVERFLOW ( 0x1C000010 )
+#define DERPC_NCA_S_UNUSED_1C000011 ( 0x1C000011 )
+#define DERPC_NCA_S_FAULT_UNSPEC ( 0x1C000012 )
+#define DERPC_NCA_S_FAULT_REMOTE_COMM_FAILURE ( 0x1C000013 )
+#define DERPC_NCA_S_FAULT_PIPE_EMPTY ( 0x1C000014 )
+#define DERPC_NCA_S_FAULT_PIPE_CLOSED ( 0x1C000015 )
+#define DERPC_NCA_S_FAULT_PIPE_ORDER ( 0x1C000016 )
+#define DERPC_NCA_S_FAULT_PIPE_DISCIPLINE ( 0x1C000017 )
+#define DERPC_NCA_S_FAULT_PIPE_COMM_ERROR ( 0x1C000018 )
+#define DERPC_NCA_S_FAULT_PIPE_MEMORY ( 0x1C000019 )
+#define DERPC_NCA_S_FAULT_CONTEXT_MISMATCH ( 0x1C00001A )
+#define DERPC_NCA_S_FAULT_REMOTE_NO_MEMORY ( 0x1C00001B )
+#define DERPC_NCA_S_INVALID_PRES_CONTEXT_ID ( 0x1C00001C )
+#define DERPC_NCA_S_UNSUPPORTED_AUTHN_LEVEL ( 0x1C00001D )
+#define DERPC_NCA_S_UNUSED_1C00001E ( 0x1C00001E )
+#define DERPC_NCA_S_INVALID_CHECKSUM ( 0x1C00001F )
+#define DERPC_NCA_S_INVALID_CRC ( 0x1C000020 )
+#define DERPC_NCA_S_FAULT_USER_DEFINED ( 0x1C000021 )
+#define DERPC_NCA_S_FAULT_TX_OPEN_FAILED ( 0x1C000022 )
+#define DERPC_NCA_S_FAULT_CODESET_CONV_ERROR ( 0x1C000023 )
+#define DERPC_NCA_S_FAULT_OBJECT_NOT_FOUND ( 0x1C000024 )
+#define DERPC_NCA_S_FAULT_NO_CLIENT_STUB ( 0x1C000025 )
+#endif
+;
+
struct dcerpc_fault {
uint32_t alloc_hint;
uint16_t context_id;
uint8_t cancel_count;
- uint32_t status;
+ enum dcerpc_nca_status status;
DATA_BLOB _pad;/* [flag(LIBNDR_FLAG_REMAINING)] */
};