/**/ /***************************************************************************/ /** **/ /** © Copyright 2010, Hewlett-Packard Development Company, L.P. **/ /** **/ /** Confidential computer software. Valid license from HP and/or **/ /** its subsidiaries required for possession, use, or copying. **/ /** **/ /** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, **/ /** Computer Software Documentation, and Technical Data for Commercial **/ /** Items are licensed to the U.S. Government under vendor's standard **/ /** commercial license. **/ /** **/ /** Neither HP nor any of its subsidiaries shall be liable for technical **/ /** or editorial errors or omissions contained herein. The information **/ /** in this document is provided "as is" without warranty of any kind and **/ /** is subject to change without notice. The warranties for HP products **/ /** are set forth in the express limited warranty statements accompanying **/ /** such products. Nothing herein should be construed as constituting an **/ /** additional warranty. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:25:46 by OpenVMS SDL EV3-3 */ /* Source: 22-SEP-2005 09:24:10 $1$DGA7274:[LIB_H.SRC]MGTDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $MGTDEF ***/ #ifndef __MGTDEF_LOADED #define __MGTDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /* */ /* MGTHDR -- V1 Management header for managed object packets. */ /* */ #define MGTHDR$K_ACT_HDR_MAJOR 1 /* Major Rev. */ #define MGTHDR$K_ACT_HDR_MINOR 1 /* Minor Rev. */ #define MGTHDR$K_RSP_HDR_MAJOR 1 /* Major Rev. */ #define MGTHDR$K_RSP_HDR_MINOR 1 /* Minor Rev. */ #define MGTHDR$K_REG_REQ_MAJOR 1 /* Major Rev. */ #define MGTHDR$K_REG_REQ_MINOR 2 /* Minor Rev. */ #define MGTHDR$K_REG_RSP_MAJOR 1 /* Major Rev. */ #define MGTHDR$K_REG_RSP_MINOR 1 /* Minor Rev. */ #define MGTHDR$K_DEREG_REQ_MAJOR 1 /* Major Rev. */ #define MGTHDR$K_DEREG_REQ_MINOR 1 /* Minor Rev. */ #define MGTHDR$K_DEREG_RSP_MAJOR 1 /* Major Rev. */ #define MGTHDR$K_DEREG_RSP_MINOR 1 /* Minor Rev. */ #define MGTHDR$K_RIGHTS_MAJOR 1 /* Major Rev. */ #define MGTHDR$K_RIGHTS_MINOR 1 /* Minor Rev. */ #define MGTHDR$M_V 0x1 #define MGTHDR$M_MORE 0x2 #define MGTHDR$M_CONTINUATION 0x4 #define MGTHDR$K_BASE_HDR_LENGTH 16 /* Base Header length */ #define MGTHDR$C_BASE_HDR_LENGTH 16 /* Old VAX style length */ #define MGTHDR$K_ACT_HDR_V1_1_LEN 24 /* V1.1 Action header length */ #define MGTHDR$C_ACT_HDR_V1_1_LEN 24 /* V1.1 Action header length */ #define MGTHDR$K_ACT_HDR_LEN 24 /* Action header length */ #define MGTHDR$C_ACT_HDR_LEN 24 /* Old VAX style length */ #define MGTHDR$R_ACT_PAR 24 /* Beginning of Action parameters block */ #define MGTHDR$K_ACT_PAR_V1_1_LEN 0 /* V1.1 Action parameter length */ #define MGTHDR$C_ACT_PAR_V1_1_LEN 0 /* V1.1 Action parameter length */ #define MGTHDR$K_ACT_PAR_LEN 0 /* Action parameter length */ #define MGTHDR$C_ACT_PAR_LEN 0 /* Action parameter length */ #define MGTHDR$K_ACT_V1_1_LEN 24 /* V1.1 Action length */ #define MGTHDR$C_ACT_V1_1_LEN 24 /* V1.1 Action length */ #define MGTHDR$K_ACT_LEN 24 /* Action length */ #define MGTHDR$C_ACT_LEN 24 /* Action length */ #define MGTHDR$K_RSP_HDR_V1_1_LEN 24 /* V1.1 Response header length */ #define MGTHDR$C_RSP_HDR_V1_1_LEN 24 /* V1.1 Response header length */ #define MGTHDR$K_RSP_HDR_LEN 24 /* Response header length */ #define MGTHDR$C_RSP_HDR_LEN 24 /* Old VAX style length */ #define MGTHDR$R_RSP_PAR 24 /* Beginning of Response parameters block */ #define MGTHDR$K_RSP_PAR_V1_1_LEN 0 /* V1.1 Response parameter length */ #define MGTHDR$C_RSP_PAR_V1_1_LEN 0 /* V1.1 Response parameter length */ #define MGTHDR$K_RSP_PAR_LEN 0 /* Response parameter length */ #define MGTHDR$C_RSP_PAR_LEN 0 /* Response parameter length */ #define MGTHDR$K_RSP_V1_1_LEN 24 /* V1.1 Response length */ #define MGTHDR$C_RSP_V1_1_LEN 24 /* V1.1 Response length */ #define MGTHDR$K_RSP_LEN 24 /* Response length */ #define MGTHDR$C_RSP_LEN 24 /* Response length */ #define MGTHDR$K_CONT_HDR_V1_1_LEN 24 /* V1.1 Continuation header length */ #define MGTHDR$C_CONT_HDR_V1_1_LEN 24 /* V1.1 Continuation header length */ #define MGTHDR$K_CONT_HDR_LEN 24 /* Continuation header length */ #define MGTHDR$C_CONT_HDR_LEN 24 /* Old VAX style length */ #define MGTHDR$R_CONT_PAR 24 /* Beginning of Continuation parameters block */ #define MGTHDR$K_CONT_PAR_V1_1_LEN 0 /* V1.1 Continuation parameter length */ #define MGTHDR$C_CONT_PAR_V1_1_LEN 0 /* V1.1 Continuation parameter length */ #define MGTHDR$K_CONT_PAR_LEN 0 /* Continuation parameter length */ #define MGTHDR$C_CONT_PAR_LEN 0 /* Continuation parameter length */ #define MGTHDR$K_CONT_V1_1_LEN 24 /* V1.1 Continuation length */ #define MGTHDR$C_CONT_V1_1_LEN 24 /* V1.1 Continuation length */ #define MGTHDR$K_CONT_LEN 24 /* Continuation length */ #define MGTHDR$C_CONT_LEN 24 /* Continuation length */ #define MGTHDR$K_EVENT_HDR_V1_1_LEN 24 /* V1.1 Event header length */ #define MGTHDR$C_EVENT_HDR_V1_1_LEN 24 /* V1.1 Event header length */ #define MGTHDR$K_EVENT_HDR_LEN 24 /* Event header length */ #define MGTHDR$C_EVENT_HDR_LEN 24 /* Old VAX style length */ #define MGTHDR$R_EVENT_PAR 24 /* Beginning of Event parameters block */ #define MGTHDR$K_EVENT_PAR_V1_1_LEN 0 /* V1.1 Event parameter length */ #define MGTHDR$C_EVENT_PAR_V1_1_LEN 0 /* V1.1 Event parameter length */ #define MGTHDR$K_EVENT_PAR_LEN 0 /* Event parameter length */ #define MGTHDR$C_EVENT_PAR_LEN 0 /* Event parameter length */ #define MGTHDR$K_EVENT_V1_1_LEN 24 /* V1.1 Event length */ #define MGTHDR$C_EVENT_V1_1_LEN 24 /* V1.1 Event length */ #define MGTHDR$K_EVENT_LEN 24 /* Event length */ #define MGTHDR$C_EVENT_LEN 24 /* Event length */ #define MGTHDR$K_DEREG_REQ_HDR_V1_1_LEN 24 /* V1.1 Deregistration request header length */ #define MGTHDR$C_DEREG_REQ_HDR_V1_1_LEN 24 /* V1.1 Deregistration request header length */ #define MGTHDR$K_DEREG_REQ_HDR_LEN 24 /* Deregistration request header length */ #define MGTHDR$C_DEREG_REQ_HDR_LEN 24 /* Deregistration request header length */ #define MGTHDR$R_DEREG_REQ_PAR 24 /* Deregistration request parameters block */ #define MGTHDR$K_DEREG_REQ_PAR_V1_1_LEN 0 /* V1.1 Deregistration request parameter length */ #define MGTHDR$C_DEREG_REQ_PAR_V1_1_LEN 0 /* V1.1 Deregistration request parameter length */ #define MGTHDR$K_DEREG_REQ_PAR_LEN 0 /* Deregistration request parameter length */ #define MGTHDR$C_DEREG_REQ_PAR_LEN 0 /* Deregistration request parameter length */ #define MGTHDR$K_DEREG_REQ_V1_1_LEN 24 /* V1.1 Deregistration request length */ #define MGTHDR$C_DEREG_REQ_V1_1_LEN 24 /* V1.1 Deregistration request length */ #define MGTHDR$K_DEREG_REQ_LEN 24 /* Deregistration request length */ #define MGTHDR$C_DEREG_REQ_LEN 24 /* Deregistration request length */ #define MGTHDR$K_DEREG_RSP_HDR_V1_1_LEN 24 /* V1.1 Deregistration response header length */ #define MGTHDR$C_DEREG_RSP_HDR_V1_1_LEN 24 /* V1.1 Deregistration response header length */ #define MGTHDR$K_DEREG_RSP_HDR_LEN 24 /* Deregistration response header length */ #define MGTHDR$C_DEREG_RSP_HDR_LEN 24 /* Deregistration response header length */ #define MGTHDR$R_DEREG_RSP_OUTPUT 24 /* Deregistration response output block */ #define MGTHDR$K_DEREG_RSP_OUT_V1_1_LEN 0 /* V1.1 Deregistration response output length */ #define MGTHDR$C_DEREG_RSP_OUT_V1_1_LEN 0 /* V1.1 Deregistration response output length */ #define MGTHDR$K_DEREG_RSP_OUT_LEN 0 /* Deregistration response output length */ #define MGTHDR$C_DEREG_RSP_OUT_LEN 0 /* Deregistration response output length */ #define MGTHDR$K_DEREG_RSP_V1_1_LEN 24 /* V1.1 Deregistration response length */ #define MGTHDR$C_DEREG_RSP_V1_1_LEN 24 /* V1.1 Deregistration response length */ #define MGTHDR$K_DEREG_RSP_LEN 24 /* Deregistration response length */ #define MGTHDR$C_DEREG_RSP_LEN 24 /* Deregistration response length */ #define MGTHDR$K_RIGHTS_HDR_V1_1_LEN 24 /* V1.1 Access Rights header length */ #define MGTHDR$C_RIGHTS_HDR_V1_1_LEN 24 /* V1.1 Access Rights header length */ #define MGTHDR$K_RIGHTS_HDR_LEN 24 /* Access Rights header length */ #define MGTHDR$C_RIGHTS_HDR_LEN 24 /* Access Rights header length */ #define MGTHDR$R_RIGHTS_PAR 24 /* Access Rights parameters block */ #define MGTHDR$M_READ_ACCESS 0x1 #define MGTHDR$M_WRITE_ACCESS 0x2 #define MGTHDR$M_CONTROL_ACCESS 0x4 #define MGTHDR$K_RIGHTS_PAR_V1_1_LEN 8 /* V1.1 Access Rights parameter length */ #define MGTHDR$C_RIGHTS_PAR_V1_1_LEN 8 /* V1.1 Access Rights parameter length */ #define MGTHDR$K_RIGHTS_PAR_LEN 8 /* Access Rights parameter length */ #define MGTHDR$C_RIGHTS_PAR_LEN 8 /* Access Rights parameter length */ #define MGTHDR$K_RIGHTS_V1_1_LEN 32 /* V1.1 Access Rights length */ #define MGTHDR$C_RIGHTS_V1_1_LEN 32 /* V1.1 Access Rights length */ #define MGTHDR$K_RIGHTS_LEN 32 /* Access Rights length */ #define MGTHDR$C_RIGHTS_LEN 32 /* Access Rights length */ #define MGTHDR$K_REG_REQ_HDR_V1_1_LEN 24 /* V1.1 Registration request header length */ #define MGTHDR$C_REG_REQ_HDR_V1_1_LEN 24 /* V1.1 Registration request header length */ #define MGTHDR$K_REG_REQ_HDR_V1_2_LEN 24 /* V1.2 Registration request header length */ #define MGTHDR$C_REG_REQ_HDR_V1_2_LEN 24 /* V1.2 Registration request header length */ #define MGTHDR$K_REG_REQ_HDR_LEN 24 /* Registration request header length */ #define MGTHDR$C_REG_REQ_HDR_LEN 24 /* Registration request header length */ #define MGTHDR$R_REG_REQ_PAR 24 /* Registration request parameters block */ #define MGTHDR$K_REG_REQ_PAR_V1_1_LEN 56 /* V1.1 Registration request parameter length */ #define MGTHDR$C_REG_REQ_PAR_V1_1_LEN 56 /* V1.1 Registration request parameter length */ #define MGTHDR$K_REG_REQ_PAR_V1_2_LEN 56 /* V1.1 Registration request parameter length */ #define MGTHDR$C_REG_REQ_PAR_V1_2_LEN 56 /* V1.1 Registration request parameter length */ #define MGTHDR$K_REG_REQ_PAR_LEN 56 /* Registration request parameter length */ #define MGTHDR$C_REG_REQ_PAR_LEN 56 /* Registration request parameter length */ #define MGTHDR$K_REG_REQ_V1_1_LEN 80 /* V1.1 Registration request length */ #define MGTHDR$C_REG_REQ_V1_1_LEN 80 /* V1.1 Registration request length */ #define MGTHDR$K_REG_REQ_V1_2_LEN 80 /* V1.1 Registration request length */ #define MGTHDR$C_REG_REQ_V1_2_LEN 80 /* V1.1 Registration request length */ #define MGTHDR$K_REG_REQ_LEN 80 /* Registration request length */ #define MGTHDR$C_REG_REQ_LEN 80 /* Registration request length */ #define MGTHDR$K_REG_RSP_HDR_V1_1_LEN 24 /* V1.1 Registration response header length */ #define MGTHDR$C_REG_RSP_HDR_V1_1_LEN 24 /* V1.1 Registration response header length */ #define MGTHDR$K_REG_RSP_HDR_LEN 24 /* Registration response header length */ #define MGTHDR$C_REG_RSP_HDR_LEN 24 /* Registration response header length */ #define MGTHDR$R_REG_RSP_OUTPUT 24 /* Registration response output block */ #define MGTHDR$K_REG_RSP_OUT_V1_1_LEN 16 /* V1.1 Registration response output length */ #define MGTHDR$C_REG_RSP_OUT_V1_1_LEN 16 /* V1.1 Registration response output length */ #define MGTHDR$K_REG_RSP_OUT_LEN 16 /* Registration response output length */ #define MGTHDR$C_REG_RSP_OUT_LEN 16 /* Registration response output length */ #define MGTHDR$K_REG_RSP_V1_1_LEN 40 /* V1.1 Registration response length */ #define MGTHDR$C_REG_RSP_V1_1_LEN 40 /* V1.1 Registration response length */ #define MGTHDR$K_REG_RSP_LEN 40 /* Registration response length */ #define MGTHDR$C_REG_RSP_LEN 40 /* Registration response length */ typedef struct _mgthdr { __union { unsigned char mgthdr$b_hdr_len; /* Header Len in bytes */ __struct { unsigned mgthdr$v_rsvd_1 : 3; unsigned mgthdr$v_hdr_len_qw : 5; /* Length of data header in quadwords */ /* Also offset to object specific data */ } mgthdr$r_hdr1_fields; } mgthdr$r_hdr_len_overlay; __union { unsigned char mgthdr$b_flags; /* Header flags */ __struct { unsigned mgthdr$v_v : 1; /* Data Header is valid */ unsigned mgthdr$v_more : 1; /* Another mgt data header follows */ unsigned mgthdr$v_continuation : 1; /* Header for continuation data follows */ unsigned mgthdr$v_flags_mbz : 5; } mgthdr$r_flags_bits; } mgthdr$r_flags_overlay; unsigned char mgthdr$b_hdr_minor; /* Header Minor Revision */ unsigned char mgthdr$b_hdr_major; /* Header Major Revision */ unsigned char mgthdr$b_mgt_func; /* Record type code: */ /* (see MGT_FUNC constant section for codes) */ unsigned char mgthdr$b_rsp_status; /* Action: SBZ */ /* Response: status of performing action. */ unsigned short int mgthdr$w_par_len; /* Total length of REC_TYP records following */ unsigned int mgthdr$l_obj_handle; /* Registration Handle of destination MO */ unsigned int mgthdr$l_src_obj_handle; /* Registration Handle of source MO */ __union { /* Action, Response, and info Headers */ __struct { /* Action & Response headers */ unsigned char mgthdr$b_action; /* Managed Object action codes */ /* (see ACTION constant section for codes) */ unsigned char mgthdr$b_num_par_recs; /* Number of Parameter Records */ unsigned char mgthdr$b_par_minor; /* Minor Rev. of object specific params. */ unsigned char mgthdr$b_par_major; /* Major Rev. of object specific action_params. */ __union { unsigned int mgthdr$l_action_seq; /* Mgt station assigned action sequence number */ unsigned int mgthdr$l_action_ctx; /* Mgt station assigned action context */ } mgthdr$r_action_seq_ctx_overlay; __union { /* All structures need at least one member. Until */ /* the time that a structure has a member, it is defined */ /* before the structures that have members so that the */ /* "." operand has the right value. */ __struct { __union { unsigned int mgthdr$l_access_rights; /* Security access rights of the requestor */ __struct { unsigned mgthdr$v_read_access : 1; /* Able to request monitoring data */ unsigned mgthdr$v_write_access : 1; /* Able to request execution of fixes */ unsigned mgthdr$v_control_access : 1; /* Able to configure/change Managed Object */ unsigned mgthdr$v_rsvd : 29; } mgthdr$r_access_bits; } mgthdr$r_access_overlay; unsigned int mgthdr$l_src_obj_type; /* Source Object type */ /* (see SRC_OBJ_TYPE constant section for codes) */ } mgthdr$r_access_rts_hdr; __struct { unsigned char mgthdr$t_obj_name [32]; /* Node unique ASCIZ obj name */ unsigned char mgthdr$b_obj_minor; /* Managed Object minor version */ unsigned char mgthdr$b_obj_major; /* Managed Object major version */ char mgthdr$t_obj_fill [6]; /* Fill to quadword boundary */ __union { __struct { /* Kernel Mode objects: */ unsigned __int64 mgthdr$q_action_addr; /* $MGT_ACTION routine for */ /* kernel mode objects */ unsigned __int64 mgthdr$q_req_ctx; /* Request context value */ } mgthdr$r_reg_req_kernel_info; __struct { /* Process objects: */ /* MGT_AST information for process mode objects */ unsigned int mgthdr$l_ast_epid; /* EPID for ASTs */ unsigned int mgthdr$l_ast_rsvd; /* Reserved for quadword alignment */ } mgthdr$r_reg_req_user_info; __struct { /* Process Data Analyzers: */ /* DA_AST information for process mode data analyzers */ unsigned int mgthdr$l_da_ast_epid; /* EPID for ASTs */ unsigned int mgthdr$l_da_ast_rsvd; /* Reserved for quadword alignment */ unsigned char mgthdr$t_da_password [8]; /* AM Password */ } mgthdr$r_reg_req_local_da_info; } mgthdr$r_reg_req_kernel_user_da_ov; } mgthdr$r_reg_req_par_data; __struct { unsigned char mgthdr$b_rm_obj_minor; /* RMDriver's minor version */ unsigned char mgthdr$b_rm_obj_major; /* RMDriver's major version */ char mgthdr$t_rm_obj_fill [6]; /* Fill to quadword boundary */ __union { __struct { /* Kernel Mode objects: */ unsigned __int64 mgthdr$a_rm_mgt_action_addr; /* RMDriver's Management Action routine */ /* kernel mode objects */ } mgthdr$r_reg_rsp_kernel_info; } mgthdr$r_reg_rsp_kernel_user_da_ov; } mgthdr$r_reg_rsp_output_data; } mgthdr$r_par_overlay; } mgthdr$r_mgtactrspinfo; } mgthdr$r_actrspinfo_overlay; } MGTHDR; #if !defined(__VAXC) #define mgthdr$b_hdr_len mgthdr$r_hdr_len_overlay.mgthdr$b_hdr_len #define mgthdr$v_hdr_len_qw mgthdr$r_hdr_len_overlay.mgthdr$r_hdr1_fields.mgthdr$v_hdr_len_qw #define mgthdr$b_flags mgthdr$r_flags_overlay.mgthdr$b_flags #define mgthdr$v_v mgthdr$r_flags_overlay.mgthdr$r_flags_bits.mgthdr$v_v #define mgthdr$v_more mgthdr$r_flags_overlay.mgthdr$r_flags_bits.mgthdr$v_more #define mgthdr$v_continuation mgthdr$r_flags_overlay.mgthdr$r_flags_bits.mgthdr$v_continuation #define mgthdr$v_flags_mbz mgthdr$r_flags_overlay.mgthdr$r_flags_bits.mgthdr$v_flags_mbz #define mgthdr$b_action mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$b_action #define mgthdr$b_num_par_recs mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$b_num_par_recs #define mgthdr$b_par_minor mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$b_par_minor #define mgthdr$b_par_major mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$b_par_major #define mgthdr$l_action_seq mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_action_seq_ctx_overlay.mgthdr$l_action_seq #define mgthdr$l_action_ctx mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_action_seq_ctx_overlay.mgthdr$l_action_ctx #define mgthdr$l_access_rights mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_access_rts_hdr.mgth\ dr$r_access_overlay.mgthdr$l_access_rights #define mgthdr$v_read_access mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_access_rts_hdr.mgthdr\ $r_access_overlay.mgthdr$r_access_bits.mgthdr$v_read_access #define mgthdr$v_write_access mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_access_rts_hdr.mgthd\ r$r_access_overlay.mgthdr$r_access_bits.mgthdr$v_write_access #define mgthdr$v_control_access mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_access_rts_hdr.mgt\ hdr$r_access_overlay.mgthdr$r_access_bits.mgthdr$v_control_access #define mgthdr$l_src_obj_type mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_access_rts_hdr.mgthd\ r$l_src_obj_type #define mgthdr$t_obj_name mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_reg_req_par_data.mgthdr$\ t_obj_name #define mgthdr$b_obj_minor mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_reg_req_par_data.mgthdr\ $b_obj_minor #define mgthdr$b_obj_major mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_reg_req_par_data.mgthdr\ $b_obj_major #define mgthdr$q_action_addr mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_reg_req_par_data.mgth\ dr$r_reg_req_kernel_user_da_ov.mgthdr$r_reg_req_kernel_info.mgthdr$q_action_addr #define mgthdr$q_req_ctx mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_reg_req_par_data.mgthdr$r\ _reg_req_kernel_user_da_ov.mgthdr$r_reg_req_kernel_info.mgthdr$q_req_ctx #define mgthdr$l_ast_epid mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_reg_req_par_data.mgthdr$\ r_reg_req_kernel_user_da_ov.mgthdr$r_reg_req_user_info.mgthdr$l_ast_epid #define mgthdr$l_ast_rsvd mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_reg_req_par_data.mgthdr$\ r_reg_req_kernel_user_da_ov.mgthdr$r_reg_req_user_info.mgthdr$l_ast_rsvd #define mgthdr$l_da_ast_epid mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_reg_req_par_data.mgth\ dr$r_reg_req_kernel_user_da_ov.mgthdr$r_reg_req_local_da_info.mgthdr$l_da_ast_epid #define mgthdr$l_da_ast_rsvd mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_reg_req_par_data.mgth\ dr$r_reg_req_kernel_user_da_ov.mgthdr$r_reg_req_local_da_info.mgthdr$l_da_ast_rsvd #define mgthdr$t_da_password mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_reg_req_par_data.mgth\ dr$r_reg_req_kernel_user_da_ov.mgthdr$r_reg_req_local_da_info.mgthdr$t_da_password #define mgthdr$b_rm_obj_minor mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_reg_rsp_output_data.\ mgthdr$b_rm_obj_minor #define mgthdr$b_rm_obj_major mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_reg_rsp_output_data.\ mgthdr$b_rm_obj_major #define mgthdr$a_rm_mgt_action_addr mgthdr$r_actrspinfo_overlay.mgthdr$r_mgtactrspinfo.mgthdr$r_par_overlay.mgthdr$r_reg_rsp_output\ _data.mgthdr$r_reg_rsp_kernel_user_da_ov.mgthdr$r_reg_rsp_kernel_info.mgthdr$a_rm_mgt_action_addr #endif /* #if !defined(__VAXC) */ /* */ /* MGTHDRV2 -- V2 Management header for managed object packets. */ /* */ #define MGTHDRV2$K_REQ_HDR_MAJOR 2 /* Major Rev. */ #define MGTHDRV2$K_REQ_HDR_MINOR 1 /* Minor Rev. */ #define MGTHDRV2$K_RSP_HDR_MAJOR 2 /* Major Rev. */ #define MGTHDRV2$K_RSP_HDR_MINOR 1 /* Minor Rev. */ #define MGTHDRV2$K_CONT_HDR_MAJOR 2 /* Major Rev. */ #define MGTHDRV2$K_CONT_HDR_MINOR 1 /* Minor Rev. */ #define MGTHDRV2$K_EVENT_HDR_MAJOR 2 /* Major Rev. */ #define MGTHDRV2$K_EVENT_HDR_MINOR 1 /* Minor Rev. */ #define MGTHDRV2$K_RIGHTS_HDR_MAJOR 2 /* Major Rev. */ #define MGTHDRV2$K_RIGHTS_HDR_MINOR 1 /* Minor Rev. */ #define MGTHDRV2$K_CTX_HDR_MAJOR 2 /* Major Rev. */ #define MGTHDRV2$K_CTX_HDR_MINOR 1 /* Minor Rev. */ #define MGTHDRV2$K_EOD_HDR_MAJOR 2 /* Major Rev. */ #define MGTHDRV2$K_EOD_HDR_MINOR 1 /* Minor Rev. */ #define MGTHDRV2$K_OBJ_NAME_LEN 32 #define MGTHDRV2$C_OBJ_NAME_LEN 32 #define MGTHDRV2$M_V 0x1 #define MGTHDRV2$M_MORE 0x2 #define MGTHDRV2$M_CONTINUATION 0x4 #define MGTHDRV2$M_CONTEXT 0x8 #define MGTHDRV2$M_EOD 0x10 #define MGTHDRV2$K_MINI_HDR_V2_1_LENGTH 8 /* V2.1 Mini-Header length */ #define MGTHDRV2$C_MINI_HDR_V2_1_LENGTH 8 /* V2.1 Old VAX style length */ #define MGTHDRV2$K_MINI_HDR_LENGTH 8 /* Mini-Header length */ #define MGTHDRV2$C_MINI_HDR_LENGTH 8 /* Old VAX style length */ #define MGTHDRV2$K_EOD_HDR_V2_1_LEN 8 /* V2.1 EOD header length */ #define MGTHDRV2$C_EOD_HDR_V2_1_LEN 8 /* V2.1 Old VAX EOD header length */ #define MGTHDRV2$K_EOD_HDR_LEN 8 /* EOD header length */ #define MGTHDRV2$C_EOD_HDR_LEN 8 /* EOD header Old VAX style length */ #define MGTHDRV2$K_BASE_HDR_V2_1_LENGTH 16 /* V2.1 Base Header length */ #define MGTHDRV2$C_BASE_HDR_V2_1_LENGTH 16 /* V2.1 Old VAX style length */ #define MGTHDRV2$K_BASE_HDR_LENGTH 16 /* Base Header length */ #define MGTHDRV2$C_BASE_HDR_LENGTH 16 /* Old VAX style length */ #define MGTHDRV2$K_ACT_HDR_V2_1_LEN 24 /* V2.1 Action header length */ #define MGTHDRV2$C_ACT_HDR_V2_1_LEN 24 /* V2.1 Action header length */ #define MGTHDRV2$K_ACT_HDR_LEN 24 /* Action header length */ #define MGTHDRV2$C_ACT_HDR_LEN 24 /* Old VAX style length */ #define MGTHDRV2$R_ACT_PAR 24 /* Beginning of Action parameters block */ #define MGTHDRV2$K_RSP_HDR_V2_1_LEN 24 /* V2.1 Response header length */ #define MGTHDRV2$C_RSP_HDR_V2_1_LEN 24 /* V2.1 Response header length */ #define MGTHDRV2$K_RSP_HDR_LEN 24 /* Response header length */ #define MGTHDRV2$C_RSP_HDR_LEN 24 /* Old VAX style length */ #define MGTHDRV2$R_RSP_PAR 24 /* Beginning of Response parameters block */ #define MGTHDRV2$K_CONT_HDR_V2_1_LEN 24 /* V2.1 Continuation header length */ #define MGTHDRV2$C_CONT_HDR_V2_1_LEN 24 /* V2.1 Continuation header length */ #define MGTHDRV2$K_CONT_HDR_LEN 24 /* Continuation header length */ #define MGTHDRV2$C_CONT_HDR_LEN 24 /* Old VAX style length */ #define MGTHDRV2$R_CONT_PAR 24 /* Beginning of Continuation parameters block */ #define MGTHDRV2$K_EVENT_HDR_V2_1_LEN 24 /* V2.1 Event header length */ #define MGTHDRV2$C_EVENT_HDR_V2_1_LEN 24 /* V2.1 Event header length */ #define MGTHDRV2$K_EVENT_HDR_LEN 24 /* Event header length */ #define MGTHDRV2$C_EVENT_HDR_LEN 24 /* Old VAX style length */ #define MGTHDRV2$R_EVENT_PAR 24 /* Beginning of Event parameters block */ #define MGTHDRV2$K_RIGHTS_HDR_V2_1_LEN 24 /* V2.1 Access Rights header length */ #define MGTHDRV2$C_RIGHTS_HDR_V2_1_LEN 24 /* V2.1 Access Rights header length */ #define MGTHDRV2$K_RIGHTS_HDR_LEN 24 /* Access Rights header length */ #define MGTHDRV2$C_RIGHTS_HDR_LEN 24 /* Access Rights header length */ #define MGTHDRV2$R_RIGHTS_PAR 24 /* Access Rights parameters block */ #define MGTHDRV2$K_REG_REQ_HDR_V2_1_LEN 24 /* V2.1 Registration request header length */ #define MGTHDRV2$C_REG_REQ_HDR_V2_1_LEN 24 /* V2.1 Registration request header length */ #define MGTHDRV2$K_REG_REQ_HDR_V2_2_LEN 24 /* V2.1 Registration request header length */ #define MGTHDRV2$C_REG_REQ_HDR_V2_2_LEN 24 /* V2.1 Registration request header length */ #define MGTHDRV2$K_REG_REQ_HDR_LEN 24 /* Registration request header length */ #define MGTHDRV2$C_REG_REQ_HDR_LEN 24 /* Registration request header length */ #define MGTHDRV2$R_REG_REQ_PAR 24 /* Registration request parameters block */ #define MGTHDRV2$K_REG_RSP_HDR_V2_1_LEN 24 /* V2.1 Registration response header length */ #define MGTHDRV2$C_REG_RSP_HDR_V2_1_LEN 24 /* V2.1 Registration response header length */ #define MGTHDRV2$K_REG_RSP_HDR_LEN 24 /* Registration response header length */ #define MGTHDRV2$C_REG_RSP_HDR_LEN 24 /* Registration response header length */ #define MGTHDRV2$R_REG_RSP_PAR 24 /* Registration response output block */ typedef struct _mgthdrv2 { __union { unsigned char mgthdrv2$b_hdr_len; /* Header Len in bytes */ __struct { unsigned mgthdrv2$v_rsvd_1 : 3; unsigned mgthdrv2$v_hdr_len_qw : 5; /* Length of data header in quadwords */ /* Also offset to object specific data */ } mgthdrv2$r_hdr1_fields; } mgthdrv2$r_hdr_len_overlay; __union { unsigned char mgthdrv2$b_flags; /* Header flags */ __struct { unsigned mgthdrv2$v_v : 1; /* Data Header is valid */ unsigned mgthdrv2$v_more : 1; /* Another mgt data header follows */ unsigned mgthdrv2$v_continuation : 1; /* Header for continuation data follows */ /* Flags defined for V2.1 headers */ unsigned mgthdrv2$v_context : 1; /* Header for context data follows */ unsigned mgthdrv2$v_eod : 1; /* Mini-header for EOD record follows */ unsigned mgthdrv2$v_rsvd1 : 1; /* Reserved */ unsigned mgthdrv2$v_rsvd2 : 1; /* Reserved */ unsigned mgthdrv2$v_rsvd3 : 1; /* Reserved */ } mgthdrv2$r_flags_bits; } mgthdrv2$r_flags_overlay; unsigned char mgthdrv2$b_hdr_minor; /* Header Minor Revision */ unsigned char mgthdrv2$b_hdr_major; /* Header Major Revision */ unsigned char mgthdrv2$b_mgt_func; /* Record type code: */ /* (see MGT_FUNC constant section for codes) */ unsigned char mgthdrv2$b_rsp_status; /* Action: SBZ */ /* Response: status of performing action. */ unsigned short int mgthdrv2$w_par_len; /* Total length of REC_TYP records following in quadwords */ unsigned int mgthdrv2$l_obj_handle; /* Registration Handle of destination MO */ unsigned int mgthdrv2$l_src_obj_handle; /* Registration Handle of source MO */ __union { /* Action, Response, and info Headers */ __struct { /* Action & Response headers */ unsigned char mgthdrv2$b_action; /* Managed Object action codes */ /* (see ACTION constant section for codes) */ unsigned char mgthdrv2$b_num_par_recs; /* Number of Parameter Records */ unsigned char mgthdrv2$b_par_minor; /* Minor Rev. of object specific params. */ unsigned char mgthdrv2$b_par_major; /* Major Rev. of object specific action_params. */ __union { unsigned int mgthdrv2$l_action_seq; /* Mgt station assigned action sequence number */ unsigned int mgthdrv2$l_action_ctx; /* Mgt station assigned action context */ } mgthdrv2$r_action_seq_ctx_overlay; /* the time that a structure has a member, it is defined */ /* before the structures that have members so that the */ /* "." operand has the right value. */ } mgthdrv2$r_mgtactrspinfo; } mgthdrv2$r_actrspinfo_overlay; } MGTHDRV2; #if !defined(__VAXC) #define mgthdrv2$b_hdr_len mgthdrv2$r_hdr_len_overlay.mgthdrv2$b_hdr_len #define mgthdrv2$v_hdr_len_qw mgthdrv2$r_hdr_len_overlay.mgthdrv2$r_hdr1_fields.mgthdrv2$v_hdr_len_qw #define mgthdrv2$b_flags mgthdrv2$r_flags_overlay.mgthdrv2$b_flags #define mgthdrv2$v_v mgthdrv2$r_flags_overlay.mgthdrv2$r_flags_bits.mgthdrv2$v_v #define mgthdrv2$v_more mgthdrv2$r_flags_overlay.mgthdrv2$r_flags_bits.mgthdrv2$v_more #define mgthdrv2$v_continuation mgthdrv2$r_flags_overlay.mgthdrv2$r_flags_bits.mgthdrv2$v_continuation #define mgthdrv2$v_context mgthdrv2$r_flags_overlay.mgthdrv2$r_flags_bits.mgthdrv2$v_context #define mgthdrv2$v_eod mgthdrv2$r_flags_overlay.mgthdrv2$r_flags_bits.mgthdrv2$v_eod #define mgthdrv2$b_action mgthdrv2$r_actrspinfo_overlay.mgthdrv2$r_mgtactrspinfo.mgthdrv2$b_action #define mgthdrv2$b_num_par_recs mgthdrv2$r_actrspinfo_overlay.mgthdrv2$r_mgtactrspinfo.mgthdrv2$b_num_par_recs #define mgthdrv2$b_par_minor mgthdrv2$r_actrspinfo_overlay.mgthdrv2$r_mgtactrspinfo.mgthdrv2$b_par_minor #define mgthdrv2$b_par_major mgthdrv2$r_actrspinfo_overlay.mgthdrv2$r_mgtactrspinfo.mgthdrv2$b_par_major #define mgthdrv2$l_action_seq mgthdrv2$r_actrspinfo_overlay.mgthdrv2$r_mgtactrspinfo.mgthdrv2$r_action_seq_ctx_overlay.mgthdrv2$l_a\ ction_seq #define mgthdrv2$l_action_ctx mgthdrv2$r_actrspinfo_overlay.mgthdrv2$r_mgtactrspinfo.mgthdrv2$r_action_seq_ctx_overlay.mgthdrv2$l_a\ ction_ctx #endif /* #if !defined(__VAXC) */ /* */ /* MGT_FUNC constant section */ /* */ #define MGTHDR$K_REC_TYPE_RESERVED 0 /* 0 - Keep reserved to detect failure to fill in field */ #define MGTHDR$K_REC_TYPE_ACT_REQ 1 /* 1 - Request to act on managed object */ #define MGTHDR$K_REC_TYPE_ACT_RSP 2 /* 2 - Response to ACT_REQ request */ #define MGTHDR$K_REC_TYPE_ACT_CONT 3 /* 3 - Continuation info for preceeding action or response record */ #define MGTHDR$K_REC_TYPE_EVENT 4 /* 4 - Unsolicited event notification */ #define MGTHDR$K_REC_TYPE_ACCESS_RIGHTS 5 /* 5 - Requestor access rights */ /* End of codes defined in the MGTHDR V1.1 timeframe */ #define MGTHDR$K_REC_TYPE_ACT_CTX 6 /* 6 - Context info for request */ #define MGTHDR$K_REC_TYPE_EOD 7 /* 7 - End of data (uses mini-header only) */ #define MGTHDR$K_REC_TYPE_FIRST_UNUSED 8 /* Insert new constants ahead of this one */ #define MGTHDR$K_REC_TYPE_FIRST_CODE 0 /* First Management record type */ #define MGTHDR$K_REC_TYPE_V1_1_LASTCODE 5 /* Last Management record type for V1.1 headers */ #define MGTHDR$K_REC_TYPE_LAST_CODE 7 /* Last Management record type */ /* */ /* ACTION constant section */ /* */ /* RMDriver request codes for all other Managed Objects to process */ #define MOACT$K_MO_RESERVED 0 /* 0 - Keep reserved to detect failure to fill in field */ /* Last 15 codes are common between all Managed Objects */ /* RMDriver request codes for all other Managed Objects to process */ #define MOACT$K_MO_DRIVER_STOPPED 241 /* 241 - RMDriver has been stopped (informational) */ #define MOACT$K_MO_DRIVER_STARTED 242 /* 242 - RMDriver has been (re)started (informational) */ /* End of codes defined in the MGTHDR V1.1 timeframe */ /* NOTE! Can not have more than MO_num_common_codes entries! */ #define MOACT$K_MO_FIRST_CODE 0 /* First MO action code */ #define MOACT$K_MO_FIRST_COMMON_CODE 241 /* First MO common action code */ #define MOACT$K_MO_NUM_COMMON_CODES 15 /* Number of MO common action codes */ /* */ /* SRC_OBJ_TYPE constant section */ /* */ #define RMOBJ$K_RESERVED 0 /* Reserved for error checking */ #define RMOBJ$K_RMDRIVER 1 /* RMDRIVER itself */ #define RMOBJ$K_KERNEL_MO 2 /* Kernel-mode Managed Object */ #define RMOBJ$K_USER_MO 3 /* User-mode Managed Object */ #define RMOBJ$K_NETWORK_DA 4 /* Network Data Analyzer */ #define RMOBJ$K_LOCAL_DA 5 /* Local Data Analyzer */ /* End of codes defined in the MGTHDR V1.1 timeframe */ #define RMOBJ$K_FIRST_UNUSED 6 /* Insert new constants ahead of this one */ #define RMOBJ$K_FIRST_OBJ_TYPE 0 #define RMOBJ$K_V1_1_LAST_OBJ_TYPE 5 #define RMOBJ$K_LAST_OBJ_TYPE 5 #define RMOBJ$K_NUM_OBJ_TYPES 6 /* */ /* Standard Management function request and response data */ /* */ /* As of V2 of the Management Headers, the request and response data */ /* fields will be based off of the start of the parameter section, and */ /* not the beginning of the Management Header. */ /* */ /* */ /* Access rights parameter section */ /* */ #define MGTRTSV2$M_READ_ACCESS 0x1 #define MGTRTSV2$M_WRITE_ACCESS 0x2 #define MGTRTSV2$M_CONTROL_ACCESS 0x4 #define MGTRTSV2$K_RIGHTS_PAR_V2_1_LEN 8 /* V2.1 Access Rights parameter length */ #define MGTRTSV2$C_RIGHTS_PAR_V2_1_LEN 8 /* V2.1 Access Rights parameter length */ #define MGTRTSV2$K_RIGHTS_PAR_LEN 8 /* Access Rights parameter length */ #define MGTRTSV2$C_RIGHTS_PAR_LEN 8 /* Access Rights parameter length */ typedef struct _mgtrtsv2 { __union { unsigned int mgtrtsv2$l_access_rights; /* Security access rights of the requestor */ __struct { unsigned mgtrtsv2$v_read_access : 1; /* Able to request monitoring data */ unsigned mgtrtsv2$v_write_access : 1; /* Able to request execution of fixes */ unsigned mgtrtsv2$v_control_access : 1; /* Able to configure/change Managed Object */ unsigned mgtrtsv2$v_rsvd : 29; } mgtrtsv2$r_access_bits; } mgtrtsv2$r_access_overlay; unsigned int mgtrtsv2$l_src_obj_type; /* Source Object type */ /* (see SRC_OBJ_TYPE constant section for codes) */ } MGTRTSV2; #if !defined(__VAXC) #define mgtrtsv2$l_access_rights mgtrtsv2$r_access_overlay.mgtrtsv2$l_access_rights #define mgtrtsv2$v_read_access mgtrtsv2$r_access_overlay.mgtrtsv2$r_access_bits.mgtrtsv2$v_read_access #define mgtrtsv2$v_write_access mgtrtsv2$r_access_overlay.mgtrtsv2$r_access_bits.mgtrtsv2$v_write_access #define mgtrtsv2$v_control_access mgtrtsv2$r_access_overlay.mgtrtsv2$r_access_bits.mgtrtsv2$v_control_access #endif /* #if !defined(__VAXC) */ /* */ /* RMDAT -- RMDRIVER Managed Object and driver data for local Data Analyzers, etc. */ /* */ #define RMDAT$K_PAR_VER_MAJOR 1 /* Minor Rev. */ #define RMDAT$K_PAR_VER_MINOR 1 /* Major Rev. */ #define RMDAT$K_PAR_V1_1_LEN 8 /* V1.1 RMDRIVER data parameter length */ #define RMDAT$C_PAR_V1_1_LEN 8 /* V1.1 RMDRIVER data parameter length */ #define RMDAT$K_PAR_LEN 8 /* RMDRIVER data parameter length */ #define RMDAT$C_PAR_LEN 8 /* RMDRIVER data parameter length */ typedef struct _rmdat { unsigned int rmdat$l_obj_handle; /* RMDRIVER's Managed Object registration */ unsigned char rmdat$b_obj_minor; /* RMDRIVER's Managed Object minor version */ unsigned char rmdat$b_obj_major; /* RMDRIVER's Managed Object major version */ unsigned short int rmdat$w_cap_ver; /* RMDRIVER's capability version */ } RMDAT; /* */ /* Managed Object Registration parameter structures */ /* */ /* The next two structures are used by the MGT$REGISTER_KERNEL_MO */ /* One is for the input data to the routine, and the other is the */ /* output data from the routine. */ /* */ #define MGTKRREQ$K_OBJ_NAME_LEN 32 #define MGTKRREQ$K_OBJ_HDR_VER_MAX 8 /* Number of header versions */ /* handled by the Managed Object */ #define MGTKRREQ$K_V1_1_DATA_LEN 72 /* Reg req data length */ #define MGTKRREQ$C_V1_1_DATA_LEN 72 /* Old VAX style length */ typedef struct _mgtkrreq { unsigned char mgtkrreq$t_obj_name [32]; /* Node unique ASCIZ obj name */ unsigned char mgtkrreq$b_obj_minor; /* Managed Object minor version */ unsigned char mgtkrreq$b_obj_major; /* Managed Object major version */ char mgtkrreq$t_obj_fill [6]; /* Fill to quadword boundary */ /* Length to make quadword multiple */ unsigned short int mgtkrreq$w_obj_hdr_ver [8]; /* Array of header versions handled */ /* by Managed Object, terminated */ /* by 0x0000 */ __union { __struct { /* Kernel Mode objects on 64-bit processors: */ unsigned __int64 mgtkrreq$q_action_addr; /* $MGT_ACTION routine for */ /* kernel mode Managed Objects */ unsigned __int64 mgtkrreq$q_req_ctx; /* Request context value */ } mgtkrreq$r_reg_req_kernel_info_qw; __struct { /* Kernel Mode objects on 32-bit processors: */ unsigned int mgtkrreq$l_action_addr; /* $MGT_ACTION routine for */ /* kernel mode Managed Objects */ unsigned int mgtkrreq$l_action_addr_rsvd; /* Keep same spacing as QW structure */ unsigned int mgtkrreq$l_req_ctx; /* Request context value */ unsigned int mgtkrreq$l_req_ctx_rsvd; /* Keep same spacing as QW structure */ } mgtkrreq$r_reg_req_kernel_info_lw; } mgtkrreq$r_reg_req_kernel_info_ove; } MGTKRREQ; #if !defined(__VAXC) #define mgtkrreq$q_action_addr mgtkrreq$r_reg_req_kernel_info_ove.mgtkrreq$r_reg_req_kernel_info_qw.mgtkrreq$q_action_addr #define mgtkrreq$q_req_ctx mgtkrreq$r_reg_req_kernel_info_ove.mgtkrreq$r_reg_req_kernel_info_qw.mgtkrreq$q_req_ctx #define mgtkrreq$l_action_addr mgtkrreq$r_reg_req_kernel_info_ove.mgtkrreq$r_reg_req_kernel_info_lw.mgtkrreq$l_action_addr #define mgtkrreq$l_action_addr_rsvd mgtkrreq$r_reg_req_kernel_info_ove.mgtkrreq$r_reg_req_kernel_info_lw.mgtkrreq$l_action_addr_rsvd #define mgtkrreq$l_req_ctx mgtkrreq$r_reg_req_kernel_info_ove.mgtkrreq$r_reg_req_kernel_info_lw.mgtkrreq$l_req_ctx #define mgtkrreq$l_req_ctx_rsvd mgtkrreq$r_reg_req_kernel_info_ove.mgtkrreq$r_reg_req_kernel_info_lw.mgtkrreq$l_req_ctx_rsvd #endif /* #if !defined(__VAXC) */ #define MGTKRRSP$K_V1_1_DATA_LEN 32 /* Reg rsp data length */ #define MGTKRRSP$C_V1_1_DATA_LEN 32 /* Old VAX style length */ typedef struct _mgtkrrsp { unsigned char mgtkrrsp$b_rm_obj_minor; /* RMDriver's Managed Object minor version */ unsigned char mgtkrrsp$b_rm_obj_major; /* RMDriver's Managed Object major version */ char mgtkrrsp$t_obj_fill [6]; /* Fill to quadword boundary */ unsigned __int64 mgtkrrsp$q_rm_sec_token; /* Security token for accessing RMDriver functions */ __union { __struct { /* Kernel Mode objects on 64-bit processors: */ unsigned __int64 mgtkrrsp$q_action_addr; /* RMDriver's $MGT_ACTION routine */ /* for kernel mode objects */ } mgtkrrsp$r_reg_rsp_kernel_info_qw; __struct { /* Kernel Mode objects on 32-bit processors: */ unsigned int mgtkrrsp$l_action_addr; /* RMDriver's $MGT_ACTION routine */ /* for kernel mode objects */ unsigned int mgtkrrsp$l_action_addr_rsvd; /* Keep same spacing as QW structure */ } mgtkrrsp$r_reg_rsp_kernel_info_lw; } mgtkrrsp$r_reg_rsp_kernel_info_ove; unsigned int mgtkrrsp$l_obj_handle; /* Newly assigned Managed Object handle */ unsigned int mgtkrrsp$l_rm_obj_handle; /* RMDriver's Managed Object handle */ } MGTKRRSP; #if !defined(__VAXC) #define mgtkrrsp$q_action_addr mgtkrrsp$r_reg_rsp_kernel_info_ove.mgtkrrsp$r_reg_rsp_kernel_info_qw.mgtkrrsp$q_action_addr #define mgtkrrsp$l_action_addr mgtkrrsp$r_reg_rsp_kernel_info_ove.mgtkrrsp$r_reg_rsp_kernel_info_lw.mgtkrrsp$l_action_addr #define mgtkrrsp$l_action_addr_rsvd mgtkrrsp$r_reg_rsp_kernel_info_ove.mgtkrrsp$r_reg_rsp_kernel_info_lw.mgtkrrsp$l_action_addr_rsvd #endif /* #if !defined(__VAXC) */ /* */ /* Management common error codes */ /* Note: Managed Object specific codes start at 128 (MGT$K_STS_FIRST_PRIVATE_CODE) */ /* */ #define MGT$K_STS_RESERVED 0 /* Detect if this field has been set */ #define MGT$K_STS_SUCCESS 1 /* Make equal to SS$_NORMAL */ #define MGT$K_STS_HDR_NOT_ALIGNED 2 /* Request or response buffer not quadword aligned */ #define MGT$K_STS_HDR_NOT_VALID 3 /* Management header not valid */ #define MGT$K_STS_HDR_INCOMPAT 4 /* Incompatible header version */ #define MGT$K_STS_PAR_INCOMPAT 5 /* Incompatible parameter version */ #define MGT$K_STS_PAR_INVALID 6 /* Invalid parameter(s) */ #define MGT$K_STS_RSP_NO_ROOM 7 /* No room in response buffer */ #define MGT$K_STS_RSP_NOSAMEBUF 8 /* Using request buffer for response buffer is not implemented */ #define MGT$K_STS_RSP_RSVD2 9 /* Reserved response buffer error */ #define MGT$K_STS_REQ_NO_ROOM 10 /* No room in request buffer to quadword-align request */ #define MGT$K_STS_REQ_ACT_INVALID 11 /* Management Request action code is invalid (out of range) */ #define MGT$K_STS_REQ_ILLEGAL_DEST 12 /* Management Request for destination MO is illegal */ #define MGT$K_STS_REQ_RESERVED_DEST 13 /* Management Request for destination MO is reserved */ #define MGT$K_STS_REQ_UNIMPLEMENTED 14 /* Management Request action code is not implemented */ #define MGT$K_STS_REQ_NOPRIV 15 /* No privilege to execute Management Request */ #define MGT$K_STS_REQ_INVALID_PAR_LEN 16 /* Management Request parameter length invalid for particular action */ #define MGT$K_STS_REQ_INVALID_PAR_RECS 17 /* Management Request invalid number of parameter records */ #define MGT$K_STS_REQ_RSVD1 18 /* Reserved request buffer error */ #define MGT$K_STS_REQ_RSVD2 19 /* Reserved request buffer error */ #define MGT$K_STS_REQ_RSVD3 20 /* Reserved request buffer error */ #define MGT$K_STS_REQ_RSVD4 21 /* Reserved request buffer error */ #define MGT$K_STS_OBJ_HANDLE_INVALID 22 /* Managed Object handle is not valid */ #define MGT$K_STS_OBJ_HANDLE_NOTFOUND 23 /* Managed Object handle is not in the registration database */ #define MGT$K_STS_OBJ_HANDLE_STALE 24 /* Managed Object has reregistered, giving it a new object handle */ #define MGT$K_STS_OBJ_HANDLE_UPDATED 25 /* Managed Object just reregistered, updating the handle (success status) */ #define MGT$K_STS_OBJ_HANDLE_RSVD1 26 /* Reserved object handle error */ #define MGT$K_STS_OBJ_TYPE_INVALID 27 /* Managed Object type is not valid (out of range) */ #define MGT$K_STS_OBJ_TYPE_RESERVED 28 /* Managed Object type is reserved */ #define MGT$K_STS_OBJ_TYPE_RSVD1 29 /* Managed Object type error */ #define MGT$K_STS_OBJ_TYPE_RSVD2 30 /* Managed Object type error */ #define MGT$K_STS_OBJ_TYPE_RSVD3 31 /* Managed Object type error */ #define MGT$K_STS_OBJ_TYPE_RSVD4 32 /* Managed Object type error */ #define MGT$K_STS_CONT_INVALIDADD 33 /* Adding a continuation header to a Mgt packet set with a context header */ #define MGT$K_STS_CONT_INVALIDATT 34 /* Attaching a continuation packet to a Mgt packet set with a context header */ #define MGT$K_STS_CONT_INVALIDADR 35 /* Continuation packet address given for attach is not in at the end of the MO packet set */ #define MGT$K_STS_CONT_INVALIDHDR 36 /* Continuation header at the given address is not valid */ #define MGT$K_STS_CONT_RSVD1 37 /* Reserved cont header error */ #define MGT$K_STS_CONT_RSVD2 38 /* Reserved cont header error */ #define MGT$K_STS_CONT_DATA_INVALIDCOPY 39 /* Continuation data packet already found for dest MO packet set */ #define MGT$K_STS_CONT_DATA_INVALIDREPL 40 /* Continuation data packet doesn't exist for dest MO packet set */ #define MGT$K_STS_CONT_DATA_BADFORMAT 41 /* Continuation data format is invalid */ #define MGT$K_STS_CONT_DATA_INVALID 42 /* Continuation data value(s) is/are not valid */ /* */ /* The next three statuses indicate the result of trying to continue */ /* a data request. Basically, here is how the statuses relate */ /* to one another: */ /* */ /* STS_SUCCESS Continuation succeeded */ /* STS_CONT_DATA_CTX_FOUND_W Continuation continued with a warning */ /* STS_CONT_DATA_CTX_FOUND_E Continuation continued with an error */ /* STS_CONT_DATA_CTX_NOT_FND Continuation failed */ /* */ #define MGT$K_STS_CONT_DATA_CTX_FOUND_W 43 /* Context for using this continuation data has changed, but */ /* the place to continue the data collection has been found */ /* with some certainty. This is a "warning"-level status. */ /* This warning status would signal to the data collector of */ /* the possibility of these data collection irregularities. */ /* It is up to the data collector whether to continue this */ /* data collection or start a new one. */ #define MGT$K_STS_CONT_DATA_CTX_FOUND_E 44 /* Context for using this continuation data has changed, but */ /* the place to continue the data collection is a last-ditch */ /* effort. This is an "error"-level status. */ /* This error status would signal to the data collector that */ /* there is possibility of these data collection irregularities. */ /* It is up to the data collector whether to continue this */ /* data collection or start a new one. */ #define MGT$K_STS_CONT_DATA_CTX_NOT_FND 45 /* Context for using this continuation data is no longer valid, */ /* and cannot be recovered. A new request must be started */ /* to collect data. This is a "fatal error"-level status. */ #define MGT$K_STS_CONT_DATA_RSVD1 46 /* Continuation data error */ #define MGT$K_STS_CONT_DATA_RSVD2 47 /* Continuation data error */ #define MGT$K_STS_CONT_DATA_RSVD3 48 /* Continuation data error */ #define MGT$K_STS_SEC_INCOMPAT_PAR 49 /* Management Security buffer - incompatible parameter version */ #define MGT$K_STS_SEC_INVALID_PAR 50 /* Management Security buffer - invalid parameter(s) */ #define MGT$K_STS_SEC_ILLEGAL_PAR 51 /* Management Security buffer - illegal settings or */ /* combination of settings for the request */ #define MGT$K_STS_SEC_RSVD1 52 /* Management Security buffer - reserved */ #define MGT$K_STS_SEC_RSVD2 53 /* Management Security buffer - reserved */ #define MGT$K_STS_PKT_REP_INVSIZE 54 /* MO packet lengths != for replace */ #define MGT$K_STS_PKT_RSVD1 55 /* MO packet reserved */ #define MGT$K_STS_PKT_RSVD2 56 /* MO packet reserved */ #define MGT$K_STS_PKT_RSVD3 57 /* MO packet reserved */ #define MGT$K_STS_PKT_RSVD4 58 /* MO packet reserved */ #define MGT$K_STS_EOD_INVALIDADD 59 /* Adding an EOD header to a MO packet set with a continuation header */ /* or a context header */ #define MGT$K_STS_EOD_RSVD1 60 /* Reserved EOD header error */ #define MGT$K_STS_EOD_RSVD2 61 /* Reserved EOD header error */ #define MGT$K_STS_HDR_INFO_INVALID 62 /* MO header info is invalid */ #define MGT$K_STS_HDR_INFO_UNEXPECTED 63 /* MO header info is in an unexpected state */ #define MGT$K_STS_HDR_INFO_RSVD1 64 /* Reserved MO header info error */ #define MGT$K_STS_HDR_INFO_RSVD2 65 /* Reserved MO header info error */ #define MGT$K_STS_FIRST_PRIVATE_CODE 128 /* First code value for Managed Object private error codes */ /* */ /* Older constants for compatibility */ /* */ #define MGT$K_STS_NOT_ALIGNED 2 /* Request or response buffer not quadword aligned */ #define MGT$K_STS_INCOMPAT_HDR 4 /* Incompatible header version */ #define MGT$K_STS_INCOMPAT_PAR 5 /* Incompatible parameter version */ #define MGT$K_STS_INVALID_PAR 6 /* Invalid parameter(s) */ #define MGTHDR$K_OBJ_NAME_LEN 32 /* V1.1 header era definition */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __MGTDEF_LOADED */