资源简介
以太网ENC28J60 tcp udp。
代码片段和文件信息
/**
* \addtogroup httpd
* @{
*/
/**
* \file
* HTTP server script language C functions file.
* \author Adam Dunkels
*
* This file contains functions that are called by the web server
* scripts. The functions takes one argument and the return value is
* interpreted as follows. A zero means that the function did not
* complete and should be invoked for the next packet as well. A
* non-zero value indicates that the function has completed and that
* the web server should move along to the next script line.
*
*/
/*
* Copyright (c) 2001 Adam Dunkels.
* All rights reserved.
*
* 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. The name of the author may not be used to endorse or promote
* products derived from this software without specific prior
* written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ‘‘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 AUTHOR 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.
*
* This file is part of the uIP TCP/IP stack.
*
* $Id: cgi.cv 1.23.2.4 2003/10/07 13:22:27 adam Exp $
*
*/
#include “uip.h“
#include “cgi.h“
#include “httpd.h“
#include “fs.h“
#include
#include
static u8_t print_stats(u8_t next);
static u8_t file_stats(u8_t next);
static u8_t tcp_stats(u8_t next);
cgifunction cgitab[] = {
print_stats /* CGI function “a“ */
file_stats /* CGI function “b“ */
tcp_stats /* CGI function “c“ */
};
static const char closed[] = /* “CLOSED“*/
{0x43 0x4c 0x4f 0x53 0x45 0x44 0};
static const char syn_rcvd[] = /* “SYN-RCVD“*/
{0x53 0x59 0x4e 0x2d 0x52 0x43 0x56
0x44 0};
static const char syn_sent[] = /* “SYN-SENT“*/
{0x53 0x59 0x4e 0x2d 0x53 0x45 0x4e
0x54 0};
static const char established[] = /* “ESTABLISHED“*/
{0x45 0x53 0x54 0x41 0x42 0x4c 0x49 0x53
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2561 2008-02-12 00:15 以太网ENC28J60模块-pcb下载站\ENC28j60程序\arp.h
文件 6851 2008-10-07 11:45 以太网ENC28J60模块-pcb下载站\ENC28j60程序\cgi.c
文件 1972 2003-10-07 21:22 以太网ENC28J60模块-pcb下载站\ENC28j60程序\cgi.h
文件 11456 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\cgi.lst
文件 23879 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\cgi.obj
文件 23507 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\enc28j60.lst
文件 45398 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\enc28j60.obj
文件 3655 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\example0.lst
文件 18975 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\example0.obj
文件 3721 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\example1.lst
文件 18908 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\example1.obj
文件 7514 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\fs.lst
文件 22029 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\fs.obj
文件 51681 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\fsdata.lst
文件 15936 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\fsdata.obj
文件 17999 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\httpd.lst
文件 28333 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\httpd.obj
文件 8728 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\main.lst
文件 32859 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\main.obj
文件 4871 2011-02-12 21:34 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\MCU_UART.lst
文件 4198 2011-02-12 21:34 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\MCU_UART.obj
文件 1669 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\spi.lst
文件 15971 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\spi.obj
文件 23501 2011-02-12 21:34 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\splc501.lst
文件 12112 2011-02-12 21:34 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\splc501.obj
文件 2140 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\tcp_server.lst
文件 16507 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\tcp_server.obj
文件 339653 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\uIP
文件 59827 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\uIP.hex
文件 377 2011-02-13 01:07 以太网ENC28J60模块-pcb下载站\ENC28j60程序\debug\uIP.lnp
............此处省略62个文件信息
- 上一篇:pthread多线程计算pi
- 下一篇:字库文件HZK12 HZK16 ASC II
相关资源
- 基于Linux平台的网络聊天室设计
- 许继103TCP规约解析
- CSocket类的使用,实现TCP/UDP在局域网内
- 基于TCP协议的QT聊天程序
- linux C TCP/UDP客户端服务端的相互实时
- Modbus Slave
- 基于UDP的多播文件传输
- Qt下tcp和udp的编程
- qttcpsocket传送结构体
- TCP、IP不错的TCP协议开发 实现上位机
- UE4客户端与服务器端TCP通信
- 可上传文件的C/S结构网络程序
- TCP_Socket.zip
- 基于RTPRTCP和RTSP协议的流媒体快速流间
- Modbus TCP 调试软件
- webcam_v4l2_x264
- 基于UDP的局域网聊天系统.doc
- W5500 TCP/IP SPI发送控制
- Socket通信发送端向接收端发送图片D
- 报文测试器v2.0(tcp/udp报文数据测试)
- QTcpServer实现多客户端连接
- QT的TCP一个服务端连接多个客户端
- 基于QT的P2P共享文件系统
- IP和TCP数据分组的捕获和解析
- TCP多线程服务器
- TCP简单循环服务器
- TCP+UDP通信实验
- tcp协议简单的聊天程序Console
- 简易聊天室.zip
- Qt客户端和服务器传输图片、文本
评论
共有 条评论