ReactOS  0.4.14-dev-317-g96040ec
rpc_defs.h File Reference
#include "pshpack1.h"
#include "poppack.h"
Include dependency graph for rpc_defs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  RpcPktCommonHdr
 
struct  RpcPktRequestHdr
 
struct  RpcPktResponseHdr
 
struct  RpcPktFaultHdr
 
struct  RpcContextElement
 
struct  RpcPktBindHdr
 
struct  RpcAddressString
 
struct  RpcResult
 
struct  RpcResultList
 
struct  RpcPktBindAckHdr
 
struct  RpcPktBindNAckHdr
 
struct  RpcPktHttpHdr
 
struct  RpcPktAuth3Hdr
 
union  RpcPktHdr
 
struct  RpcAuthVerifier
 

Macros

#define RPC_AUTH_VERIFIER_LEN(common_hdr)   ((common_hdr)->auth_len ? (common_hdr)->auth_len + sizeof(RpcAuthVerifier) : 0)
 
#define RPC_VER_MAJOR   5
 
#define RPC_VER_MINOR   0
 
#define RPC_FLG_FIRST   1
 
#define RPC_FLG_LAST   2
 
#define RPC_FLG_OBJECT_UUID   0x80
 
#define RPC_MIN_PACKET_SIZE   0x1000
 
#define RPC_MAX_PACKET_SIZE   0x16D0
 
#define RESULT_ACCEPT   0
 
#define RESULT_USER_REJECTION   1
 
#define RESULT_PROVIDER_REJECTION   2
 
#define REASON_NONE   0
 
#define REASON_ABSTRACT_SYNTAX_NOT_SUPPORTED   1
 
#define REASON_TRANSFER_SYNTAXES_NOT_SUPPORTED   2
 
#define REASON_LOCAL_LIMIT_EXCEEDED   3
 
#define REJECT_REASON_NOT_SPECIFIED   0
 
#define REJECT_TEMPORARY_CONGESTION   1
 
#define REJECT_LOCAL_LIMIT_EXCEEDED   2
 
#define REJECT_CALLED_PADDR_UNKNOWN   3 /* not used */
 
#define REJECT_PROTOCOL_VERSION_NOT_SUPPORTED   4
 
#define REJECT_DEFAULT_CONTEXT_NOT_SUPPORTED   5 /* not used */
 
#define REJECT_USER_DATA_NOT_READABLE   6 /* not used */
 
#define REJECT_NO_PSAP_AVAILABLE   7 /* not used */
 
#define REJECT_UNKNOWN_AUTHN_SERVICE   8
 
#define REJECT_INVALID_CHECKSUM   9
 
#define NCADG_IP_UDP   0x08
 
#define NCACN_IP_TCP   0x07
 
#define NCADG_IPX   0x0E
 
#define NCACN_SPX   0x0C
 
#define NCACN_NB_NB   0x12
 
#define NCACN_NB_IPX   0x0D
 
#define NCACN_DNET_NSP   0x04
 
#define NCACN_HTTP   0x1F
 
#define TWR_IP   0x09
 

Enumerations

enum  rpc_packet_type {
  PKT_REQUEST = 0, PKT_PING = 1, PKT_RESPONSE = 2, PKT_FAULT = 3,
  PKT_WORKING = 4, PKT_NOCALL = 5, PKT_REJECT = 6, PKT_ACK = 7,
  PKT_CL_CANCEL = 8, PKT_FACK = 9, PKT_CANCEL_ACK = 10, PKT_BIND = 11,
  PKT_BIND_ACK = 12, PKT_BIND_NACK = 13, PKT_ALTER_CONTEXT = 14, PKT_ALTER_CONTEXT_RESP = 15,
  PKT_AUTH3 = 16, PKT_SHUTDOWN = 17, PKT_CO_CANCEL = 18, PKT_ORPHANED = 19,
  PKT_HTTP = 20
}
 

Macro Definition Documentation

◆ NCACN_DNET_NSP

#define NCACN_DNET_NSP   0x04

Definition at line 237 of file rpc_defs.h.

◆ NCACN_HTTP

#define NCACN_HTTP   0x1F

Definition at line 238 of file rpc_defs.h.

◆ NCACN_IP_TCP

#define NCACN_IP_TCP   0x07

Definition at line 232 of file rpc_defs.h.

◆ NCACN_NB_IPX

#define NCACN_NB_IPX   0x0D

Definition at line 236 of file rpc_defs.h.

◆ NCACN_NB_NB

#define NCACN_NB_NB   0x12

Definition at line 235 of file rpc_defs.h.

◆ NCACN_SPX

#define NCACN_SPX   0x0C

Definition at line 234 of file rpc_defs.h.

◆ NCADG_IP_UDP

#define NCADG_IP_UDP   0x08

Definition at line 231 of file rpc_defs.h.

◆ NCADG_IPX

#define NCADG_IPX   0x0E

Definition at line 233 of file rpc_defs.h.

◆ REASON_ABSTRACT_SYNTAX_NOT_SUPPORTED

#define REASON_ABSTRACT_SYNTAX_NOT_SUPPORTED   1

Definition at line 216 of file rpc_defs.h.

◆ REASON_LOCAL_LIMIT_EXCEEDED

#define REASON_LOCAL_LIMIT_EXCEEDED   3

Definition at line 218 of file rpc_defs.h.

◆ REASON_NONE

#define REASON_NONE   0

Definition at line 215 of file rpc_defs.h.

◆ REASON_TRANSFER_SYNTAXES_NOT_SUPPORTED

#define REASON_TRANSFER_SYNTAXES_NOT_SUPPORTED   2

Definition at line 217 of file rpc_defs.h.

◆ REJECT_CALLED_PADDR_UNKNOWN

#define REJECT_CALLED_PADDR_UNKNOWN   3 /* not used */

Definition at line 223 of file rpc_defs.h.

◆ REJECT_DEFAULT_CONTEXT_NOT_SUPPORTED

#define REJECT_DEFAULT_CONTEXT_NOT_SUPPORTED   5 /* not used */

Definition at line 225 of file rpc_defs.h.

◆ REJECT_INVALID_CHECKSUM

#define REJECT_INVALID_CHECKSUM   9

Definition at line 229 of file rpc_defs.h.

◆ REJECT_LOCAL_LIMIT_EXCEEDED

#define REJECT_LOCAL_LIMIT_EXCEEDED   2

Definition at line 222 of file rpc_defs.h.

◆ REJECT_NO_PSAP_AVAILABLE

#define REJECT_NO_PSAP_AVAILABLE   7 /* not used */

Definition at line 227 of file rpc_defs.h.

◆ REJECT_PROTOCOL_VERSION_NOT_SUPPORTED

#define REJECT_PROTOCOL_VERSION_NOT_SUPPORTED   4

Definition at line 224 of file rpc_defs.h.

◆ REJECT_REASON_NOT_SPECIFIED

#define REJECT_REASON_NOT_SPECIFIED   0

Definition at line 220 of file rpc_defs.h.

◆ REJECT_TEMPORARY_CONGESTION

#define REJECT_TEMPORARY_CONGESTION   1

Definition at line 221 of file rpc_defs.h.

◆ REJECT_UNKNOWN_AUTHN_SERVICE

#define REJECT_UNKNOWN_AUTHN_SERVICE   8

Definition at line 228 of file rpc_defs.h.

◆ REJECT_USER_DATA_NOT_READABLE

#define REJECT_USER_DATA_NOT_READABLE   6 /* not used */

Definition at line 226 of file rpc_defs.h.

◆ RESULT_ACCEPT

#define RESULT_ACCEPT   0

Definition at line 211 of file rpc_defs.h.

◆ RESULT_PROVIDER_REJECTION

#define RESULT_PROVIDER_REJECTION   2

Definition at line 213 of file rpc_defs.h.

◆ RESULT_USER_REJECTION

#define RESULT_USER_REJECTION   1

Definition at line 212 of file rpc_defs.h.

◆ RPC_AUTH_VERIFIER_LEN

#define RPC_AUTH_VERIFIER_LEN (   common_hdr)    ((common_hdr)->auth_len ? (common_hdr)->auth_len + sizeof(RpcAuthVerifier) : 0)

Definition at line 173 of file rpc_defs.h.

◆ RPC_FLG_FIRST

#define RPC_FLG_FIRST   1

Definition at line 179 of file rpc_defs.h.

◆ RPC_FLG_LAST

#define RPC_FLG_LAST   2

Definition at line 180 of file rpc_defs.h.

◆ RPC_FLG_OBJECT_UUID

#define RPC_FLG_OBJECT_UUID   0x80

Definition at line 181 of file rpc_defs.h.

◆ RPC_MAX_PACKET_SIZE

#define RPC_MAX_PACKET_SIZE   0x16D0

Definition at line 184 of file rpc_defs.h.

◆ RPC_MIN_PACKET_SIZE

#define RPC_MIN_PACKET_SIZE   0x1000

Definition at line 183 of file rpc_defs.h.

◆ RPC_VER_MAJOR

#define RPC_VER_MAJOR   5

Definition at line 176 of file rpc_defs.h.

◆ RPC_VER_MINOR

#define RPC_VER_MINOR   0

Definition at line 177 of file rpc_defs.h.

◆ TWR_IP

#define TWR_IP   0x09

Definition at line 241 of file rpc_defs.h.

Enumeration Type Documentation

◆ rpc_packet_type

Enumerator
PKT_REQUEST 
PKT_PING 
PKT_RESPONSE 
PKT_FAULT 
PKT_WORKING 
PKT_NOCALL 
PKT_REJECT 
PKT_ACK 
PKT_CL_CANCEL 
PKT_FACK 
PKT_CANCEL_ACK 
PKT_BIND 
PKT_BIND_ACK 
PKT_BIND_NACK 
PKT_ALTER_CONTEXT 
PKT_ALTER_CONTEXT_RESP 
PKT_AUTH3 
PKT_SHUTDOWN 
PKT_CO_CANCEL 
PKT_ORPHANED 
PKT_HTTP 

Definition at line 186 of file rpc_defs.h.

187 {
188  PKT_REQUEST = 0,
189  PKT_PING = 1,
190  PKT_RESPONSE = 2,
191  PKT_FAULT = 3,
192  PKT_WORKING = 4,
193  PKT_NOCALL = 5,
194  PKT_REJECT = 6,
195  PKT_ACK = 7,
196  PKT_CL_CANCEL = 8,
197  PKT_FACK = 9,
198  PKT_CANCEL_ACK = 10,
199  PKT_BIND = 11,
200  PKT_BIND_ACK = 12,
201  PKT_BIND_NACK = 13,
202  PKT_ALTER_CONTEXT = 14,
204  PKT_AUTH3 = 16,
205  PKT_SHUTDOWN = 17,
206  PKT_CO_CANCEL = 18,
207  PKT_ORPHANED = 19,
208  PKT_HTTP = 20,
209 };