资源简介
用C语言开发的一个网络协议,看后感觉明白了好多。对初学者很有用。
代码片段和文件信息
/*
* Copyright (c) 1989 Stephen Deering
* Copyright (c) 1992 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Stephen Deering of Stanford University.
*
* 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. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ‘‘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 REGENTS OR CONTRIBUTORS 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.
*
* @(#)ip_mroute.c 8.2 (Berkeley) 11/15/93
*/
/*
* Procedures for the kernel part of DVMRP
* a Distance-Vector Multicast Routing Protocol.
* (See RFC-1075.)
*
* Written by David Waitzman BBN Labs August 1988.
* Modified by Steve Deering Stanford February 1989.
*
* MROUTING 1.1
*/
#ifndef MROUTING
int ip_mrtproto; /* for netstat only */
#else
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
/* Static forwards */
static int ip_mrouter
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 48734 2003-02-25 00:00 tcp_input.c
文件 18074 2003-02-25 00:00 tcp_output.c
文件 2714 2003-02-25 00:00 TCP_SEQ.H
文件 13180 2003-02-25 00:00 TCP_SUBR.C
文件 9412 2003-02-25 00:00 tcp_timer.c
文件 5863 2003-02-25 00:00 tcp_timer.h
文件 13162 2003-02-25 00:00 tcp_usrreq.c
文件 12366 2003-02-25 00:00 TCP_VAR.H
文件 2583 2003-02-25 00:00 TCPIP.H
文件 2158 2003-02-25 00:00 UDP.H
文件 16143 2003-02-25 00:00 udp_usrreq.c
文件 3672 2003-02-25 00:00 UDP_VAR.H
文件 2924 2003-02-25 00:00 ICMP_VAR.H
文件 17030 2003-02-25 00:00 IF_ETHER.C
文件 8097 2003-02-25 00:00 IF_ETHER.H
文件 8296 2003-02-25 00:00 IGMP.C
文件 2812 2003-02-25 00:00 IGMP.H
文件 3665 2003-02-25 00:00 IGMP_VAR.H
文件 16905 2003-02-25 00:00 IN.C
文件 8321 2003-02-25 00:00 IN.H
文件 4529 2003-02-25 00:00 IN_CKSUM.C
文件 14538 2003-02-25 00:00 IN_PCB.C
文件 4179 2003-02-25 00:00 IN_PCB.H
文件 5547 2003-02-25 00:00 IN_PROTO.C
文件 2538 2003-02-25 00:00 IN_SYSTM.H
文件 7181 2003-02-25 00:00 IN_VAR.H
文件 5943 2003-02-25 00:00 IP.H
文件 15950 2003-02-25 00:00 IP_ICMP.C
文件 6649 2003-02-25 00:00 IP_ICMP.H
文件 30193 2003-02-25 00:00 IP_INPUT.C
............此处省略13个文件信息
- 上一篇:编译原理c语言编译器
- 下一篇:c语言 教学信息管理系统
相关资源
- c语言 教学信息管理系统
- 编译原理c语言编译器
- 线性回归算法c语言实现
- 基于C语言的模拟退火算法
- LU分解法解线性方程组的C语言代码
- VC6LineNumberAddin.dll
- 用C语言实现的一个打字游戏
- 手机话费管理系统(c语言编写)
- C语言实现的DES对称加密算法
- 餐饮管理系统(C语言编写)
- 数据结构,迷宫问题C语言版源代码
- 用c语言编写的学生选课系统
- 用C语言进行数字图像处理
- C语言 学生信息管理系统 源代码
- c语言小学生自然数四则运算测试程序
- 我的C语言寒假作业-学生通讯录系统(
- c语言程序设计报告 程序大全
- 用C语言实现高效日志
- 用VC6.0实现多边形扫描线填充算法
- c语言编写的货郎担算法
- C语言实现十进制转十六进制
- 串口通讯技术实现--两台pc机通过串口
- C语言版3D魔方游戏源代码
- 文件传输和聊天程序(c语言实现)
- DSDEMO-C演示(数据结构C语言版 严蔚敏
- 编译原理实验-词法分析(c语言代码)
- C语言中 文件读取和写入的详细操作代
- 连铸温度场计算程序(C++)
- C语言进阶——嵌入式系统高级C语言编
- 6自由度机器人运动学正反解C++程序
评论
共有 条评论