亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ixatmm.h

?? 友善mini2440嵌入式
?? H
?? 第 1 頁 / 共 2 頁
字號:
/** * @file    IxAtmm.h * * @date    3-DEC-2001 * * @brief   Header file for the IXP400 ATM Manager component (IxAtmm) * *  * @par * IXP400 SW Release version 2.0 *  * -- Copyright Notice -- *  * @par * Copyright 2001-2005, Intel Corporation. * All rights reserved. *  * @par * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *    notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in the *    documentation and/or other materials provided with the distribution. * 3. Neither the name of the Intel Corporation nor the names of its contributors *    may be used to endorse or promote products derived from this software *    without specific prior written permission. *  * @par * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. *  * @par * -- End of Copyright Notice -- *//** * @defgroup IxAtmm IXP400 ATM Manager (IxAtmm) API * * @brief IXP400 ATM Manager component Public API * * @{ */#ifndef IXATMM_H#define IXATMM_H/* * Put the user defined include files required */#include "IxAtmSch.h"#include "IxOsalTypes.h"/* * #defines and macros used in this file. *//**  * @def IX_ATMM_RET_ALREADY_INITIALIZED *  * @brief Component has already been initialized  */#define IX_ATMM_RET_ALREADY_INITIALIZED 2/**  * @def IX_ATMM_RET_INVALID_PORT *  * @brief Specified port does not exist or is out of range */#define IX_ATMM_RET_INVALID_PORT 3/**  * @def IX_ATMM_RET_INVALID_VC_DESCRIPTOR *  * @brief The VC description does not adhere to ATM standards */#define IX_ATMM_RET_INVALID_VC_DESCRIPTOR 4/**  * @def IX_ATMM_RET_VC_CONFLICT *  * @brief The VPI/VCI values supplied are either reserved, or they *         conflict with a previously registered VC on this port */#define IX_ATMM_RET_VC_CONFLICT 5/**  * @def IX_ATMM_RET_PORT_CAPACITY_IS_FULL *  * @brief The virtual connection cannot be established on the port *         because the remaining port capacity is not sufficient to *         support it */#define IX_ATMM_RET_PORT_CAPACITY_IS_FULL 6/**  * @def IX_ATMM_RET_NO_SUCH_VC *  * @brief No registered VC, as described by the supplied VCI/VPI or *         VC identifier values, exists on this port */#define IX_ATMM_RET_NO_SUCH_VC 7/**  * @def IX_ATMM_RET_INVALID_VC_ID *  * @brief The specified VC identifier is out of range. */#define IX_ATMM_RET_INVALID_VC_ID 8/**  * @def IX_ATMM_RET_INVALID_PARAM_PTR *  * @brief A pointer parameter was NULL. */#define IX_ATMM_RET_INVALID_PARAM_PTR 9/**  * @def IX_ATMM_UTOPIA_SPHY_ADDR   *  * @brief The phy address when in SPHY mode */#define IX_ATMM_UTOPIA_SPHY_ADDR 31/** * @def IX_ATMM_THREAD_PRI_HIGH * * @brief The value of high priority thread */#define IX_ATMM_THREAD_PRI_HIGH 90/* * Typedefs whose scope is limited to this file. *//** @brief Definition for use in the @ref IxAtmmVc structure. *         Indicates the direction of a VC */typedef enum{    IX_ATMM_VC_DIRECTION_TX=0, /**< Atmm Vc direction transmit*/    IX_ATMM_VC_DIRECTION_RX, /**< Atmm Vc direction receive*/    IX_ATMM_VC_DIRECTION_INVALID /**< Atmm Vc direction invalid*/} IxAtmmVcDirection;/** @brief Definition for use with @ref IxAtmmVcChangeCallback *         callback.  Indicates that the event type represented by the *         callback for this VC. */typedef enum{    IX_ATMM_VC_CHANGE_EVENT_REGISTER=0, /**< Atmm Vc event register*/    IX_ATMM_VC_CHANGE_EVENT_DEREGISTER, /**< Atmm Vc event de-register*/    IX_ATMM_VC_CHANGE_EVENT_INVALID /**< Atmm Vc event invalid*/} IxAtmmVcChangeEvent;/** @brief Definitions for use with @ref ixAtmmUTOPIAInit interface to *         indicate that UTOPIA loopback should be enabled or disabled *         on initialisation. */typedef enum{    IX_ATMM_UTOPIA_LOOPBACK_DISABLED=0, /**< Atmm Utopia loopback mode disabled*/    IX_ATMM_UTOPIA_LOOPBACK_ENABLED, /**< Atmm Utopia loopback mode enabled*/    IX_ATMM_UTOPIA_LOOPBACK_INVALID /**< Atmm Utopia loopback mode invalid*/} IxAtmmUtopiaLoopbackMode;/** @brief This structure describes the required attributes of a *         virtual connection.*/typedef struct {    unsigned vpi;  /**< VPI value of this virtual connection */    unsigned vci;  /**< VCI value of this virtual connection. */    IxAtmmVcDirection direction; /**< VC direction */    /** Traffic descriptor of this virtual connection.  This structure     *  is defined by the @ref IxAtmSch component.  */    IxAtmTrafficDescriptor trafficDesc;} IxAtmmVc;/** @brief Definitions for use with @ref ixAtmmUtopiaInit interface to *         indicate that UTOPIA multi-phy/single-phy mode is used. */typedef enum{    IX_ATMM_MPHY_MODE = 0, /**< Atmm phy mode mphy*/    IX_ATMM_SPHY_MODE, /**< Atmm phy mode sphy*/    IX_ATMM_PHY_MODE_INVALID /**< Atmm phy mode invalid*/} IxAtmmPhyMode;/** @brief Structure contains port-specific information required to *         initialize IxAtmm, and specifically, the IXP400 UTOPIA *         Level-2 device. */typedef struct {    unsigned reserved_1:11;     /**< [31:21] Should be zero */    unsigned UtopiaTxPhyAddr:5; /**< [20:16] Address of the     *   transmit (Tx) PHY for this     *   port on the 5-bit UTOPIA     *   Level-2 address bus */    unsigned reserved_2:11;     /**< [15:5] Should be zero */    unsigned UtopiaRxPhyAddr:5; /**< [4:0] Address of the receive     *   (Rx) PHY for this port on the     *   5-bit UTOPIA  Level-2     *   address bus */} IxAtmmPortCfg;/** @brief Callback type used with @ref ixAtmmVcChangeCallbackRegister interface *         Defines a callback type  which will be used to notify registered *         users of registration/deregistration events on a particular port * * @param eventType @ref IxAtmmVcChangeEvent [in] - Event indicating *                        whether the VC supplied has been added or *                        removed * * @param port @ref IxAtmLogicalPort [in] - Specifies the port on which the event has *                        occurred * * @param vcChanged @ref IxAtmmVc* [in] - Pointer to a structure which gives *                              details of the VC which has been added *                              or removed on the port */typedef void (*IxAtmmVcChangeCallback) (IxAtmmVcChangeEvent eventType,					IxAtmLogicalPort port,					const IxAtmmVc* vcChanged);/* * Variable declarations global to this file only. Externs are followed by * static variables. *//* * Extern function prototypes *//* * Function declarations *//**  * @ingroup IxAtmm * * @fn ixAtmmInit (void) * * @brief Interface to initialize the IxAtmm software component.  Can *         be called once only. * *  Must be called before any other IxAtmm API is called. * * @param "none" * *  @return @li  IX_SUCCESS : IxAtmm has been successfully initialized. *      Calls to other IxAtmm interfaces may now be performed. *  @return @li  IX_FAIL : IxAtmm has already been initialized. */PUBLIC IX_STATUSixAtmmInit (void);/**   * @ingroup IxAtmm *  * @fn ixAtmmUtopiaInit (unsigned numPorts,		  IxAtmmPhyMode phyMode,		  IxAtmmPortCfg portCfgs[],		  IxAtmmUtopiaLoopbackMode loopbackMode) * * @brief Interface to initialize the UTOPIA Level-2 ATM coprocessor *         for the specified number of physical ports.  The function *         must be called before the ixAtmmPortInitialize interface *         can operate successfully. * * @param numPorts unsigned [in] - Indicates the total number of logical *          ports that are active on the device.  Up to 12 ports are *          supported. * * @param phyMode @ref IxAtmmPhyMode [in] - Put the Utopia coprocessor in SPHY *        or MPHY mode. * * @param portCfgs[] @ref IxAtmmPortCfg [in] - Pointer to an array of elements *          detailing the UTOPIA specific port characteristics.  The *          length of the array must be equal to the number of ports *          activated.  ATM ports are referred to by the relevant *          offset in this array in all subsequent IxAtmm interface *          calls. * * @param loopbackMode @ref IxAtmmUtopiaLoopbackMode [in] - Value must be one of *          @ref IX_ATMM_UTOPIA_LOOPBACK_ENABLED or @ref *          IX_ATMM_UTOPIA_LOOPBACK_DISABLED indicating whether *          loopback should be enabled on the device.  Loopback can *          only be supported on a single PHY, therefore the numPorts *          parameter must be 1 if loopback is enabled. * * @return @li IX_SUCCESS : Indicates that the  UTOPIA device has been *      successfully initialized for the supplied ports. * @return @li IX_ATMM_RET_ALREADY_INITIALIZED : The UTOPIA device has *      already been initialized. * @return @li IX_FAIL : The supplied parameters are invalid or have been *     rejected by the UTOPIA-NPE device. * * @warning * This interface may only be called once. * Port identifiers are assumed to range from 0 to (numPorts - 1) in all  * instances. * In all subsequent calls to interfaces supplied by IxAtmm, the specified * port value is expected to represent the offset in the portCfgs array * specified in this interface.  i.e. The first port in this array will * subsequently be represented as port 0, the second port as port 1, * and so on.*/PUBLIC IX_STATUSixAtmmUtopiaInit (unsigned numPorts,		  IxAtmmPhyMode phyMode,		  IxAtmmPortCfg portCfgs[],		  IxAtmmUtopiaLoopbackMode loopbackMode);/**    * @ingroup IxAtmm *  * @fn ixAtmmPortInitialize (IxAtmLogicalPort port,		      unsigned txPortRate,		      unsigned rxPortRate) * * @brief The interface is called following @ref ixAtmmUtopiaInit () *         and before calls to any other IxAtmm interface.  It serves *         to activate the registered ATM port with IxAtmm. * *  The transmit and receive port rates are specified in bits per *  second.  This translates to ATM cells per second according to the *  following formula: CellsPerSecond = portRate / (53*8)  The *  IXP400 device supports only 53 byte cells. The client shall make *  sure that the off-chip physical layer device has already been *  initialized. * *  IxAtmm will configure IxAtmdAcc and IxAtmSch to enable scheduling *  on the port. * *  This interface must be called once for each active port in the *  system.  The first time the interface is invoked, it will configure *  the mechanism by which the handling of transmit, transmit-done and *  receive are driven with the IxAtmdAcc component. * *  This function is reentrant. * *  @note The minimum tx rate that will be accepted is 424 bit/s which equates *        to 1 cell (53 bytes) per second. * * @param port @ref IxAtmLogicalPort [in] - Identifies the port which is to be *          initialized. * * @param txPortRate unsigned [in] - Value specifies the *          transmit port rate for this port in *          bits/second.  This value is used by the ATM Scheduler *          component is evaluating VC access requests for the port. * * @param rxPortRate unsigned [in] - Value specifies the *          receive port rate for this port in bits/second. * * @return @li IX_SUCCESS : The specificed ATM port has been successfully *       initialized. IxAtmm is ready to accept VC registrations on *       this port. * * @return @li IX_ATMM_RET_ALREADY_INITIALIZED : ixAtmmPortInitialize has *       already been called successfully on this port.  The current *       call is rejected. * * @return @li IX_ATMM_RET_INVALID_PORT : The port value indicated in the *       input is not valid.  The request is rejected. * * @return @li IX_FAIL : IxAtmm could not initialize the port because the * inputs are not understood. * * @sa ixAtmmPortEnable, ixAtmmPortDisable * */PUBLIC IX_STATUSixAtmmPortInitialize (IxAtmLogicalPort port,		      unsigned txPortRate,		      unsigned rxPortRate);/**     * @ingroup IxAtmm *  * @fn ixAtmmPortModify (IxAtmLogicalPort port,		  unsigned txPortRate,		  unsigned rxPortRate) * * @brief A client may call this interface to change the existing *         port rate (expressed in bits/second) on an established ATM *         port. * * @param port @ref IxAtmLogicalPort [in] - Identifies the port which is to be *          initialized. * * @param txPortRate unsigned [in] -  Value specifies the`` *          transmit port rate for this port in *          bits/second.  This value is used by the ATM Scheduler

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线播放日韩导航| 国产清纯在线一区二区www| 日韩精品在线看片z| 国产精品国产成人国产三级| 丝袜脚交一区二区| 91小视频免费观看| 精品国产3级a| 奇米精品一区二区三区在线观看 | 久久99国产精品麻豆| 色婷婷综合久色| 欧美极品少妇xxxxⅹ高跟鞋| 蜜臀久久99精品久久久久宅男 | 国精品**一区二区三区在线蜜桃| 9久草视频在线视频精品| 日韩欧美www| 日韩影视精彩在线| 欧美午夜理伦三级在线观看| 国产精品每日更新| 国产电影一区二区三区| 精品国产乱码久久久久久闺蜜| 亚洲国产精品尤物yw在线观看| 97久久久精品综合88久久| 国产日韩欧美激情| 国产成人午夜99999| 精品少妇一区二区三区在线视频| 午夜亚洲福利老司机| 欧美中文字幕一区| 亚洲一二三四区不卡| 欧美专区日韩专区| 亚洲一区二区不卡免费| 欧美网站大全在线观看| 亚洲一区在线观看视频| 欧美视频一区二区在线观看| 亚洲国产成人精品视频| 欧美少妇一区二区| 天天影视涩香欲综合网| 欧美一区二区三区四区在线观看 | 国产在线观看免费一区| 精品国精品国产| 国内成+人亚洲+欧美+综合在线 | 一区二区三区自拍| 日本高清无吗v一区| 一区二区久久久久久| 欧美日韩国产123区| 日本不卡一二三区黄网| 欧美精品一区二区三区蜜桃| 国产精品亚洲专一区二区三区| 久久嫩草精品久久久久| 成人黄色在线网站| 亚洲综合色噜噜狠狠| 69精品人人人人| 国产麻豆精品视频| 中文字幕亚洲精品在线观看| 欧美四级电影在线观看| 老汉av免费一区二区三区| 国产网站一区二区三区| 色琪琪一区二区三区亚洲区| 免费看精品久久片| 国产欧美一区二区精品性色超碰| proumb性欧美在线观看| 午夜免费欧美电影| 国产亚洲婷婷免费| 色狠狠桃花综合| 麻豆91免费看| 亚洲图片欧美激情| 日韩亚洲欧美在线| 成人自拍视频在线观看| 亚洲一线二线三线久久久| 精品国产乱码久久久久久久久| 99国内精品久久| 奇米888四色在线精品| 国产精品不卡在线观看| 久久九九全国免费| 亚洲美女屁股眼交| 99精品1区2区| 免费在线观看日韩欧美| 国产精品久久久久久妇女6080 | av在线综合网| 另类成人小视频在线| 一区二区三区在线视频观看| 久久影院午夜片一区| 在线观看区一区二| 国产成人午夜99999| 天天综合色天天综合色h| 国产精品美女久久久久高潮| 日韩一区二区三| 欧美性xxxxx极品少妇| 国产a视频精品免费观看| 日韩电影免费一区| 亚洲综合视频网| 成人免费在线观看入口| 国产婷婷色一区二区三区| 欧美一级二级三级乱码| 欧美吻胸吃奶大尺度电影| 91蜜桃网址入口| 日韩主播视频在线| 有坂深雪av一区二区精品| 日韩精品一区二区三区四区视频| 成人av午夜电影| 国产精品一区二区免费不卡| 五月天一区二区| 一区二区三区四区蜜桃| 国产精品白丝在线| 中文欧美字幕免费| 日本一区二区三区高清不卡| 精品奇米国产一区二区三区| 69p69国产精品| 777奇米成人网| 欧美精品1区2区3区| 欧美日韩成人在线一区| 日本道精品一区二区三区| 91婷婷韩国欧美一区二区| 粉嫩aⅴ一区二区三区四区五区| 精品一区二区三区香蕉蜜桃 | 日本亚洲天堂网| 亚洲一区二区三区激情| 一区二区三区欧美久久| 亚洲综合色自拍一区| 一区二区不卡在线播放| 一区二区三区四区精品在线视频 | 91在线视频观看| 99精品一区二区| 91成人在线精品| 欧美视频在线观看一区| 欧美久久一二三四区| 欧美一区二区在线免费观看| 欧美一区二区大片| 精品国产免费人成在线观看| 久久久亚洲精品石原莉奈 | 亚洲欧美日韩在线不卡| 亚洲精品老司机| 日韩精品久久久久久| 久久国产三级精品| 丁香激情综合五月| 91精品1区2区| 日韩一区二区三区观看| 久久日一线二线三线suv| 中文字幕一区二区三区在线播放| 亚洲激情图片一区| 日韩av一区二区三区| 国产不卡视频在线观看| 欧美三级在线看| 久久一夜天堂av一区二区三区| 中文在线免费一区三区高中清不卡| 亚洲天堂网中文字| 日韩二区三区四区| 成人午夜电影久久影院| 欧美私模裸体表演在线观看| 26uuu亚洲综合色欧美| 亚洲色图20p| 国产福利一区二区三区视频| www.日韩大片| 3atv一区二区三区| 国产三级一区二区| 视频一区二区三区中文字幕| 成人综合在线视频| 日韩一区二区在线观看视频播放| 国产精品少妇自拍| 蜜乳av一区二区| 一本色道久久综合亚洲aⅴ蜜桃| 国产日韩视频一区二区三区| 亚洲精品精品亚洲| 国产成人午夜视频| 欧美日韩电影一区| 亚洲欧美日韩中文播放 | 石原莉奈在线亚洲三区| 成人黄色片在线观看| 宅男在线国产精品| 一区二区三区在线播| 不卡一二三区首页| 精品久久人人做人人爽| 日韩精品一级中文字幕精品视频免费观看 | 五月婷婷色综合| 99久久婷婷国产精品综合| 日韩欧美综合在线| 亚洲伊人伊色伊影伊综合网| 成人一区二区三区视频| 久久久欧美精品sm网站| 免费观看久久久4p| 欧美伊人久久久久久久久影院 | 精品久久人人做人人爰| 天天亚洲美女在线视频| 在线国产电影不卡| 亚洲视频香蕉人妖| 91在线观看地址| 成人免费小视频| 不卡一区在线观看| 国产日韩欧美高清在线| 国产精品一线二线三线| 精品少妇一区二区三区视频免付费 | 午夜久久久久久| 欧美色精品在线视频| 一区二区高清在线| 欧美影院一区二区| 亚洲一区二区av电影| 欧美日韩一区三区| 亚洲福利一区二区三区| 欧美写真视频网站| 日本午夜一本久久久综合| 日韩欧美一区二区不卡|