/**/ /******************************************************************************/ /** **/ /** Copyright © 1996 Digital Equipment Corporation. **/ /** All rights reserved. **/ /** **/ /** Redistribution and use in source and binary forms are permitted **/ /** provided that the above copyright notice and this paragraph are **/ /** duplicated in all such forms and that any documentation, **/ /** advertising materials, and other materials related to such **/ /** distribution and use acknowledge that the software was developed **/ /** by Digital Equipment Corporation. The name of the **/ /** Corporation may not be used to endorse or promote products derived **/ /** from this software without specific prior written permission. **/ /** THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR **/ /** IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED **/ /** WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. **/ /** **/ /******************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-MAR-1996 14:55:35 by OpenVMS SDL EV1-36 */ /* Source: 30-MAR-1996 14:49:38 EVMS$:[PPPDRV.SRC]PPP_VCI_IF.SDL;4 */ /********************************************************************************************************************************/ /*** MODULE $PPP_VCI_IF ***/ #ifndef __PPP_VCI_IF_LOADED #define __PPP_VCI_IF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __member_alignment #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /* */ /* Define events that can be reported */ /* */ #define PPPD$K_PORT_FAILED 0 #define PPPD$K_PORT_USABLE 1 #define PPPD$K_PORT_UNUSABLE 2 /* */ /* Define reasons for events */ /* */ #define PPPD$K_DEV_FAILED 0 #define PPPD$K_LCP_FAILED 1 #define PPPD$K_LINE_DELETED 2 #define PPPD$K_NCP_FAILED 3 #define PPPD$K_NO_REASON 4 /* */ /* Define item codes for Enable */ /* */ #define PPPD$K_NAME 0 #define PPPD$K_PROTOCOL 1 /* */ /* Define the PPP vcib */ /* */ #define VCIB$K_PPP_VCIB_FIXED_LENGTH 68 typedef struct _vcibpppdef { struct VCIBDEF vcib$r_vcibdef; void *vcib$a_ppp_port_id; /* port associated with the vcib */ char vcib$b_ppp_fcs_size; /* # of bytes to leave for FCS */ char vcib$b_ppp_hdr_size; /* # of bytes to leave for header */ short int vcib$w_ppp_mtu; /* max. bytes of data in a packet */ } VCIBPPPDEF; /* */ /* Define the stucture containing the create/delete routines */ /* */ typedef struct _vcirtns { int (*createport)(); /* Create port routine */ int (*deleteport)(); /* Delete port routine */ } VCIRTNS; #pragma __member_alignment __restore #ifdef __cplusplus } #endif #pragma __standard #endif /* __PPP_VCI_IF_LOADED */