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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? uip.lst

?? c51版本的uip(一個(gè)超小型的TCPIP棧,支持tcpudparpicmp.
?? LST
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
 428   2                      UIP_STAT(++uip_stat.ip.chkerr);
 429   2                      UIP_LOG("ip: bad checksum.");    
 430   2                      goto drop;
 431   2              }
 432   1              
 433   1              if(BUF->proto == IP_PROTO_TCP)  /* Check for TCP packet. If so, jump
 434   1                      to the tcp_input label. */
 435   1                      goto tcp_input;
 436   1              
 437   1              if(BUF->proto != IP_PROTO_ICMP) { /* We only allow ICMP packets from
 438   2                      here. */
 439   2                      UIP_STAT(++uip_stat.ip.drop);
 440   2                      UIP_STAT(++uip_stat.ip.protoerr);
 441   2                      UIP_LOG("ip: neither tcp nor icmp.");        
 442   2                      goto drop;
 443   2              }
 444   1              
 445   1              UIP_STAT(++uip_stat.icmp.recv);
 446   1                      
 447   1              /* ICMP echo (i.e., ping) processing. This is simple, we only change
 448   1              the ICMP type from ECHO to ECHO_REPLY and adjust the ICMP
 449   1              checksum before we return the packet. */
 450   1              if(ICMPBUF->type != ICMP_ECHO) {
 451   2                      UIP_STAT(++uip_stat.icmp.drop);
 452   2                      UIP_STAT(++uip_stat.icmp.typeerr);
 453   2                      UIP_LOG("icmp: not icmp echo.");
 454   2                      goto drop;
 455   2              }
 456   1                      
 457   1              ICMPBUF->type = ICMP_ECHO_REPLY;
 458   1              
 459   1              if(ICMPBUF->icmpchksum >= htons(0xffff - (ICMP_ECHO << 8))) {
 460   2                      ICMPBUF->icmpchksum += htons(ICMP_ECHO << 8) + 1;
 461   2              } else {
 462   2                      ICMPBUF->icmpchksum += htons(ICMP_ECHO << 8);
 463   2              }
 464   1                      
 465   1              /* Swap IP addresses. */
 466   1              tmpport = BUF->destipaddr[0];
 467   1              BUF->destipaddr[0] = BUF->srcipaddr[0];
 468   1              BUF->srcipaddr[0] = tmpport;
 469   1              tmpport = BUF->destipaddr[1];
 470   1              BUF->destipaddr[1] = BUF->srcipaddr[1];
 471   1              BUF->srcipaddr[1] = tmpport;
 472   1              
 473   1              UIP_STAT(++uip_stat.icmp.sent);
 474   1              goto send;
 475   1                      
 476   1              /* TCP input processing. */  
 477   1      tcp_input:
 478   1              
 479   1              UIP_STAT(++uip_stat.tcp.recv);
 480   1              
 481   1              if(uip_tcpchksum() != 0xffff) {   /* Compute and check the TCP
 482   2                      checksum. */
 483   2                      UIP_STAT(++uip_stat.tcp.drop);
 484   2                      UIP_STAT(++uip_stat.tcp.chkerr);
 485   2                      UIP_LOG("tcp: bad checksum.");    
 486   2                      goto drop;
 487   2              }
 488   1              
 489   1              /* Demultiplex this segment. */
C51 COMPILER V7.08   UIP                                                                   12/26/2003 07:27:14 PAGE 9   

 490   1              /* First check any active connections. */
 491   1              for(uip_conn = &uip_conns[0]; uip_conn < &uip_conns[UIP_CONNS]; ++uip_conn) 
 492   1              {
 493   2                      if(uip_conn->tcpstateflags != CLOSED &&
 494   2                              BUF->srcipaddr[0] == uip_conn->ripaddr[0] &&
 495   2                              BUF->srcipaddr[1] == uip_conn->ripaddr[1] &&
 496   2                              BUF->destport == uip_conn->lport &&
 497   2                              BUF->srcport == uip_conn->rport)
 498   2                              goto found;    
 499   2              }
 500   1              
 501   1              /* If we didn't find and active connection that expected the packet,
 502   1              either this packet is an old duplicate, or this is a SYN packet
 503   1              destined for a connection in LISTEN. If the SYN flag isn't set,
 504   1              it is an old packet and we send a RST. */
 505   1              if(BUF->flags != TCP_SYN)
 506   1                      goto reset;
 507   1              
 508   1              tmpport = BUF->destport;
 509   1              /* Next, check listening connections. */  
 510   1              for(c = 0; c < UIP_LISTENPORTS && uip_listenports[c] != 0; ++c) 
 511   1              {
 512   2                      if(tmpport == uip_listenports[c])
 513   2                              goto found_listen;
 514   2              }
 515   1              
 516   1              /* No matching connection found, so we send a RST packet. */
 517   1              UIP_STAT(++uip_stat.tcp.synrst);
 518   1      reset:
 519   1                      
 520   1              /* We do not send resets in response to resets. */
 521   1              if(BUF->flags & TCP_RST) 
 522   1                      goto drop;
 523   1              
 524   1              UIP_STAT(++uip_stat.tcp.rst);
 525   1              
 526   1              BUF->flags = TCP_RST | TCP_ACK;
 527   1              uip_len = 40;
 528   1              BUF->tcpoffset = 5 << 4;
 529   1              
 530   1              /* Flip the seqno and ackno fields in the TCP header. */
 531   1              c = BUF->seqno[3];
 532   1              BUF->seqno[3] = BUF->ackno[3];  
 533   1              BUF->ackno[3] = c;
 534   1              
 535   1              c = BUF->seqno[2];
 536   1              BUF->seqno[2] = BUF->ackno[2];  
 537   1              BUF->ackno[2] = c;
 538   1              
 539   1              c = BUF->seqno[1];
 540   1              BUF->seqno[1] = BUF->ackno[1];
 541   1              BUF->ackno[1] = c;
 542   1              
 543   1              c = BUF->seqno[0];
 544   1              BUF->seqno[0] = BUF->ackno[0];  
 545   1              BUF->ackno[0] = c;
 546   1              
 547   1              /* We also have to increase the sequence number we are
 548   1              acknowledging. If the least significant byte overflowed, we need
 549   1              to propagate the carry to the other bytes as well. */
 550   1              if(++BUF->ackno[3] == 0) {
 551   2                      if(++BUF->ackno[2] == 0) {
C51 COMPILER V7.08   UIP                                                                   12/26/2003 07:27:14 PAGE 10  

 552   3                              if(++BUF->ackno[1] == 0) {
 553   4                                      ++BUF->ackno[0];
 554   4                              }
 555   3                      }
 556   2              }
 557   1              
 558   1              /* Swap port numbers. */
 559   1              tmpport = BUF->srcport;
 560   1              BUF->srcport = BUF->destport;
 561   1              BUF->destport = tmpport;
 562   1              
 563   1              /* Swap IP addresses. */
 564   1              tmpport = BUF->destipaddr[0];
 565   1              BUF->destipaddr[0] = BUF->srcipaddr[0];
 566   1              BUF->srcipaddr[0] = tmpport;
 567   1              tmpport = BUF->destipaddr[1];
 568   1              BUF->destipaddr[1] = BUF->srcipaddr[1];
 569   1              BUF->srcipaddr[1] = tmpport;
 570   1              
 571   1              /* And send out the RST packet! */
 572   1              goto tcp_send_noconn;
 573   1                      
 574   1              /* This label will be jumped to if we matched the incoming packet
 575   1              with a connection in LISTEN. In that case, we should create a new
 576   1              connection and send a SYNACK in return. */
 577   1      found_listen:
 578   1              /* First we check if there are any connections avaliable. Unused
 579   1              connections are kept in the same table as used connections, but
 580   1              unused ones have the tcpstate set to CLOSED. */
 581   1              for(c = 0; c < UIP_CONNS; ++c) 
 582   1              {
 583   2                      if(uip_conns[c].tcpstateflags == CLOSED) 
 584   2                              goto found_unused_connection;
 585   2              }
 586   1              for(c = 0; c < UIP_CONNS; ++c) 
 587   1              {
 588   2                      if(uip_conns[c].tcpstateflags == TIME_WAIT) 
 589   2                              goto found_unused_connection;
 590   2              }
 591   1              /* All connections are used already, we drop packet and hope that
 592   1              the remote end will retransmit the packet at a time when we have
 593   1              more spare connections. */
 594   1              UIP_STAT(++uip_stat.tcp.syndrop);
 595   1              UIP_LOG("tcp: found no unused connections.");
 596   1              goto drop;
 597   1              
 598   1              /* This label will be jumped to if we have found an unused
 599   1              connection that we can use. */
 600   1      found_unused_connection:
 601   1              uip_conn = &uip_conns[c];
 602   1              
 603   1              /* Fill in the necessary fields for the new connection. */
 604   1              uip_conn->timer = UIP_RTO;
 605   1              uip_conn->nrtx = 0;
 606   1              uip_conn->lport = BUF->destport;
 607   1              uip_conn->rport = BUF->srcport;
 608   1              uip_conn->ripaddr[0] = BUF->srcipaddr[0];
 609   1              uip_conn->ripaddr[1] = BUF->srcipaddr[1];
 610   1              uip_conn->tcpstateflags = SYN_RCVD | UIP_OUTSTANDING;
 611   1              
 612   1              uip_conn->snd_nxt[0] = uip_conn->ack_nxt[0] = iss[0];
 613   1              uip_conn->snd_nxt[1] = uip_conn->ack_nxt[1] = iss[1];
C51 COMPILER V7.08   UIP                                                                   12/26/2003 07:27:14 PAGE 11  

 614   1              uip_conn->snd_nxt[2] = uip_conn->ack_nxt[2] = iss[2];
 615   1              uip_conn->snd_nxt[3] = uip_conn->ack_nxt[3] = iss[3];
 616   1              uip_add_ack_nxt(1);
 617   1              
 618   1              /* rcv_nxt should be the seqno from the incoming packet + 1. */
 619   1              uip_conn->rcv_nxt[3] = BUF->seqno[3];
 620   1              uip_conn->rcv_nxt[2] = BUF->seqno[2];
 621   1              uip_conn->rcv_nxt[1] = BUF->seqno[1];
 622   1              uip_conn->rcv_nxt[0] = BUF->seqno[0];
 623   1              uip_add_rcv_nxt(1);
 624   1              
 625   1              /* Parse the TCP MSS option, if present. */
 626   1              if((BUF->tcpoffset & 0xf0) > 0x50) 
 627   1              {
 628   2                      for(c = 0; c < ((BUF->tcpoffset >> 4) - 5) << 2 ;) 
 629   2                      {
 630   3                              opt = uip_buf[40 + UIP_LLH_LEN + c];
 631   3                              if(opt == 0x00) 
 632   3                              {
 633   4                                      /* End of options. */   
 634   4                                      break;
 635   4                              } else if(opt == 0x01) 
 636   3                              {
 637   4                                      ++c;
 638   4                                      /* NOP option. */
 639   4                              } else if(opt == 0x02 &&
 640   3                                      uip_buf[40 + UIP_LLH_LEN + c + 1] == 0x04) 
 641   3                              {
 642   4                                      /* An MSS option with the right option length. */       
 643   4                                      tmpport = (uip_buf[40 + UIP_LLH_LEN + c + 2] << 8) |
 644   4                                              uip_buf[40 + UIP_LLH_LEN + c + 3];
 645   4                                      uip_conn->mss = tmpport > UIP_TCP_MSS? UIP_TCP_MSS: tmpport;
 646   4                                      

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲三级视频在线观看| 亚洲日本va在线观看| 色综合欧美在线视频区| 午夜精品久久久久久久久久| 国产日韩av一区| 日韩视频免费观看高清完整版在线观看 | 久久久久久久久伊人| 色老汉av一区二区三区| 国产一区二区0| 天天综合天天做天天综合| 中文字幕亚洲区| 久久久777精品电影网影网| 欧美日产国产精品| 色偷偷久久人人79超碰人人澡 | 欧洲一区二区三区在线| 国产成人在线网站| 久久66热偷产精品| 日韩精品欧美精品| 一区二区三区不卡视频| 中文字幕乱码亚洲精品一区| 欧美不卡在线视频| 欧美日韩在线三级| 色欧美日韩亚洲| 成人看片黄a免费看在线| 久久99精品国产麻豆婷婷| 亚洲第一激情av| 一区二区三区欧美在线观看| 中文字幕av一区二区三区免费看| 51精品秘密在线观看| 欧美色大人视频| 欧美午夜在线观看| 在线观看视频91| 在线视频亚洲一区| 在线看不卡av| 欧美日韩高清在线| 欧美日本在线播放| 91精品国产乱| 欧美人xxxx| 欧美一级二级三级蜜桃| 日韩午夜激情视频| 91精品国模一区二区三区| 欧美日韩另类一区| 欧美精品久久久久久久多人混战 | 成人app软件下载大全免费| 国产精品77777| 成人免费观看视频| 粉嫩高潮美女一区二区三区| 懂色中文一区二区在线播放| 波多野结衣一区二区三区 | 欧美探花视频资源| 欧美日韩高清影院| 欧美变态tickling挠脚心| 日韩欧美亚洲另类制服综合在线| 欧美日韩美女一区二区| 91精品国产一区二区三区蜜臀 | 成人激情动漫在线观看| av男人天堂一区| 在线精品视频免费播放| 欧美精品高清视频| 久久伊99综合婷婷久久伊| 久久久久国产精品麻豆ai换脸| 国产精品丝袜黑色高跟| 成人欧美一区二区三区1314| 一区二区三区在线看| 日韩精品五月天| 国产一区二区不卡老阿姨| 91在线观看高清| 欧美午夜电影网| 精品日韩一区二区三区免费视频| 久久精品水蜜桃av综合天堂| 亚洲免费伊人电影| 蜜臀久久久久久久| 成人免费观看av| 日韩黄色小视频| 日本不卡视频在线观看| 亚洲国产欧美日韩另类综合| 老司机精品视频一区二区三区| 美女性感视频久久| 国模少妇一区二区三区| 国产一区二区精品久久99| 粉嫩aⅴ一区二区三区四区| 成人免费毛片app| 在线亚洲一区观看| 精品国产乱码久久久久久蜜臀| 欧美成人一区二区三区片免费 | 国产日韩精品一区二区三区 | 中文字幕精品一区| 亚洲va欧美va人人爽午夜| 国产精品一级黄| 欧美亚洲动漫精品| 国产欧美日韩综合| 日本欧美在线看| 色久优优欧美色久优优| 久久久综合九色合综国产精品| 亚洲一区在线观看免费| 国产成人午夜视频| 日韩欧美国产三级电影视频| 亚洲综合激情小说| 成人毛片在线观看| 久久夜色精品国产欧美乱极品| 亚洲午夜视频在线| 播五月开心婷婷综合| 日韩欧美一区电影| 亚洲一区二区三区四区在线免费观看| 韩国av一区二区三区四区| 欧美日免费三级在线| 综合欧美亚洲日本| 国产成人一区在线| 精品久久一区二区| 日本午夜精品视频在线观看 | 国产**成人网毛片九色 | 欧美大片国产精品| 亚洲电影在线免费观看| 99热这里都是精品| 国产片一区二区| 国产一区二区在线免费观看| 欧美一区二区不卡视频| 亚洲国产美女搞黄色| 色综合中文字幕国产 | 欧美一级欧美三级| 亚洲国产乱码最新视频 | 亚洲精品成人少妇| 成人手机电影网| 国产欧美一区二区三区沐欲| 韩国成人精品a∨在线观看| 欧美日韩国产电影| 亚洲成人黄色小说| 欧美丰满美乳xxx高潮www| 亚洲自拍欧美精品| 欧美日韩一区二区在线观看视频 | 91首页免费视频| 国产精品国产三级国产| 成人高清视频免费观看| 国产精品伦一区| yourporn久久国产精品| 国产精品精品国产色婷婷| 成人av网址在线观看| 综合精品久久久| 色婷婷久久久亚洲一区二区三区| 自拍偷拍亚洲综合| 色婷婷综合久色| 亚洲一二三四在线| 在线播放中文一区| 麻豆专区一区二区三区四区五区| 欧美一级日韩一级| 国产在线精品不卡| 中文字幕乱码久久午夜不卡| 成人精品一区二区三区四区 | 91色在线porny| 亚洲伦在线观看| 欧美日韩美少妇| 久久99热这里只有精品| 国产视频一区二区在线观看| 成人网页在线观看| 一区二区在线观看免费| 91精品综合久久久久久| 免费精品99久久国产综合精品| 精品欧美乱码久久久久久| 国产不卡在线一区| 亚洲精品乱码久久久久久黑人| 欧美视频一区二区三区在线观看 | 91免费国产视频网站| 亚洲成人av一区二区| 久久综合久久综合亚洲| 成人av免费在线| 亚洲韩国一区二区三区| 日韩精品中文字幕在线不卡尤物| 国产成人丝袜美腿| 亚洲成在人线免费| 欧美精品一区二区三区蜜桃| 成人av在线网站| 日本麻豆一区二区三区视频| 中文字幕av一区二区三区| 欧美色精品天天在线观看视频| 九九国产精品视频| 一区二区三区四区不卡视频| 日韩欧美综合一区| av激情综合网| 蜜臀av性久久久久蜜臀aⅴ流畅| 中文字幕第一页久久| 欧美另类变人与禽xxxxx| 国产成人av影院| 偷偷要91色婷婷| 中文字幕永久在线不卡| 欧美一区二区三区性视频| 99久久99久久久精品齐齐| 久久草av在线| 一区二区三区四区视频精品免费| 日韩三级在线免费观看| 色婷婷综合久久久久中文一区二区 | 午夜伊人狠狠久久| 久久久久久久综合| 欧美丰满少妇xxxxx高潮对白 | 国产精品影视在线观看| 午夜亚洲福利老司机| 国产精品久久久久久久久快鸭| 欧美一区二区三区白人| 欧美色成人综合| 色婷婷综合久色| 成人黄页在线观看|