代码搜索结果
找到约 10,000 项符合
Protocol 的代码
arp.h
#ifndef __ARP_H
#define __ARP_H
#include "eth.h"
#include "csl.h"
/* ARP protocol HARDWARE identifiers. */
#define ARPHRD_NETROM 0 /* from KA9Q: NET/ROM pseudo */
#define ARPHRD_ETHER 1 /
interface.h
// interface.h
#ifndef PROTOCOL_H
#define PROTOCOL_H
#define ENGINE "Cyclone"
#define VERSION "2.1"
// includes
#include "util.h"
// functions
extern void process_input();
extern
htmlctrl.cpp
// HtmlCtrl.cpp : implementation file
//
#include "stdafx.h"
#include "ProductDemo.h"
#include "HtmlCtrl.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = _
rfc703.txt
Network Working Group D.W. Dodds
RFC # 703 BBN-TENEXA
NIC # 32988
ipx.h
/*
* IPX protocol formats
*
* @(#) $Header: /tcpdump/master/tcpdump/ipx.h,v 1.8 2002-12-11 07:13:54 guy Exp $
*/
/* well-known sockets */
#define IPX_SKT_NCP 0x0451
#define IPX_SKT_SAP 0x0452
#
netbios.h
/*
* NETBIOS protocol formats
*
* @(#) $Header: /tcpdump/master/tcpdump/netbios.h,v 1.3 2002-12-11 07:13:55 guy Exp $
*/
struct p8022Hdr {
u_char dsap;
u_char ssap;
u_char flags;
};
ppp.h
/* @(#) $Header: /tcpdump/master/tcpdump/ppp.h,v 1.16 2004-10-20 16:14:16 hannes Exp $ (LBL) */
/*
* Point to Point Protocol (PPP) RFC1331
*
* Copyright 1989 by Carnegie Mellon.
*
* Permission to
rfc669.txt
Network Working Group D.W. Dodds
Request for Comments: 669 BBN-TENEXA
NIC: 31435
arp.c
/*----------------------------------------------------------
主要实现IP协议和ARP协议。当DSP接收到正确的以太网数据包以后,
调用check_packet函数处理。如果是ARP请求,则发送一个ARP应答;
如果是ARP应答,则把对方的IP地址和以太网地址放到ARP缓存中;
如果是IP包,则调用IP处理模块处理,接收数据。
libnet-headers.h
/*
* $Id: libnet-headers.h,v 1.9 1999/10/27 01:37:22 route Exp $
*
* libnet-headers.h - Network routine library headers header file
*
* Copyright (c) 1998, 1999, 2000 Mike D. Schiffman