📄 txc_envoy_pkt_ctrl_support.h
字号:
/*--------------------------------------------------------------------------
******* ****
* ***** ** * * * * * * ***** **** * *
* * * * * ** * * * * * * * * * *
* * * * * * * * **** * * * * * ******
* ***** ****** * * * * * ** * * * * * *
* * * * * * ** * * ** ** * * * * * *
* * * * * * * **** * * * * **** * *
Proprietary and Confidential
This program is made available only to customers and prospective customers
of TranSwitch Corporation under license and may be used only with TranSwitch
semi-conductor products.
Copyright(c) 2004 TranSwitch Inc.
--------------------------------------------------------------------------
******* ** ** ** ** ******** ** **
******* *** ** ** ** ********** ** **
** ** * ** ** ** ** ** ** **
***** ** * ** ** ** ** ** * *
***** ** * ** ** ** ** ** **
** ** * ** ** ** ** ** **
******* ** *** **** ********** **
******* ** ** ** ******** **
--------------------------------------------------------------------------
TranSwitch Envoy-CE2/CE4
Device Driver
--------------------------------------------------------------------------
Workfile: txc_envoy_mac_support.h
Description: This header file contains prototypes for the Packet
Control functions.
--------------------------------------------------------------------------
Revision History
--------------------------------------------------------------------------
Rev # Date Author Description
----- ------- ------------ ----------------------
0.5.0 6/03/04 F. Giannella Initial release (beta)
*--------------------------------------------------------------------------*/
#ifndef TXC_ENVOY_PKT_CTRL_SUPPORT_H
#define TXC_ENVOY_PKT_CTRL_SUPPORT_H
/****************************************************************************
** Defines **
****************************************************************************/
/****************************************************************************
** Data Structures **
****************************************************************************/
/****************************************************************************
** Function Prototypes **
****************************************************************************/
/* prototypes for VALIDATION functions */
TXC_U16BIT ENVOY_SetIngressPacketCtrlValid (TXC_U16BIT handle, TXC_U16BIT port,
ENVOY_INGRESS_PKT_CTRL_STRUCT *ingressPktCtrlDataPtr);
TXC_U16BIT ENVOY_GetIngressPacketCtrlValid (TXC_U16BIT handle, TXC_U16BIT port);
TXC_U16BIT ENVOY_SetEgressPacketCtrlValid (TXC_U16BIT handle, TXC_U16BIT port,
ENVOY_EGRESS_PKT_CTRL_STRUCT *egressPktCtrlDataPtr);
TXC_U16BIT ENVOY_GetEgressPacketCtrlValid (TXC_U16BIT handle, TXC_U16BIT port);
/* virtual functions */
#ifdef TXC_ENVOY_VIRTUAL_DEVICE_MODE
/* placeholder for virtual function prototypes */
#endif /* NOT TXC_ENVOY_VIRTUAL_DEVICE_MODE */
/* Live (REAL) functions */
#ifndef TXC_ENVOY_VIRTUAL_DEVICE_MODE
TXC_U16BIT ENVOY_SetIngressPacketCtrlReal (TXC_U16BIT handle, TXC_U16BIT port,
ENVOY_INGRESS_PKT_CTRL_STRUCT *ingressPktCtrlDataPtr);
TXC_U16BIT ENVOY_GetIngressPacketCtrlReal (TXC_U16BIT handle, TXC_U16BIT port,
ENVOY_INGRESS_PKT_CTRL_STRUCT *ingressPktCtrlDataPtr);
TXC_U16BIT ENVOY_SetEgressPacketCtrlReal (TXC_U16BIT handle, TXC_U16BIT port,
ENVOY_EGRESS_PKT_CTRL_STRUCT *egressPktCtrlDataPtr);
TXC_U16BIT ENVOY_GetEgressPacketCtrlReal (TXC_U16BIT handle, TXC_U16BIT port,
ENVOY_EGRESS_PKT_CTRL_STRUCT *egressPktCtrlDataPtr);
#endif /* NOT TXC_ENVOY_VIRTUAL_DEVICE_MODE */
/****************************************************************************
** End of Module **
****************************************************************************/
#endif /* TXC_ENVOY_PKT_CTRL_SUPPORT_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -