LinuxTCPIP

所属分类:网络
开发工具:Windows_Unix
文件大小:639KB
下载次数:41
上传日期:2007-08-28 09:31:57
上 传 者yantai
说明:  linux tcp ip 原代码
(linux tcp ip source code)

文件列表:
tcpipcode\TCP_IP\config.c (24616, 2001-08-01)
tcpipcode\TCP_IP\ahdlc.c (3352, 1995-11-17)
tcpipcode\TCP_IP\alloc.c (13028, 2001-08-01)
tcpipcode\TCP_IP\arcdump.c (738, 2001-08-01)
tcpipcode\TCP_IP\arcnet.c (2337, 2001-08-01)
tcpipcode\TCP_IP\arpcmd.c (4907, 2001-08-01)
tcpipcode\TCP_IP\arpdump.c (1770, 2001-08-01)
tcpipcode\TCP_IP\asy.c (3958, 2001-08-01)
tcpipcode\TCP_IP\aud.c (492, 1995-11-17)
tcpipcode\TCP_IP\ax25cmd.c (12286, 2001-08-01)
tcpipcode\TCP_IP\ax25dump.c (3964, 2001-08-01)
tcpipcode\TCP_IP\ax25mail.c (2293, 2001-08-01)
tcpipcode\TCP_IP\ax25subr.c (5345, 2001-08-01)
tcpipcode\TCP_IP\lapb.c (17030, 2001-08-01)
tcpipcode\TCP_IP\axheard.c (4658, 2001-08-01)
tcpipcode\TCP_IP\bmutil.c (22075, 2001-08-01)
tcpipcode\TCP_IP\hop.c (10636, 2001-08-01)
tcpipcode\TCP_IP\bootpcmd.c (15767, 2001-08-01)
tcpipcode\TCP_IP\ping.c (6665, 2001-08-01)
tcpipcode\TCP_IP\bootpdip.c (29335, 2001-08-01)
tcpipcode\TCP_IP\cmdparse.c (7004, 2001-08-01)
tcpipcode\TCP_IP\udp.c (6376, 2001-08-01)
tcpipcode\TCP_IP\crc.c (2913, 1995-11-17)
tcpipcode\TCP_IP\devparam.c (1272, 1995-11-17)
tcpipcode\TCP_IP\dirutil.c (8348, 2001-08-01)
tcpipcode\TCP_IP\display.c (20390, 2001-08-01)
tcpipcode\TCP_IP\dma.c (9743, 2001-08-01)
tcpipcode\TCP_IP\domain.c (41251, 2001-08-01)
tcpipcode\TCP_IP\domhdr.c (6541, 2001-08-01)
tcpipcode\TCP_IP\dos.c (7838, 2001-08-01)
tcpipcode\TCP_IP\axsock.c (11011, 1995-11-18)
tcpipcode\TCP_IP\enetdump.c (906, 2001-08-01)
tcpipcode\TCP_IP\files.c (13302, 1995-11-17)
tcpipcode\TCP_IP\finger.c (1871, 2001-08-01)
tcpipcode\TCP_IP\fingerd.c (1806, 2001-08-01)
tcpipcode\TCP_IP\forward.c (23534, 2001-08-01)
tcpipcode\TCP_IP\ftpcli.c (28998, 2001-08-01)
tcpipcode\TCP_IP\ftpserv.c (16223, 2001-08-01)
tcpipcode\TCP_IP\ftpsubr.c (3890, 2001-08-01)
tcpipcode\TCP_IP\genparm.c (235, 1995-11-17)
... ...

TinyTcp Public Domain Release The files in this release contain a simple implementation of TCP & FTP, suitable for burning into ROM. It is, in effect, a big hack put together in two or three days. It works for us, though, and you might like it, too. We use it to boot our image processor by retrieving a load file using the standard FTP server. The code is intended to use the buffers from the Ethernet interface, although shadow buffers could be hidden in the driver with no problem. On one home-brew board here and didn't support byte-mode access to it. Hence, the code takes pains to fool our local compiler into never generating byte- or bit-mode instructions. Since we have already burned the TCP into ROM, it is unlikely that any further development will take place at IMAGEN. I would be willing to act as a clearinghouse for future improvements to the code. Warning: the code was intended for a 68000, and doesn't have any byte swapping support in it. Shouldn't be too hard to add if you want to run it on a little-endian machine. Please note (and honor) the copyright on each file: Copyright (C) 1***6, IMAGEN Corporation "This code may be duplicated in whole or in part provided that [1] there is no commercial gain involved in the duplication, and [2] that this copyright notice is preserved on all copies. Any other duplication requires written notice of the author (Geoffrey H. Cooper)." ...in other words, do what you want with the code, but don't sell it and give IMAGEN and me credit on whatever you produce. If you develop a product based on this code and want to sell it, give me a call and I'll be reasonable. This code is distributed "as is." Neither the author nor IMAGEN Corporation guarantees that it works or meets any particular specifications. The act of distributing this software does not represent a commitment by either the author nor IMAGEN Corporation to provide maintenance or consulting services related to this software. But feel free to ask me any questions that you can't answer for yourself. - Geof Cooper Imagen Corporation (408)***6 9400 [imagen!geof@decwrl.dec.com, {decwrl,saber}!imagen!geof] April 16, 1***6 The package requires some system support: clock_ValueRough() - should be a procedure that returns the current value of a millisecond clock. The procedure is called frequently, so that interrupts are not needed to service the clock. Our implementation polls the real time timer and assumes that it is called frequently enough so that it doesn't miss clock ticks (Since the timer is only used for network timeouts, it doesn't really matter if it does miss clock ticks, of course). Systems without a clock could probably get by with a procedure that increments a static variable and returns it, by adjusting the timeout constants in the program. Network driver - some network interface driver is needed. A driver for a 3Com multibus (ethernet) board is included; this board isn't made anymore (at least not by 3Com, there are still compatible boards being made, but I don't know of any being popularly distributed), so you'll probably need to write a driver for the board in your system. Guide to source files: sed.c - Simple Ethernet Driver - Driver for 3Com multibus card. If you have another type of Ethernet board, you can use this driver as a template. sed.h - header file for the above. arp.c - Implementation of Address Resolution Protocol. Note that there is no arp "mapping" per se. The higher level code (tcp, in this case) is required to keep track of internet and ethernet addresses. tinytcp.c - Implementation of TCP. tinytcp.h - Header file for above, and for everything else. tinyftp.c - Implementation of FTP, only allows files to be retrieved, not sent.

近期下载者

相关文件


收藏者