/**/ /***************************************************************************/ /** **/ /** © 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:53 by OpenVMS SDL EV3-3 */ /* Source: 23-JUL-2003 15:57:49 $1$DGA7274:[LIB_H.SRC]LANUDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $LDCDEF ***/ #ifndef __LDCDEF_LOADED #define __LDCDEF_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 /*++ */ /* LAN Device Characteristics structure */ /* */ /* This data structure is returned on a call to LAN$GET_DEVICE. It is */ /* embedded in the LSB. */ /*-- */ #define LDC$K_LENGTH 32 /* Length of LDC block */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif typedef struct _ldcdef { #pragma __nomember_alignment void *ldc$a_name; /* S-Address of a counted string */ /* containing the device name */ unsigned int ldc$l_type; /* Type of device - same as */ /* VCIB$W_DLL_TYPE */ __union { unsigned short int ldc$w_rcvsize; /* Number of entries in the receive ring */ unsigned int ldc$l_rcvsize; /* S-Number of entries in the receive ring */ } ldc$r_rcvsize_overlay; __union { unsigned char ldc$b_devtype; /* VMS Device type (from the UCB) */ unsigned int ldc$l_devtype; /* VMS Device type (from the UCB) */ } ldc$r_devtype_overlay; unsigned int ldc$l_mopid; /* S-MOP ID for this device */ unsigned int ldc$l_mopname; /* S-Counted string (always three */ /* characters) for MOP name */ unsigned int ldc$l_linespeed; /* Line speed (in megabits/sec) */ unsigned int ldc$l_devspeed; /* Device speed (in megabits/sec) */ /* Remember to make sure that this structure is an integral number of */ /* quadwords. That helps keep the LSB fields aligned. */ } LDCDEF; #if !defined(__VAXC) #define ldc$w_rcvsize ldc$r_rcvsize_overlay.ldc$w_rcvsize #define ldc$l_rcvsize ldc$r_rcvsize_overlay.ldc$l_rcvsize #define ldc$b_devtype ldc$r_devtype_overlay.ldc$b_devtype #define ldc$l_devtype ldc$r_devtype_overlay.ldc$l_devtype #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 /* __LDCDEF_LOADED */