/**/ /***************************************************************************/ /** **/ /** © 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:38:01 by OpenVMS SDL EV3-3 */ /* Source: 24-FEB-2009 08:30:34 $1$DGA7274:[LIB_H.SRC]LANIDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $RHDRDEF ***/ #ifndef __RHDRDEF_LOADED #define __RHDRDEF_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 /*++ */ /* Receive buffer header definition. This structure is used by the driver */ /* to fake out the I/O system when the user passes a P5 parameter on a READ */ /* QIO. It will appear as a diagnostic buffer to the I/O system and is used */ /* to return the P5 data to the user. */ /*-- */ #define RHDR$T_DATA_AP 12 /* Start of data (addresses etc..) */ #define RHDR$B_DSAP 24 /* 802 DSAP */ #define RHDR$B_SSAP 25 /* 802 SSAP */ #define RHDR$C_LENGTH_ETH 26 /* Length of ETH structure */ #define RHDR$C_DATA_ETH 14 /* Size of ETH data */ #define RHDR$G_PID 27 /* Protocol Id follows 1-byte CTL */ #define RHDR$C_LENGTH_802 28 /* Length of 802 structure */ #define RHDR$C_DATA_802 16 /* Size of 802 data */ #define RHDR$C_LENGTH_802E 32 /* Length of 802E structure */ #define RHDR$C_DATA_802E 20 /* Size of 802E data */ typedef struct _rhdrdef { unsigned int rhdr$l_data; /* Pointer to start of data */ unsigned int rhdr$l_buffer; /* User buffer address */ unsigned short int rhdr$w_size; /* Size of structure */ unsigned char rhdr$b_type; /* Type of structure */ unsigned char rhdr$b_spare; /* Spare byte */ unsigned short int rhdr$g_dest [3]; /* Destination address */ unsigned short int rhdr$g_src [3]; /* Source address */ unsigned short int rhdr$w_type; /* Protocol type */ unsigned short int rhdr$w_ctl; /* 802 CTL */ unsigned int rhdr$l_res; /* Push structure size 4 bytes for 802E */ } RHDRDEF; #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 /* __RHDRDEF_LOADED */