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

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

?? cgi.lst

?? 58enc28j06protuesuip09.rar
?? LST
字號:
C51 COMPILER V8.15   CGI                                                                   08/11/2009 15:07:53 PAGE 1   


C51 COMPILER V8.15, COMPILATION OF MODULE CGI
OBJECT MODULE PLACED IN .\debug\cgi.obj
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE cgi.c LARGE BROWSE DEBUG OBJECTEXTEND PRINT(.\debug\cgi.lst) OBJECT(.\debug
                    -\cgi.obj)

line level    source

   1          /**
   2           * \addtogroup httpd
   3           * @{
   4           */
   5          
   6          /**
   7           * \file
   8           * HTTP server script language C functions file.
   9           * \author Adam Dunkels <adam@dunkels.com>
  10           *
  11           * This file contains functions that are called by the web server
  12           * scripts. The functions takes one argument, and the return value is
  13           * interpreted as follows. A zero means that the function did not
  14           * complete and should be invoked for the next packet as well. A
  15           * non-zero value indicates that the function has completed and that
  16           * the web server should move along to the next script line.
  17           *
  18           */
  19          
  20          /*
  21           * Copyright (c) 2001, Adam Dunkels.
  22           * All rights reserved. 
  23           *
  24           * Redistribution and use in source and binary forms, with or without 
  25           * modification, are permitted provided that the following conditions 
  26           * are met: 
  27           * 1. Redistributions of source code must retain the above copyright 
  28           *    notice, this list of conditions and the following disclaimer. 
  29           * 2. Redistributions in binary form must reproduce the above copyright 
  30           *    notice, this list of conditions and the following disclaimer in the 
  31           *    documentation and/or other materials provided with the distribution. 
  32           * 3. The name of the author may not be used to endorse or promote
  33           *    products derived from this software without specific prior
  34           *    written permission.  
  35           *
  36           * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
  37           * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  38           * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  39           * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  40           * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  41           * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  42           * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  43           * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  44           * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  45           * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  46           * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  
  47           *
  48           * This file is part of the uIP TCP/IP stack.
  49           *
  50           * $Id: cgi.c,v 1.23.2.4 2003/10/07 13:22:27 adam Exp $
  51           *
  52           */
  53          
  54          #include "uip.h"
C51 COMPILER V8.15   CGI                                                                   08/11/2009 15:07:53 PAGE 2   

  55          #include "cgi.h"
  56          #include "httpd.h"
  57          #include "fs.h"
  58          
  59          #include <stdio.h>
  60          #include <string.h>
  61          
  62          static u8_t print_stats(u8_t next);
  63          static u8_t file_stats(u8_t next);
  64          static u8_t tcp_stats(u8_t next);
  65          
  66          cgifunction cgitab[] = {
  67            print_stats,   /* CGI function "a" */
  68            file_stats,    /* CGI function "b" */
  69            tcp_stats      /* CGI function "c" */
  70          };
  71          
  72          static const char closed[] =   /*  "CLOSED",*/
  73          {0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0};
  74          static const char syn_rcvd[] = /*  "SYN-RCVD",*/
  75          {0x53, 0x59, 0x4e, 0x2d, 0x52, 0x43, 0x56, 
  76           0x44,  0};
  77          static const char syn_sent[] = /*  "SYN-SENT",*/
  78          {0x53, 0x59, 0x4e, 0x2d, 0x53, 0x45, 0x4e, 
  79           0x54,  0};
  80          static const char established[] = /*  "ESTABLISHED",*/
  81          {0x45, 0x53, 0x54, 0x41, 0x42, 0x4c, 0x49, 0x53, 0x48, 
  82           0x45, 0x44, 0};
  83          static const char fin_wait_1[] = /*  "FIN-WAIT-1",*/
  84          {0x46, 0x49, 0x4e, 0x2d, 0x57, 0x41, 0x49, 
  85           0x54, 0x2d, 0x31, 0};
  86          static const char fin_wait_2[] = /*  "FIN-WAIT-2",*/
  87          {0x46, 0x49, 0x4e, 0x2d, 0x57, 0x41, 0x49, 
  88           0x54, 0x2d, 0x32, 0};
  89          static const char closing[] = /*  "CLOSING",*/
  90          {0x43, 0x4c, 0x4f, 0x53, 0x49, 
  91           0x4e, 0x47, 0};
  92          static const char time_wait[] = /*  "TIME-WAIT,"*/
  93          {0x54, 0x49, 0x4d, 0x45, 0x2d, 0x57, 0x41, 
  94           0x49, 0x54, 0};
  95          static const char last_ack[] = /*  "LAST-ACK"*/
  96          {0x4c, 0x41, 0x53, 0x54, 0x2d, 0x41, 0x43, 
  97           0x4b, 0};
  98          
  99          static const char *states[] = {
 100            closed,
 101            syn_rcvd,
 102            syn_sent,
 103            established,
 104            fin_wait_1,
 105            fin_wait_2,
 106            closing,
 107            time_wait,
 108            last_ack};
 109            
 110          
 111          /*-----------------------------------------------------------------------------------*/
 112          /* print_stats:
 113           *
 114           * Prints out a part of the uIP statistics. The statistics data is
 115           * written into the uip_appdata buffer. It overwrites any incoming
 116           * packet.
C51 COMPILER V8.15   CGI                                                                   08/11/2009 15:07:53 PAGE 3   

 117           */
 118          static u8_t
 119          print_stats(u8_t next)
 120          {
 121   1      #if UIP_STATISTICS
 122   1        u16_t i, j;
 123   1        u8_t *buf;
 124   1        u16_t *databytes;
 125   1        
 126   1        if(next) {
 127   2          /* If our last data has been acknowledged, we move on the next
 128   2             chunk of statistics. */
 129   2          hs->count = hs->count + 4;
 130   2          if(hs->count >= sizeof(struct uip_stats)/sizeof(u16_t)) {
 131   3            /* We have printed out all statistics, so we return 1 to
 132   3               indicate that we are done. */
 133   3            return 1;
 134   3          }
 135   2        }
 136   1      
 137   1        /* Write part of the statistics into the uip_appdata buffer. */
 138   1        databytes = (u16_t *)&uip_stat + hs->count;
 139   1        buf       = (u8_t *)uip_appdata;
 140   1      
 141   1        j = 4 + 1;
 142   1        i = hs->count;
 143   1        while (i < sizeof(struct uip_stats)/sizeof(u16_t) && --j > 0) {
 144   2          sprintf((char *)buf, "%5u\r\n", *databytes);
 145   2          ++databytes;
 146   2          buf += 6;
 147   2          ++i;
 148   2        }
 149   1      
 150   1        /* Send the data. */
 151   1        uip_send(uip_appdata, buf - uip_appdata);
 152   1        
 153   1        return 0;
 154   1      #else
                return 1;
              #endif /* UIP_STATISTICS */
 157   1      }
 158          /*-----------------------------------------------------------------------------------*/
 159          static u8_t
 160          file_stats(u8_t next)
 161          {
 162   1        /* We use sprintf() to print the number of file accesses to a
 163   1           particular file (given as an argument to the function in the
 164   1           script). We then use uip_send() to actually send the data. */
 165   1        if(next) {
 166   2          return 1;
 167   2        }
 168   1        uip_send(uip_appdata, sprintf((char *)uip_appdata, "%5u", fs_count(&hs->script[4])));  
 169   1        return 0;
 170   1      }
 171          /*-----------------------------------------------------------------------------------*/
 172          static u8_t
 173          tcp_stats(u8_t next)
 174          {
 175   1        struct uip_conn *conn;  
 176   1      
 177   1        if(next) {
 178   2          /* If the previously sent data has been acknowledged, we move
C51 COMPILER V8.15   CGI                                                                   08/11/2009 15:07:53 PAGE 4   

 179   2             forward one connection. */
 180   2          if(++hs->count == UIP_CONNS) {
 181   3            /* If all connections has been printed out, we are done and
 182   3               return 1. */
 183   3            return 1;
 184   3          }
 185   2        }
 186   1        
 187   1        conn = &uip_conns[hs->count];
 188   1        if((conn->tcpstateflags & TS_MASK) == CLOSED) {
 189   2          uip_send(uip_appdata, sprintf((char *)uip_appdata,
 194   2                                        "<tr align=\"center\"><td>-</td><td>-</td><td>%u</td><td>%u</td><td>%c %c</td></tr>\r\n",
 194   2                                        conn->nrtx,
 194   2                                        conn->timer,
 194   2                                        (uip_outstanding(conn))? '*':' ',
 194   2                                        (uip_stopped(conn))? '!':' '));
 195   2        } else {
 196   2          uip_send(uip_appdata, sprintf((char *)uip_appdata,
 207   2                                        "<tr align=\"center\"><td>%u.%u.%u.%u:%u</td><td>%s</td><td>%u</td><td>%u</td><td>%c %c</td></tr>\r\
             -n",
 207   2                                        htons(conn->ripaddr[0]) >> 8,
 207   2                                        htons(conn->ripaddr[0]) & 0xff,
 207   2                                        htons(conn->ripaddr[1]) >> 8,
 207   2                                        htons(conn->ripaddr[1]) & 0xff,
 207   2                                        htons(conn->rport),
 207   2                                        states[conn->tcpstateflags & TS_MASK],
 207   2                                        conn->nrtx,
 207   2                                        conn->timer,
 207   2                                        (uip_outstanding(conn))? '*':' ',
 207   2                                        (uip_stopped(conn))? '!':' '));
 208   2        }
 209   1        return 0;
 210   1      }
 211          /*-----------------------------------------------------------------------------------*/


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =    962    ----
   CONSTANT SIZE    =    190    ----
   XDATA SIZE       =    122      13
   PDATA SIZE       =   ----    ----
   DATA SIZE        =   ----    ----
   IDATA SIZE       =   ----    ----
   BIT SIZE         =   ----    ----
END OF MODULE INFORMATION.


C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆精品一区二区av白丝在线| 久久毛片高清国产| 亚洲免费av高清| 99精品视频在线播放观看| 国产精品久久久久久久久免费丝袜 | 久久精品国产亚洲一区二区三区| 91精品国产91久久久久久一区二区| 日韩av不卡在线观看| 日韩欧美aaaaaa| 成人一区二区三区中文字幕| 亚洲美女区一区| 91.xcao| 国模少妇一区二区三区| |精品福利一区二区三区| 欧美性xxxxxxxx| 狠狠色丁香久久婷婷综| 亚洲青青青在线视频| 欧美丝袜丝交足nylons| 黄色资源网久久资源365| 中文字幕一区二区在线播放| 欧美四级电影网| 国产一区二区三区久久悠悠色av| 亚洲欧美另类久久久精品2019| 欧美人伦禁忌dvd放荡欲情| 国产又黄又大久久| 亚洲综合色视频| 久久久久久99精品| 欧美性色黄大片手机版| 国产一区999| 亚洲成a人片在线观看中文| 久久综合中文字幕| 欧美午夜不卡视频| 国产白丝精品91爽爽久久| 亚洲成人福利片| 一色桃子久久精品亚洲| 日韩免费一区二区| 在线亚洲一区二区| 成人教育av在线| 蜜臀久久久99精品久久久久久| 亚洲人成网站在线| 久久久久国产精品麻豆| 欧美一区二区视频观看视频| av中文字幕在线不卡| 久久国内精品视频| 亚洲国产欧美在线| 亚洲人亚洲人成电影网站色| 精品成人在线观看| 欧美精品粉嫩高潮一区二区| 99精品视频中文字幕| 国产风韵犹存在线视精品| 午夜欧美电影在线观看| 国产精品女人毛片| 久久噜噜亚洲综合| 精品区一区二区| 日韩亚洲欧美成人一区| 91国在线观看| 91麻豆国产福利精品| 成人黄页毛片网站| 国产一区二区在线视频| 久久国产婷婷国产香蕉| 毛片一区二区三区| 午夜av电影一区| 亚洲高清在线视频| 亚洲成人福利片| 亚洲一区二区三区中文字幕在线| 亚洲欧美日韩精品久久久久| 亚洲欧洲国产日韩| 亚洲天堂av一区| 中文字幕一区免费在线观看| 国产精品三级在线观看| 国产精品久久久久久妇女6080| 欧美高清在线精品一区| 国产三级精品三级| 国产亚洲精品精华液| 国产日韩欧美在线一区| 国产日韩精品一区二区三区| 国产香蕉久久精品综合网| 国产三级一区二区| 国产亚洲综合性久久久影院| 国产亚洲欧洲一区高清在线观看| 久久综合久久久久88| 国产亚洲欧美日韩在线一区| 国产精品乱码人人做人人爱| 国产精品成人免费精品自在线观看| 国产精品久久一级| 洋洋成人永久网站入口| 午夜精品久久久久久久| 看电影不卡的网站| 国产精品亚洲综合一区在线观看| 国产综合成人久久大片91| 国产伦精品一区二区三区免费 | 欧美日韩夫妻久久| 日韩欧美另类在线| 欧美国产激情二区三区| 亚洲欧美一区二区三区孕妇| 亚洲va天堂va国产va久| 久久丁香综合五月国产三级网站| 国产一区二区三区香蕉| 欧美日韩精品一区二区天天拍小说| 欧美日产在线观看| 久久伊99综合婷婷久久伊| 中文字幕在线不卡视频| 亚洲大片在线观看| 国产精品996| 欧美最新大片在线看| 欧美精品99久久久**| 精品久久国产97色综合| 中文字幕视频一区| 日本欧美肥老太交大片| www.性欧美| 91麻豆精品国产91久久久更新时间| 国产无人区一区二区三区| 亚洲男人天堂av网| 极品少妇一区二区三区精品视频| 成人高清免费观看| 欧美一区2区视频在线观看| 国产日韩精品一区二区三区在线| 亚洲成在线观看| 国产成人三级在线观看| 欧美老人xxxx18| 国产精品久久毛片av大全日韩| 天天综合色天天综合色h| 成人一区二区三区| 日韩一区二区在线观看视频播放| 国产精品传媒入口麻豆| 精品无人区卡一卡二卡三乱码免费卡 | www.日韩精品| 在线播放91灌醉迷j高跟美女| 亚洲国产高清不卡| 美日韩一级片在线观看| 在线国产亚洲欧美| 国产喂奶挤奶一区二区三区| 日本亚洲三级在线| 欧美中文字幕一区| 国产精品免费视频一区| 久久69国产一区二区蜜臀| 欧美天堂一区二区三区| 国产精品欧美一区喷水| 老色鬼精品视频在线观看播放| 欧美色偷偷大香| 亚洲免费在线电影| 成人精品国产一区二区4080 | 久久久一区二区三区捆绑**| 午夜av电影一区| 欧美中文字幕一区| 精品一区二区三区在线观看| 欧美日韩视频在线第一区| 自拍偷拍亚洲综合| 成人h动漫精品| 中文字幕欧美日本乱码一线二线| 日本大胆欧美人术艺术动态| 欧美性猛片xxxx免费看久爱| 一区在线播放视频| 高清不卡一区二区| 欧美国产日韩a欧美在线观看| 国产一区二区看久久| 精品国产电影一区二区| 蜜臀久久99精品久久久画质超高清 | 亚洲欧美电影院| 99在线精品视频| 中文字幕一区二区三区在线不卡 | 欧美一区二区成人6969| 日韩中文字幕1| 91精品国产综合久久福利 | 国产亚洲欧美日韩俺去了| 国内成人自拍视频| 久久综合av免费| 国产一区二区三区| 欧美激情一区在线观看| 成人免费视频国产在线观看| 国产精品亲子乱子伦xxxx裸| caoporen国产精品视频| 亚洲黄色片在线观看| 欧美日韩中文另类| 日韩高清在线电影| 久久中文娱乐网| 成人aaaa免费全部观看| 亚洲乱码一区二区三区在线观看| 精品处破学生在线二十三| 国产精品 日产精品 欧美精品| 久久久久久一级片| 成人性色生活片| 亚洲精品国产一区二区精华液| 欧美在线一区二区| 久久99国产精品免费网站| 国产丝袜美腿一区二区三区| 成人免费视频一区| 亚洲成a人v欧美综合天堂| 日韩一区二区在线看| 国产xxx精品视频大全| 一区二区三区av电影| 欧美一二三四区在线| 高清成人在线观看| 亚洲黄色尤物视频| 欧美mv和日韩mv的网站| 成人av网站在线观看| 亚洲一区二区三区四区五区中文 | 精品第一国产综合精品aⅴ| 国产99精品视频| 亚洲一区二区三区自拍|