/**/ /***************************************************************************/ /** **/ /** © 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:29 by OpenVMS SDL EV3-3 */ /* Source: 25-MAY-1993 09:17:03 $1$DGA7274:[LIB_H.SRC]SCSNETDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $SCSNETDEF ***/ #ifndef __SCSNETDEF_LOADED #define __SCSNETDEF_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 /*+ */ /* SCS CI PPD definitions */ /* */ /* This structure defines offsets and fields for SCS datagrams used in the */ /* datagram handshake between remote systems. The full format consists of */ /* a port heder (See Structure PPD) followed by these definitions. The origin */ /* of this field is the beginning of user data for a normal SCS datagram */ /* so that the PDT$L_DGHDRSZ may be used to determine the true origin of the */ /* packet. */ /*- */ #define SCSNET$C_START_LEN 62 /* Start dg length */ #define SCSNET$C_STACK_LEN 62 /* Stack dg length */ #define SCSNET$C_ACK_LEN 2 /* Ack dg length */ #define SCSNET$C_HSHUT_LEN 2 /* Host shutdown dg length */ #define SCSNET$C_CACHE_LEN 2 /* Cache clear marker length */ #define SCSNET$C_START 0 /* START DATAGRAM */ #define SCSNET$C_STACK 1 /* STACK DATAGRAM */ #define SCSNET$C_ACK 2 /* ACK DATAGRAM */ #define SCSNET$C_SCS_DG 3 /* SCS DATAGRAM */ #define SCSNET$C_SCS_MSG 4 /* SCS MESSAGE */ #define SCSNET$C_ELOG 5 /* ERROR LOG DATAGRAM */ #define SCSNET$C_HOSTSHUT 6 /* HOST SHUTDOWN DATAGRAM */ #define SCSNET$C_CACHECLR 32768 /* CACHE CLEAR MARKER MSG */ /* (8000 hex) */ #define SCSNET$C_PRT_BASE 0 /* 1st PPD Protocol Rev */ #define SCSNET$C_PRT_ELOG 1 /* 2nd rev, supports error */ /* log dgs and host shutdown. */ #define SCSNET$C_MIN_DGSIZ 48 /*Minimum allowed DG size, */ /* not including the SCS header. */ #define SCSNET$S_SCSNETDEF 80 /* Old size name - synonym */ typedef struct _scsnet { /* WARNING: aggregate has origin of -32 */ /* WARNING: aggregate element "scsnet$b_ppd" ignored */ /* WARNING: aggregate element "scsnet$w_length" ignored */ /* WARNING: aggregate element "" ignored */ /* WARNING: aggregate element "" ignored */ /* WARNING: aggregate element "" ignored */ /* WARNING: aggregate element "scsnet$w_mtype" ignored */ /* WARNING: aggregate element "scsnet$b_systemid" ignored */ /* WARNING: aggregate element "scsnet$b_protocol" ignored */ /* WARNING: aggregate element "scsnet$b_fill_1" ignored */ /* WARNING: aggregate element "scsnet$w_maxdg" ignored */ /* WARNING: aggregate element "scsnet$w_maxmsg" ignored */ char scsnet$t_swtype [4]; /* Software type */ char scsnet$t_swvers [4]; /* Software version */ unsigned __int64 scsnet$q_swincarn; /* Software incarnation # */ char scsnet$t_hwtype [4]; /* Hardware type */ unsigned char scsnet$b_hwvers [12]; /* Hardware version */ unsigned __int64 scsnet$q_nodename; /* Node Name */ unsigned __int64 scsnet$q_curtime; /* Current system time measured */ /* in 100 nsec units */ } SCSNET; #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 /* __SCSNETDEF_LOADED */