/***************************************************************************/ /** **/ /** HPE CONFIDENTIAL. This software is confidential proprietary software **/ /** licensed by Hewlett-Packard Enterprise Development, LP, and is not **/ /** authorized to be used, duplicated OR disclosed to anyone without the **/ /** prior written permission of HPE. **/ /** © 2023 Copyright Hewlett-Packard Enterprise Development, LP **/ /** **/ /** VMS SOFTWARE, INC. CONFIDENTIAL. This software is confidential **/ /** proprietary software licensed by VMS Software, Inc., and is not **/ /** authorized to be used, duplicated or disclosed to anyone without **/ /** the prior written permission of VMS Software, Inc. **/ /** © 2023 Copyright VMS Software, Inc. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 9-Nov-2023 12:06:53 by OpenVMS SDL V3.7 */ /* Source: 16-JUL-1993 13:15:55 $1$DGA8345:[LIB_H.SRC]TLVDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $TLVDEF ***/ #ifndef __TLVDEF_LOADED #define __TLVDEF_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 /* Define the layout of a general purpose type-length-value structure which is */ /* used to pass a variety of data structures around the cluster. */ #define TLV$K_MAX_ORB_LENGTH 13312 #define TLV$K_MAX_ARB_LENGTH 8448 /* 8360 rounded up to %x2100 */ #define TLV$K_MAX_IDENTIFIERS 1024 /* maximum number of rights IDs */ #define TLV$S_CHECKSUM 8 /* header minus checksum */ #define TLV$K_MSG_HDR_LENGTH 24 /* message header length */ #define TLV$K_VERSION_1 1 /* version number 1 */ #define TLV$K_VERSION_2 2 /* version number 2 (Blade) */ #define TLV$K_CURRENT_VERSION 2 /* current protocol */ #define TLV$K_GRANULARITY 7 /* allocation granularity */ typedef struct _tlv$r_header { unsigned int tlv$l_checksum; /* checksum (includes header) */ unsigned int tlv$l_unused_l1; /* start of checksum */ unsigned int tlv$l_msg_size; /* message size */ unsigned short int tlv$w_msg_count; /* # of packets in message */ unsigned char tlv$b_version; /* TLV protocol version number */ unsigned char tlv$b_unused_b1; /* reserved for future use */ unsigned __int64 tlv$q_security_domain; /* security domain ($KGBDEF) */ } TLV$R_HEADER; #define TLV$K_PKT_HDR_LENGTH 4 /* packet header length */ typedef struct _tlv$r_packet { unsigned short int tlv$w_type; /* packet type */ unsigned short int tlv$w_length; /* packet length (including packet header) */ unsigned int tlv$r_value; /* offset to start of data */ } TLV$R_PACKET; #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 /* __TLVDEF_LOADED */