/***************************************************************************/ /** **/ /** 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:07:55 by OpenVMS SDL V3.7 */ /* Source: 03-DEC-2022 15:38:09 $1$DGA8345:[LIB_H.SRC]LANIDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE VLANDATADEF ***/ #ifndef __VLANDATADEF_LOADED #define __VLANDATADEF_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 /* SDL has a bug which causes the BLISSF file to produce invalid VLD fields (missing commas). */ /* Workaround is to not allow it to produce a BLISSF definition for the LSB. */ /* */ /* This structure is used to send commands between LANCP and the VLAN driver. */ /* */ #define VLD$C_VTAG_OFFSET 16 #define VLD$C_VFLAGS_OFFSET 20 #define VLD$C_BIND 256 /* BIND to a physical device */ #define VLD$C_UNBIND 257 /* UNBIND it */ #define VLD$C_DESCRIPTION 258 /* Update the description field */ #define VLD$C_UNTCNT_OFFSET 24 #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 _vdata { #pragma __nomember_alignment __union { unsigned __int64 vld$q_physical_device [2]; /* Physical device name */ char vld$t_physdev_name [16]; /* Physical device name */ } vld$r_phydev; unsigned int vld$l_vtag; __union { unsigned int vld$l_command; /* LANCP command to execute */ unsigned int vld$l_vflags; /* Return value from the driver */ } vld$r_cmdu; unsigned int vld$l_untcnt; /* Unit count, how many clients connected */ char vld$b_fill_19_ [4]; } VDATA; #if !defined(__VAXC) #define vld$q_physical_device vld$r_phydev.vld$q_physical_device #define vld$t_physdev_name vld$r_phydev.vld$t_physdev_name #define vld$l_command vld$r_cmdu.vld$l_command #define vld$l_vflags vld$r_cmdu.vld$l_vflags #endif /* #if !defined(__VAXC) */ #define VLD$C_LENGTH 32 #define VLD$K_LENGTH 32 #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 /* __VLANDATADEF_LOADED */