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

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

?? netshow.c

?? vxworks的完整的源代碼
?? C
?? 第 1 頁 / 共 4 頁
字號:
	_ipstat.ips_odropped);	        /* pkts dropped for no buffers */    printf (fmt, ipstat_name [ix++],	_ipstat.ips_reassembled);	/* total packets reassembled ok */    printf (fmt, ipstat_name [ix++],	_ipstat.ips_ofragments);        /* output fragments created */    printf (fmt, ipstat_name [ix++],	_ipstat.ips_noroute);	        /* packets discarded due to no route */    printf ("\n");    if (zero)	bzero ((char*)&_ipstat, sizeof (_ipstat));#else    printf (fmt, ipstat_name [ix++],	ipstat.ips_total);              /* total packets received */    printf (fmt, ipstat_name [ix++],	ipstat.ips_badsum);             /* checksum bad */    printf (fmt, ipstat_name [ix++],	ipstat.ips_tooshort);           /* packet too short */    printf (fmt, ipstat_name [ix++],	ipstat.ips_toosmall);           /* not enough data */    printf (fmt, ipstat_name [ix++],	ipstat.ips_badhlen);            /* ip header length < data size */    printf (fmt, ipstat_name [ix++],	ipstat.ips_badlen);             /* ip length < ip header length */    printf (fmt, ipstat_name [ix++],	ipstat.ips_fragments);          /* fragments received */    printf (fmt, ipstat_name [ix++],	ipstat.ips_fragdropped);        /* frags dropped (dups, out of space) */    printf (fmt, ipstat_name [ix++],	ipstat.ips_fragtimeout);        /* fragments timed out */    printf (fmt, ipstat_name [ix++],	ipstat.ips_forward);            /* packets forwarded */    printf (fmt, ipstat_name [ix++],	ipstat.ips_cantforward);        /* packets rcvd for unreachable dest */    printf (fmt, ipstat_name [ix++],	ipstat.ips_redirectsent);       /* packets forwarded on same net */    printf (fmt, ipstat_name [ix++],	ipstat.ips_noproto);	        /* pkts recieved with unknown protos */    printf (fmt, ipstat_name [ix++],	ipstat.ips_odropped);	        /* pkts dropped for no buffers */    printf (fmt, ipstat_name [ix++],	ipstat.ips_reassembled);	/* total packets reassembled ok */    printf (fmt, ipstat_name [ix++],	ipstat.ips_ofragments);	        /* output fragments created */    printf (fmt, ipstat_name [ix++],	ipstat.ips_noroute);	        /* packets discarded due to no route */    printf ("\n");    if (zero)	bzero ((char*)&ipstat, sizeof (ipstat));#endif /* VIRTUAL_STACK */    }/********************************************************************************* clPoolShow - show cluster pool information** This function shows cluster pool information.** NOMANUAL** RETURNS: N/A*/LOCAL void clPoolShow    (    NET_POOL_ID	pNetPool		/* pointer the netPool */    )    {    UCHAR 	clType;     CL_POOL_ID	pClPool;    printf ("__________________\n");     printf ("CLUSTER POOL TABLE\n");     printf ("_______________________________________________________________________________\n");    printf ("size     clusters  free      usage\n");     printf ("-------------------------------------------------------------------------------\n");    for (clType = pNetPool->clLg2Min; clType <= pNetPool->clLg2Max; clType++)	{	if ((pClPool = netClPoolIdGet (pNetPool, CL_LOG2_TO_CL_SIZE(clType),                                        TRUE)) != NULL)	    {	    printf ("%-9d", pClPool->clSize); 	    printf ("%-10d", pClPool->clNum); 	    printf ("%-10d", pClPool->clNumFree);	    printf ("%-14d\n", pClPool->clUsage); 	    }	}    printf ("-------------------------------------------------------------------------------\n");    }/********************************************************************************* netPoolShow - show pool statistics** This routine displays the distribution of `mBlk's and clusters in a given* network pool ID.** EXAMPLE:** .CS* void endPoolShow*    (*    char * devName,    /@ The inteface name: "dc", "ln" ...@/*    int    unit        /@ the unit number: usually 0       @/*    )*    {*    END_OBJ * pEnd;* *    if ((pEnd = endFindByName (devName, unit)) != NULL)*        netPoolShow (pEnd->pNetPool);*    else*        printf ("Could not find device %s\n", devName);*    return;*    }* .CE** RETURNS: N/A*/void netPoolShow    (    NET_POOL_ID pNetPool    )    {    static int mt_types [NUM_MBLK_TYPES] =	{ MT_FREE, 	MT_DATA, 	MT_HEADER, 	MT_SOCKET,	  MT_PCB,	MT_RTABLE, 	MT_HTABLE, 	MT_ATABLE, 	  MT_SONAME, 	MT_ZOMBIE,	MT_SOOPTS, 	MT_FTABLE,	  MT_RIGHTS, 	MT_IFADDR,	MT_CONTROL,	MT_OOBDATA,	  MT_IPMOPTS,	MT_IPMADDR,	MT_IFMADDR,	MT_MRTABLE	};    static char mt_names [NUM_MBLK_TYPES][10] =	{ "FREE", 	"DATA", 	"HEADER", 	"SOCKET",	  "PCB",	"RTABLE", 	"HTABLE", 	"ATABLE", 	  "SONAME",	"ZOMBIE",	"SOOPTS",	"FTABLE",	  "RIGHTS",	"IFADDR",	"CONTROL", 	"OOBDATA",	  "IPMOPTS",	"IPMADDR",	"IFMADDR",	"MRTABLE"	};    int totalMbufs = 0;    FAST int ix;    if (pNetPool == NULL || pNetPool->pPoolStat == NULL)        return ;     printf ("type        number\n");    printf ("---------   ------\n");    for (ix = 0; ix < NUM_MBLK_TYPES; ix++)	{	printf ("%-8s:    %3ld\n", mt_names [ix],		pNetPool->pPoolStat->mTypes [mt_types [ix]]);	totalMbufs += pNetPool->pPoolStat->m_mtypes [mt_types [ix]];	}    printf ("%-8s:    %3d\n", "TOTAL", totalMbufs);    printf ("number of mbufs: %ld\n", pNetPool->pPoolStat->mNum);    printf ("number of times failed to find space: %ld\n",            pNetPool->pPoolStat->mDrops);    printf ("number of times waited for space: %ld\n",            pNetPool->pPoolStat->mWait);    printf ("number of times drained protocols for space: %ld\n",	    pNetPool->pPoolStat->mDrain);    clPoolShow (pNetPool);     }    /********************************************************************************* netStackDataPoolShow - show network stack data pool statistics** This routine displays the distribution of `mBlk's and clusters in a* the network data pool.  The network data pool is used only for data* transfer through the network stack.** The "clusters" column indicates the total number of clusters of that size* that have been allocated.  The "free" column indicates the number of* available clusters of that size (the total number of clusters minus those* clusters that are in use).  The "usage" column indicates the number of times* clusters have been allocated (not, as you might expect, the number of* clusters currently in use).** RETURNS: N/A** SEE ALSO: netStackSysPoolShow(), netBufLib*/void netStackDataPoolShow (void)    {#ifdef VIRTUAL_STACK    virtualStackIdCheck();    printf("stack number %d\n", myStackNum);#endif /* VIRTUAL_STACK */    netPoolShow (_pNetDpool);    }/********************************************************************************* netStackSysPoolShow - show network stack system pool statistics** This routine displays the distribution of `mBlk's and clusters in a* the network system pool.  The network system pool is used only for system* structures such as sockets, routes, interface addresses, protocol control* blocks, multicast addresses, and multicast route entries.** The "clusters" column indicates the total number of clusters of that size* that have been allocated.  The "free" column indicates the number of* available clusters of that size (the total number of clusters minus those* clusters that are in use).  The "usage" column indicates the number of times* clusters have been allocated (not, as you might expect, the number of* clusters currently in use).** RETURNS: N/A** SEE ALSO: netStackDataPoolShow(), netBufLib*/void netStackSysPoolShow (void)    {#ifdef VIRTUAL_STACK    virtualStackIdCheck();    printf("stack number %d\n", myStackNum);#endif /* VIRTUAL_STACK */    netPoolShow (_pNetSysPool);    }/********************************************************************************* mbufShow - report mbuf statistics** This routine displays the distribution of mbufs in the network.** RETURNS: N/A*/void mbufShow (void)    {#ifdef VIRTUAL_STACK    virtualStackIdCheck();    printf("stack number %d\n", myStackNum);#endif /* VIRTUAL_STACK */    netPoolShow (_pNetDpool);    }/******************************************************************************** netShowInit - initialize network show routines** This routine links the network show facility into the VxWorks system.* These routines are included automatically if INCLUDE_NET_SHOW* is defined.** RETURNS: N/A*/void netShowInit (void)    {    if (bufferedRtShow)        routeBuf = KHEAP_ALLOC (rtMem);    }/********************************************************************************* arpShow - display entries in the system ARP table** This routine displays the current Internet-to-Ethernet address mappings * in the ARP table.** EXAMPLE* .CS*     -> arpShow**     LINK LEVEL ARP TABLE*     Destination      LL Address        Flags  Refcnt Use        Interface*     ---------------------------------------------------------------------*     90.0.0.63        08:00:3e:23:79:e7 0x405  0      82         lo0*     ---------------------------------------------------------------------* .CE** Some configuration is required when this routine is to be used remotely over* the network eg. through a telnet session or through the host shell using * WDB_COMM_NETWORK. If more than 5 entries are expected in the table the * parameter RT_BUFFERED_DISPLAY should be set to TRUE to prevent a possible* deadlock. This requires a buffer whose size can be set with RT_DISPLAY_MEMORY.* It will limit the number of entries that can be displayed (each entry requires* approx. 70 bytes).** RETURNS: N/A*/void arpShow (void)    {    char *dashLine = "---------------------------------------------------------------------\n";    char *topLine =  "Destination      LL Address        Flags  Refcnt Use        Interface\n";#ifdef VIRTUAL_STACK    printf("stack number %d\n", myStackNum);#endif /* VIRTUAL_STACK */    printf ("\nLINK LEVEL ARP TABLE\n");    printf ("%s", topLine);    printf ("%s", dashLine);    routeTableShow (RT_ARP); 		/* show ARP routes */    printf ("%s", dashLine);    }/********************************************************************************* arptabShow - display the known ARP entries** This routine displays current Internet-to-Ethernet address mappings in the* ARP table.** RETURNS: N/A** INTERNAL* This just calls arpShow.  It is provided for compatablity.* Migrating to arpShow to be more compliant with WRS naming.*/void arptabShow (void)    {    arpShow ();    }/******************************************************************************* routestatShow - display routing statistics** This routine displays routing statistics.** RETURNS: N/A** INTERNAL* When using the Tornado shell, this routine is only available if an* "@" sign is prepended to the routine name. Otherwise, it is preempted* by a built-in version.*/void routestatShow (void)    {#ifdef VIRTUAL_STACK    virtualStackIdCheck();    printf ("routing: (stack number %d)\n", myStackNum);#else    printf ("routing:\n");#endif /* VIRTUAL_STACK */    printf ("\t%u bad routing redirect%s\n", rtstat.rts_badredirect,	    plural (rtstat.rts_badredirect));    printf ("\t%u dynamically created route%s\n", rtstat.rts_dynamic,	    plural (rtstat.rts_dynamic));    printf ("\t%u new gateway%s due to redirects\n", rtstat.rts_newgateway,	    plural (rtstat.rts_newgateway));    printf ("\t%u destination%s found unreachable\n", rtstat.rts_unreach,	    plural (rtstat.rts_unreach));    printf ("\t%u use%s of a wildcard route\n", rtstat.rts_wildcard,	    plural (rtstat.rts_wildcard));    }/********************************************************************************* routeShow - display all IP routes (summary information)** This routine displays the list of destinations in the routing table* along with the next-hop gateway and associated interface for each entry.* It separates the routes into network routes and host-specific entries,* but does not display the netmask for a route since it was created for* class-based routes which used predetermined values for that field.** The IP forwarding process will only use the first route entry to a * destination. When multiple routes exist to the same destination with* the same netmask (which is not shown), the first route entry uses the* lowest administrative weight. The remaining entries (listed as additional* routes) use the same destination address. One of those entries will* replace the primary route if it is deleted.** EXAMPLE* .CS*     -> routeShow**     ROUTE NET TABLE*     Destination      Gateway          Flags  Refcnt Use        Interface*     --------------------------------------------------------------------*     90.0.0.0         90.0.0.63        0x1    1      142        enp0*     10.0.0.0         90.0.0.70        0x1    1      142        enp0*       Additional routes to 10.0.0.0:*                      80.0.0.70        0x1    0      120        enp1*     --------------------------------------------------------------------**     ROUTE HOST TABLE*     Destination      Gateway          Flags  Refcnt Use        Interface*     --------------------------------------------------------------------*     127.0.0.1        127.0.0.1        0x101  0      82         lo0*     --------------------------------------------------------------------* .CE** The flags field represents a decimal value of the flags specified* for a given route.  The following is a list of currently available* flag values:** .TS* tab(|);* l l .*     0x1     | - route is usable (that is, "up")*     0x2     | - destination is a gateway*     0x4     | - host specific routing entry*     0x8     | - host or net unreachable*     0x10    | - created dynamically (by redirect)*     0x20    | - modified dynamically (by redirect)*     0x40    | - message confirmed*     0x80    | - subnet mask present*     0x100   | - generate new routes on use*     0x200   | - external daemon resolves name*     0x400   | - generated by ARP*     0x800   | - manually added (static)*     0x1000  | - just discard packets (during updates)*     0x2000  | - modified by management protocol*     0x4000  | - protocol specific routing flag*     0x8000  | - protocol specific routing flag* .TE** In the above display example, the entry in the ROUTE NET TABLE has a * flag value of 1, which indicates that this route is "up" and usable and * network specific (the 0x4 bit is turned off).  The entry in the ROUTE * HOST TABLE has a flag value of 5 (0x1 OR'ed with 0x4), which indicates * that this route is "up" and usable and host-specific.** Some configuration is required when this routine is to be used remotely over* the network eg. through a telnet session or through the host shell using * WDB_COMM_NETWORK. If more than 5 routes are expected in the table the * parameter RT_BUFFERED_DISPLAY should be set to TRUE to prevent a possible* deadlock. This requires a buffer whose size can be set with RT_DISPLAY_MEMORY.* It will limit the number of routes that can be displayed (each route requires* approx. 70 bytes).** RETURNS: N/A*/void routeShow (void)    {    char *dashLine = "--------------------------------------------------------------------\n";    char *topLine =  "Destination      Gateway          Flags  Refcnt Use        Interface\n";#ifdef VIRTUAL_STACK    virtualStackIdCheck();    printf("stack number %d\n", myStackNum);#endif /* VIRTUAL_STACK */    printf ("\nROUTE NET TABLE\n");    printf ("%s", topLine);    printf ("%s", dashLine);    routeTableShow (RT_NET);		/* show network routes */    printf ("%s", dashLine);    printf ("\nROUTE HOST TABLE\n");    printf ("%s", topLine);    printf ("%s", dashLine);    routeTableShow (RT_HST);		/* show host routes */    printf ("%s", dashLine);    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本伊人色综合网| 亚洲欧美视频在线观看视频| 成人黄页在线观看| 精品一区二区三区的国产在线播放| 亚洲日本韩国一区| 国产亲近乱来精品视频| 日韩亚洲欧美在线| 日韩一区二区三区免费看| 欧美美女一区二区在线观看| 91国偷自产一区二区三区观看| thepron国产精品| 99久久亚洲一区二区三区青草| 国内精品免费在线观看| 久久精品国产成人一区二区三区| 日本午夜精品一区二区三区电影| 天天做天天摸天天爽国产一区 | 国产成人av影院| 韩国毛片一区二区三区| 男男成人高潮片免费网站| 蜜臀精品一区二区三区在线观看| 天使萌一区二区三区免费观看| 亚洲18女电影在线观看| 日本一区中文字幕| 精油按摩中文字幕久久| 国产一区二区三区四| 国产iv一区二区三区| 成人免费va视频| 91麻豆123| 在线播放日韩导航| 久久久午夜电影| 综合激情成人伊人| 亚洲一卡二卡三卡四卡无卡久久| 亚洲精品视频一区| 亚洲一级二级三级在线免费观看| 亚洲一区二区三区视频在线播放 | 国产精品成人在线观看 | 欧美大片一区二区| 国产欧美日韩不卡| 亚洲综合图片区| 日韩电影在线观看网站| 狠狠色综合日日| av一二三不卡影片| 制服丝袜av成人在线看| 久久综合999| 亚洲色图在线看| 日韩成人免费在线| 成人高清视频免费观看| 在线欧美日韩国产| 精品久久久久av影院| 亚洲欧洲日韩一区二区三区| 亚洲一区二区三区四区在线| 国内精品第一页| 色美美综合视频| 91精品在线麻豆| 国产精品理论片| 免费成人在线网站| 99精品一区二区三区| 欧美精品一区二区三区在线播放| 国产精品青草久久| 麻豆成人久久精品二区三区红 | 91小视频在线观看| 欧美成人国产一区二区| 亚洲精品亚洲人成人网在线播放| 美脚の诱脚舐め脚责91| 欧美在线观看视频一区二区三区| 久久久亚洲午夜电影| 亚洲一卡二卡三卡四卡无卡久久| 国产美女精品在线| 91精品国产综合久久香蕉麻豆| 亚洲日本va午夜在线电影| 另类调教123区| 欧美日韩国产影片| 中文字幕一区二区三区乱码在线| 蜜臂av日日欢夜夜爽一区| 91麻豆免费看| 中文字幕va一区二区三区| 激情综合网天天干| 欧美一区中文字幕| 亚洲va韩国va欧美va精品| 色88888久久久久久影院按摩| 久久久影院官网| 国内精品视频666| 欧美一级电影网站| 五月婷婷久久综合| 欧美乱熟臀69xxxxxx| 成人欧美一区二区三区小说| 国产精品自在欧美一区| 精品粉嫩aⅴ一区二区三区四区| 亚洲va欧美va天堂v国产综合| 在线亚洲免费视频| 自拍偷拍欧美精品| www.亚洲国产| 中文字幕亚洲区| heyzo一本久久综合| 国产精品久久久久久久岛一牛影视 | 亚洲成人av资源| 欧美日韩国产a| 五月婷婷另类国产| 91麻豆精品久久久久蜜臀| 性做久久久久久久久| 欧美高清你懂得| 日本不卡在线视频| 亚洲精品一线二线三线无人区| 日韩电影在线看| 91精品国产综合久久婷婷香蕉| 亚洲一级二级在线| 欧美性猛交xxxx乱大交退制版| 亚洲日本va午夜在线影院| 在线观看国产91| 一区二区三区 在线观看视频| 国产suv精品一区二区三区| 欧美激情一区在线| 成人app在线观看| 一区二区三区国产| 欧美一区日本一区韩国一区| 奇米影视一区二区三区| 精品久久久久久久久久久久久久久| 狠狠色伊人亚洲综合成人| 精品久久久久99| 色综合久久99| 五月天国产精品| 国产亚洲综合性久久久影院| 91麻豆免费视频| 青娱乐精品在线视频| 国产日韩精品一区| 欧美性猛片aaaaaaa做受| 亚洲成人av电影在线| 91精品国产欧美一区二区成人 | 91亚洲国产成人精品一区二三| 亚洲国产一区二区a毛片| 欧美成人三级电影在线| 99热国产精品| 蜜桃av噜噜一区| 亚洲美女淫视频| 精品国产伦一区二区三区观看方式 | 色偷偷成人一区二区三区91 | 国产精品免费看片| 91麻豆精品久久久久蜜臀| 国产伦精品一区二区三区免费 | 亚洲日本在线a| 欧美一级午夜免费电影| 国产精品1024| 亚洲高清免费视频| 欧美经典一区二区三区| 欧美伦理影视网| 色噜噜狠狠成人中文综合| 久久成人麻豆午夜电影| 亚洲美女少妇撒尿| 精品国产污污免费网站入口 | 91福利国产成人精品照片| 久久精品国产久精国产爱| 亚洲美女屁股眼交| 欧美国产视频在线| 欧美久久一区二区| 成人毛片视频在线观看| 久久机这里只有精品| 亚洲一区成人在线| 自拍偷拍欧美激情| 国产精品久久久久三级| 欧美高清激情brazzers| 在线观看成人小视频| www.欧美.com| 国产成人aaa| 国产老肥熟一区二区三区| 日本aⅴ免费视频一区二区三区 | www.亚洲国产| 国产乱子轮精品视频| 青青国产91久久久久久| 制服丝袜亚洲精品中文字幕| 99re视频精品| 成人av综合在线| 国产成人av资源| 成人一区在线观看| 国产**成人网毛片九色 | 久久日韩粉嫩一区二区三区| 7777精品伊人久久久大香线蕉完整版| 99re视频这里只有精品| caoporn国产精品| 99天天综合性| 91麻豆视频网站| 色94色欧美sute亚洲线路一久| av综合在线播放| 色婷婷av一区二区三区软件| 99精品1区2区| 色狠狠综合天天综合综合| 色八戒一区二区三区| 色噜噜狠狠成人中文综合| 欧美在线一二三四区| 欧美日韩免费观看一区二区三区| 欧美中文一区二区三区| 欧美挠脚心视频网站| 日韩午夜三级在线| 久久夜色精品国产欧美乱极品| 久久综合色之久久综合| 亚洲国产精品v| 亚洲欧美色综合| 日日摸夜夜添夜夜添国产精品| 蜜臀久久99精品久久久画质超高清| 极品美女销魂一区二区三区免费| 国产麻豆精品95视频|