/**/ /***************************************************************************/ /** **/ /** © 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:26:26 by OpenVMS SDL EV3-3 */ /* Source: 24-FEB-1997 09:42:02 $1$DGA7274:[LIB_H.SRC]NSABDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $NSABDEF ***/ #ifndef __NSABDEF_LOADED #define __NSABDEF_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 the Non-discretionary Security Audit Block. */ /* */ /* The NSAB is the structure which is passed to the internal auditing entry */ /* point (NSA$AUDIT_EVENT) and contains a list of audit packets along with */ /* a couple of flags. */ /* */ #define NSAB$M_NONPAGED 0x1 #define NSAB$M_NUKENSAB 0x2 #define NSAB$C_HDR_LENGTH 72 #define NSAB$K_HDR_LENGTH 72 #define NSAB$S_NSABDEF 72 typedef struct _nsab { struct _nsab *nsab$l_flink; /* FLINK */ struct _nsab *nsab$l_blink; /* BLINK */ unsigned short int nsab$w_size; /* size of NSAB buffer */ unsigned char nsab$b_type; /* type of structure (DYN$C_NSAB) */ unsigned char nsab$b_subtype; /* subtype field (not used) */ int nsab$l_fill_1; /* Keep offsets compatible with previous */ /* incarnations */ __union { unsigned int nsab$l_flags; /* miscellaneous flags */ __struct { unsigned nsab$v_nonpaged : 1; /* message entry is non-paged pool */ unsigned nsab$v_nukensab : 1; /* force NSAB deallocation */ unsigned nsab$v_fill_2_ : 6; } nsab$r_fill_1_; } nsab$r_fill_0_; unsigned int nsab$l_supplied; /* supplied packet mask */ struct _nsab *nsab$l_baseaddr; /* address of NSAB to deallocate */ void *nsab$l_audit_block; /* address of audit buffer */ unsigned char nsab$b_acb [36]; /* ACB used to wake audit server */ unsigned int nsab$l_sender_epid; /* sender's EPID */ } NSAB; #if !defined(__VAXC) #define nsab$l_flags nsab$r_fill_0_.nsab$l_flags #define nsab$v_nonpaged nsab$r_fill_0_.nsab$r_fill_1_.nsab$v_nonpaged #define nsab$v_nukensab nsab$r_fill_0_.nsab$r_fill_1_.nsab$v_nukensab #endif /* #if !defined(__VAXC) */ #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 /* __NSABDEF_LOADED */