original files of m241
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: common.vxconfig,v $ $Revision: 1.3 $
|
||||
# $Source: /home/interpeak/CVSRoot/vxmux/config/common.vxconfig,v $
|
||||
# $Author: dlkrejsa $
|
||||
# $State: Exp $ $Locker: $
|
||||
#
|
||||
# INTERPEAK_COPYRIGHT_STRING
|
||||
|
||||
config COMPONENT_VXMUX
|
||||
bool
|
||||
default y
|
||||
help
|
||||
This configuration option is a placeholder and currently is invisible to the user, non-optional, and has no effect.
|
||||
@@ -0,0 +1,116 @@
|
||||
/*
|
||||
******************************************************************************
|
||||
* VXMUX USER CONFIGURATION FILE
|
||||
*
|
||||
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: vxmux_config.c,v $ $Revision: 1.1.1.1 $
|
||||
* $Source: /home/interpeak/CVSRoot/vxmux/config/vxmux_config.c,v $
|
||||
* $Author: dlkrejsa $
|
||||
* $State: Exp $ $Locker: $
|
||||
*
|
||||
* INTERPEAK_COPYRIGHT_STRING
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 1 DESCRIPTION
|
||||
****************************************************************************
|
||||
* User VXMUX configuration file.
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 2 CONFIGURATION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#undef VXMUX_SYSVAR
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 3 INCLUDE FILES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#include <ipcom_cstyle.h>
|
||||
|
||||
#include "vxmux_config.h"
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 4 DEFINES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 5 TYPES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 6 EXTERN PROTOTYPES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 7 LOCAL PROTOTYPES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
*===========================================================================
|
||||
* SYSTEM VARIABLES
|
||||
*===========================================================================
|
||||
*/
|
||||
|
||||
#ifdef VXMUX_SYSVAR
|
||||
IP_STATIC IP_CONST Ipcom_sysvar vxmux_conf_sysvar[] =
|
||||
{
|
||||
/*
|
||||
* Fake placeholder sysvar item.
|
||||
*/
|
||||
{ "vxmux.mem.NumPools", "0" },
|
||||
|
||||
{ IP_NULL, IP_NULL }
|
||||
};
|
||||
#endif /* VXMUX_SYSVAR */
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 7 PUBLIC FUNCTIONS
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
*===========================================================================
|
||||
* vxmux_configure
|
||||
*===========================================================================
|
||||
* Description: Configure VXMUX
|
||||
* Parameters: N/A
|
||||
* Returns: IPCOM_SUCCESS
|
||||
*
|
||||
*/
|
||||
IP_PUBLIC Ip_err
|
||||
vxmux_configure(void)
|
||||
{
|
||||
Ip_err retval;
|
||||
|
||||
#ifdef VXMUX_SYSVAR
|
||||
/* Set VXMUX system variables. */
|
||||
(void)ipcom_sysvar_setv(vxmux_conf_sysvar, 0);
|
||||
#endif
|
||||
|
||||
return IPCOM_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* END OF FILE
|
||||
****************************************************************************
|
||||
*/
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
******************************************************************************
|
||||
* VXMUX_CONFIG.H
|
||||
*
|
||||
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: vxmux_config.h,v $ $Revision: 1.2 $
|
||||
* $Source: /home/interpeak/CVSRoot/vxmux/config/vxmux_config.h,v $
|
||||
* $Author: dlkrejsa $ $Date: 2008-07-06 22:11:38 $
|
||||
* $State: Exp $ $Locker: $
|
||||
*
|
||||
* INTERPEAK_COPYRIGHT_STRING
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#ifndef VXMUX_CONFIG_H
|
||||
#define VXMUX_CONFIG_H
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 1 DESCRIPTION
|
||||
****************************************************************************
|
||||
*
|
||||
* Configuration for VXMUX. Parameters that are macros can only be changed
|
||||
* before compiling, variables can be changed before compiling and linking.
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 2 INCLUDE FILES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#include <ipcom_config.h>
|
||||
|
||||
#include <ipcom_type.h>
|
||||
#include <ipcom_cstyle.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 3 TYPES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 4 CONFIGURATION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
*===========================================================================
|
||||
* VXMUX_USE_PKT_POOL_MIN
|
||||
*===========================================================================
|
||||
* Define this macro if you wish to use END2 drivers in an image without
|
||||
* the IPNET stack. Do NOT define it if the image will include IPNET.
|
||||
*
|
||||
#define VXMUX_USE_PKT_POOL_MIN
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* VXMUX_CONFIG_H */
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* END OF FILE
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user