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

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

?? ixethdbreports.c

?? 友善mini2440嵌入式
?? C
?? 第 1 頁 / 共 2 頁
字號:
/** * @file IxEthDBAPI.c * * @brief Implementation of the public API *  * @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 -- */#include "IxEthDB_p.h"extern HashTable dbHashtable;IX_ETH_DB_PRIVATE void ixEthDBPortInfoShow(IxEthDBPortId portID, IxEthDBRecordType recordFilter);IX_ETH_DB_PRIVATE IxEthDBStatus ixEthDBHeaderShow(IxEthDBRecordType recordFilter);IX_ETH_DB_PUBLIC IxEthDBStatus ixEthDBDependencyPortMapShow(IxEthDBPortId portID, IxEthDBPortMap map);/** * @brief displays a port dependency map * * @param portID ID of the port * @param map port map to display * * @return IX_ETH_DB_SUCCESS if the operation completed * successfully */ IX_ETH_DB_PUBLICIxEthDBStatus ixEthDBDependencyPortMapShow(IxEthDBPortId portID, IxEthDBPortMap map){    UINT32 portIndex;    BOOL mapSelf = TRUE, mapNone = TRUE, firstPort = TRUE;        /* dependency port maps */    printf("Dependency port map: ");        /* browse the port map */    for (portIndex = 0 ; portIndex < IX_ETH_DB_NUMBER_OF_PORTS ; portIndex++)    {        if (IS_PORT_INCLUDED(portIndex, map))        {            mapNone   = FALSE;                        if (portIndex != portID)            {                mapSelf = FALSE;            }                        printf("%s%d", firstPort ? "{" : ", ", portIndex);                        firstPort = FALSE;        }    }        if (mapNone)    {        mapSelf = FALSE;    }        printf("%s (%s)\n", firstPort ? "" : "}", mapSelf ? "self" : mapNone ? "none" : "group");        return IX_ETH_DB_SUCCESS;}/** * @brief displays all the filtering records belonging to a port * * @param portID ID of the port to display * * Note that this function is documented in the main component * header file, IxEthDB.h. * * @warning deprecated, use @ref ixEthDBFilteringDatabaseShowRecords()  * instead. Calling this function is equivalent to calling * ixEthDBFilteringDatabaseShowRecords(portID, IX_ETH_DB_FILTERING_RECORD) */IX_ETH_DB_PUBLICIxEthDBStatus ixEthDBFilteringDatabaseShow(IxEthDBPortId portID){    IxEthDBStatus local_result;    HashIterator iterator;    PortInfo *portInfo;    UINT32 recordCount = 0;    IX_ETH_DB_CHECK_PORT(portID);    IX_ETH_DB_CHECK_SINGLE_NPE(portID);    portInfo = &ixEthDBPortInfo[portID];    /* display table header */    printf("Ethernet database records for port ID [%d]\n", portID);        ixEthDBDependencyPortMapShow(portID, portInfo->dependencyPortMap);        if (ixEthDBPortDefinitions[portID].type == IX_ETH_NPE)    {        printf("NPE updates are %s\n\n", portInfo->updateMethod.updateEnabled ? "enabled" : "disabled");    }    else    {        printf("updates disabled (not an NPE)\n\n");    }    printf("    MAC address    |   Age  | Type \n");    printf("___________________________________\n");    /* browse database */    BUSY_RETRY(ixEthDBInitHashIterator(&dbHashtable, &iterator));    while (IS_ITERATOR_VALID(&iterator))    {      MacDescriptor *descriptor = (MacDescriptor *) iterator.node->data;      if (descriptor->portID == portID && descriptor->type == IX_ETH_DB_FILTERING_RECORD)      {          recordCount++;          /* display entry */          printf(" %02X:%02X:%02X:%02X:%02X:%02X | %5d  | %s\n",              descriptor->macAddress[0],              descriptor->macAddress[1],              descriptor->macAddress[2],              descriptor->macAddress[3],              descriptor->macAddress[4],              descriptor->macAddress[5],              descriptor->recordData.filteringData.age,              descriptor->recordData.filteringData.staticEntry ? "static" : "dynamic");      }      /* move to the next record */      BUSY_RETRY_WITH_RESULT(ixEthDBIncrementHashIterator(&dbHashtable, &iterator), local_result);      /* debug */      if (local_result == IX_ETH_DB_BUSY)      {          return IX_ETH_DB_FAIL;      }    }    /* display number of records */    printf("\nFound %d records\n", recordCount);    return IX_ETH_DB_SUCCESS;}/** * @brief displays all the filtering records belonging to all the ports * * Note that this function is documented in the main component * header file, IxEthDB.h. * * @warning deprecated, use @ref ixEthDBFilteringDatabaseShowRecords()  * instead. Calling this function is equivalent to calling * ixEthDBFilteringDatabaseShowRecords(IX_ETH_DB_ALL_PORTS, IX_ETH_DB_FILTERING_RECORD) */IX_ETH_DB_PUBLICvoid ixEthDBFilteringDatabaseShowAll(){    IxEthDBPortId portIndex;    printf("\nEthernet learning/filtering database: listing %d ports\n\n", (UINT32) IX_ETH_DB_NUMBER_OF_PORTS);    for (portIndex = 0 ; portIndex < IX_ETH_DB_NUMBER_OF_PORTS ; portIndex++)    {        ixEthDBFilteringDatabaseShow(portIndex);        if (portIndex < IX_ETH_DB_NUMBER_OF_PORTS - 1)        {            printf("\n");        }    }}/** * @brief displays one record in a format depending on the record filter * * @param descriptor pointer to the record * @param recordFilter format filter * * This function will display the fields in a record depending on the * selected record filter. * * @internal */IX_ETH_DB_PRIVATEvoid ixEthDBRecordShow(MacDescriptor *descriptor, IxEthDBRecordType recordFilter){    if (recordFilter == IX_ETH_DB_FILTERING_VLAN_RECORD        || recordFilter == (IX_ETH_DB_FILTERING_RECORD | IX_ETH_DB_FILTERING_VLAN_RECORD))    {        /* display VLAN record header - leave this commented code in place, its purpose is to align the print format with the header        printf("    MAC address    |   Age  |   Type   | VLAN ID | CFI | QoS class \n");        printf("___________________________________________________________________\n"); */        if (descriptor->type == IX_ETH_DB_FILTERING_VLAN_RECORD)        {            printf("%02X:%02X:%02X:%02X:%02X:%02X | %3d | %s | %d | %d | %d\n",                descriptor->macAddress[0],                descriptor->macAddress[1],                descriptor->macAddress[2],                descriptor->macAddress[3],                descriptor->macAddress[4],                descriptor->macAddress[5],                descriptor->recordData.filteringVlanData.age,                descriptor->recordData.filteringVlanData.staticEntry ? "static" : "dynamic",                IX_ETH_DB_GET_VLAN_ID(descriptor->recordData.filteringVlanData.ieee802_1qTag),                (descriptor->recordData.filteringVlanData.ieee802_1qTag & 0x1000) >> 12,                IX_ETH_DB_GET_QOS_PRIORITY(descriptor->recordData.filteringVlanData.ieee802_1qTag));         }         else if (descriptor->type == IX_ETH_DB_FILTERING_RECORD)         {            printf("%02X:%02X:%02X:%02X:%02X:%02X | %3d | %s | - | - | -\n",                descriptor->macAddress[0],                descriptor->macAddress[1],                descriptor->macAddress[2],                descriptor->macAddress[3],                descriptor->macAddress[4],                descriptor->macAddress[5],                descriptor->recordData.filteringData.age,                descriptor->recordData.filteringData.staticEntry ? "static" : "dynamic");         }    }    else if (recordFilter == IX_ETH_DB_FILTERING_RECORD)    {        /* display filtering record header - leave this commented code in place, its purpose is to align the print format with the header        printf("    MAC address    |   Age  |   Type   \n");        printf("_______________________________________\n");  */        if (descriptor->type == IX_ETH_DB_FILTERING_RECORD)        {         printf("%02X:%02X:%02X:%02X:%02X:%02X | %3d | %s \n",             descriptor->macAddress[0],             descriptor->macAddress[1],             descriptor->macAddress[2],             descriptor->macAddress[3],             descriptor->macAddress[4],             descriptor->macAddress[5],             descriptor->recordData.filteringData.age,             descriptor->recordData.filteringData.staticEntry ? "static" : "dynamic");        }    }    else if (recordFilter == IX_ETH_DB_WIFI_RECORD)    {        /* display WiFi record header - leave this commented code in place, its purpose is to align the print format with the header         printf("    MAC address    |   GW MAC address  \n");        printf("_______________________________________\n"); */        if (descriptor->type == IX_ETH_DB_WIFI_RECORD)        {            if (descriptor->recordData.wifiData.type == IX_ETH_DB_WIFI_AP_TO_AP)            {                /* gateway address present */                printf("%02X:%02X:%02X:%02X:%02X:%02X | %02X:%02X:%02X:%02X:%02X:%02X \n",                    descriptor->macAddress[0],                    descriptor->macAddress[1],                    descriptor->macAddress[2],                    descriptor->macAddress[3],                    descriptor->macAddress[4],                    descriptor->macAddress[5],                    descriptor->recordData.wifiData.gwMacAddress[0],                    descriptor->recordData.wifiData.gwMacAddress[1],                    descriptor->recordData.wifiData.gwMacAddress[2],                    descriptor->recordData.wifiData.gwMacAddress[3],                    descriptor->recordData.wifiData.gwMacAddress[4],                    descriptor->recordData.wifiData.gwMacAddress[5]);            }            else            {                /* no gateway */                printf("%02X:%02X:%02X:%02X:%02X:%02X | ----no gateway----- \n",                    descriptor->macAddress[0],                    descriptor->macAddress[1],                    descriptor->macAddress[2],                    descriptor->macAddress[3],                    descriptor->macAddress[4],                    descriptor->macAddress[5]);            }        }    }    else if (recordFilter == IX_ETH_DB_FIREWALL_RECORD)    {        /* display Firewall record header - leave this commented code in place, its purpose is to align the print format with the header         printf("    MAC address   \n");        printf("__________________\n"); */        if (descriptor->type == IX_ETH_DB_FIREWALL_RECORD)        {            printf("%02X:%02X:%02X:%02X:%02X:%02X \n",                descriptor->macAddress[0],                descriptor->macAddress[1],                descriptor->macAddress[2],                descriptor->macAddress[3],                descriptor->macAddress[4],

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲6080在线| 亚洲国产精品av| 丁香亚洲综合激情啪啪综合| 亚洲精选一二三| 精品欧美一区二区久久 | 久久精品国产精品亚洲精品| 国产精品污www在线观看| 91精品免费在线| 色综合中文字幕| 国产精品66部| 美女网站视频久久| 亚洲小说欧美激情另类| 国产精品高潮呻吟久久| 精品国产一区a| 6080午夜不卡| 在线国产亚洲欧美| gogo大胆日本视频一区| 国产精品亚洲成人| 久久99精品国产麻豆婷婷| 亚洲成人av一区二区三区| 亚洲欧洲精品成人久久奇米网| 久久综合九色综合欧美亚洲| 91精品国产一区二区人妖| 欧美性大战久久久| 91精品办公室少妇高潮对白| 成人av电影免费在线播放| 国产高清不卡一区二区| 日本不卡123| 天天操天天干天天综合网| 亚洲一区二区三区自拍| 亚洲日本免费电影| 亚洲欧美日韩久久| 亚洲男帅同性gay1069| 中文字幕免费观看一区| 香港成人在线视频| 亚洲成人综合视频| 亚洲成在线观看| 日韩高清电影一区| 免费人成网站在线观看欧美高清| 天天综合日日夜夜精品| 天堂一区二区在线免费观看| 午夜成人在线视频| 日本aⅴ亚洲精品中文乱码| 日韩精品每日更新| 麻豆视频一区二区| 国产一区二区调教| 成人美女视频在线看| av在线不卡网| 在线免费观看日韩欧美| 欧美三级韩国三级日本三斤| 欧美精品第1页| 欧美一级搡bbbb搡bbbb| 精品久久久久香蕉网| 国产性做久久久久久| 国产精品蜜臀在线观看| 亚洲欧美日本在线| 午夜在线成人av| 喷水一区二区三区| 国产福利一区二区三区视频| jlzzjlzz欧美大全| 欧美日韩国产综合草草| 欧美电影免费提供在线观看| 国产欧美日韩另类视频免费观看| 中文字幕在线不卡| 亚洲午夜视频在线| 久久er99热精品一区二区| 成人激情黄色小说| 欧美熟乱第一页| www激情久久| 自拍偷拍欧美精品| 视频一区国产视频| 国产成人免费在线| 欧美亚洲一区三区| 26uuuu精品一区二区| 中文字幕在线不卡| 蜜臀av性久久久久蜜臀aⅴ四虎| 国产精品综合在线视频| 一本到三区不卡视频| 555夜色666亚洲国产免| 欧美国产欧美综合| 午夜精品免费在线| 国产aⅴ综合色| 欧美剧情片在线观看| 欧美激情综合五月色丁香| 午夜精品国产更新| 成人性生交大合| 91精品国产一区二区三区香蕉| 欧美国产国产综合| 美女视频第一区二区三区免费观看网站 | 欧美性一区二区| 久久综合网色—综合色88| 一区二区三区不卡在线观看 | 成人性色生活片| 欧美日韩成人综合在线一区二区| 国产调教视频一区| 男人的j进女人的j一区| 91丝袜美腿高跟国产极品老师 | 国产欧美日韩麻豆91| 日韩国产精品91| 91免费看片在线观看| 久久综合久久综合九色| 日韩精品视频网站| 欧美网站大全在线观看| 中文字幕不卡一区| 精品制服美女久久| 欧美日本韩国一区二区三区视频 | 亚洲无人区一区| 不卡在线视频中文字幕| 精品国产三级电影在线观看| 亚洲国产精品影院| 99久久免费国产| 国产性色一区二区| 久久精品久久综合| 51精品秘密在线观看| 亚洲一区二区三区小说| 99精品视频一区二区| 国产日产欧美一区二区视频| 蜜臀av性久久久久蜜臀aⅴ四虎 | 国产精品电影一区二区| 国产精品自在在线| 2021国产精品久久精品| 久久成人av少妇免费| 日韩午夜av一区| 天天亚洲美女在线视频| 欧美日韩免费观看一区三区| 亚洲午夜激情网站| 欧美日韩免费电影| 亚洲国产欧美在线| 欧美体内she精视频| 一区二区三区在线观看欧美| 91美女片黄在线观看91美女| 亚洲私人黄色宅男| 91亚洲精品一区二区乱码| 亚洲欧美怡红院| aa级大片欧美| 亚洲欧美日韩在线不卡| 91免费视频大全| 亚洲综合一区二区精品导航| 91蜜桃在线观看| 一区二区三区产品免费精品久久75| 91九色最新地址| 日韩国产欧美在线观看| 日韩一区二区高清| 国产一区二区三区四区五区入口| 久久女同互慰一区二区三区| 国产伦精品一区二区三区在线观看| 久久天堂av综合合色蜜桃网| 国产精品白丝av| 中文字幕制服丝袜成人av| 91麻豆视频网站| 亚洲国产成人精品视频| 69堂精品视频| 国产一区二区免费在线| 国产亚洲欧美中文| 97久久久精品综合88久久| 一级精品视频在线观看宜春院| 精品视频一区三区九区| 久久se精品一区精品二区| 欧美国产精品一区二区三区| 91在线国产福利| 天天综合网天天综合色| 久久影院午夜论| 99re热视频精品| 午夜精品久久久久久久99樱桃| 91精品国产综合久久精品麻豆| 韩国av一区二区| 亚洲欧美日韩国产另类专区| 7777精品伊人久久久大香线蕉超级流畅| 国模一区二区三区白浆| 亚洲欧美综合另类在线卡通| 欧美高清视频在线高清观看mv色露露十八| 久久电影网电视剧免费观看| 亚洲国产精品ⅴa在线观看| 欧美日韩一本到| 国产精品白丝jk黑袜喷水| 亚洲影视在线播放| 欧美精品一区男女天堂| 91美女精品福利| 九色porny丨国产精品| 最新成人av在线| 欧美成人性战久久| 色综合久久中文综合久久牛| 六月丁香婷婷色狠狠久久| 中文字幕在线观看一区| 欧美一区永久视频免费观看| 成人av电影在线| 黄一区二区三区| 亚洲一区二区三区在线| 国产精品污网站| 精品久久久久av影院| 欧美亚洲自拍偷拍| 播五月开心婷婷综合| 久久精品国产99国产精品| 一区二区三区视频在线观看| 国产亚洲成aⅴ人片在线观看| 欧美日韩国产综合一区二区| 91影视在线播放| 国产精品一区二区三区四区| 亚洲6080在线| 亚洲免费视频成人|