/**/ /***************************************************************************/ /** **/ /** © 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 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 is structure is use 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 */