代码搜索结果
找到约 15,197 项符合
Ethernet 的代码
myprj.plg
Build target 'Target 1'
compiling ethernet.c...
compiling ip.c...
compiling main.c...
MAIN.C(410): warning C209: '_flush_gate_mac': too few actual parameters
compiling 24c02.c...
compiling Udp.c...
li
ethernet.h
#ifndef BYTE
#define BYTE unsigned char
#endif
#ifndef WORD
#define WORD unsigned int
#endif
#ifndef LWORD
#define LWORD unsigned long
#endif
#define MACLEN 6 // Ehternet (M
myprj.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,1,
File 1,1,
eth.h
#ifndef __ETH_H
#define __ETH_H
/*
* IEEE 802.3 Ethernet magic constants. The frame sizes omit the preamble
* and FCS/CRC (frame check sequence).
*/
#define ETH_ALEN 6 /* Octets in one etherne
arp.h
#ifndef __ARP_H
#define __ARP_H
#include "eth.h"
/* ARP protocol HARDWARE identifiers. */
#define ARPHRD_NETROM 0 /* from KA9Q: NET/ROM pseudo */
#define ARPHRD_ETHER 1 /* Ethernet 10Mbps */
#de
eth.h
#ifndef __ETH_H
#define __ETH_H
/*
* IEEE 802.3 Ethernet magic constants. The frame sizes omit the preamble
* and FCS/CRC (frame check sequence).
*/
#define ETH_ALEN 6 /* Octets in one etherne
arp.h
#ifndef __ARP_H
#define __ARP_H
#include "eth.h"
/* ARP protocol HARDWARE identifiers. */
#define ARPHRD_NETROM 0 /* from KA9Q: NET/ROM pseudo */
#define ARPHRD_ETHER 1 /* Ethernet 10Mbps */
#de
readme
send_arp
This program sends out one ARP packet with source/target IP and Ethernet
hardware addresses suuplied by the user. It uses the libnet libary from
Packet Factory (http://www.packetfactory.ne
readme_etheroutputdemo.txt
FILE LIST -
etherOutputDemo.c
DESCRIPTION -
This demo sends (broadcast) data on an ethernet network interface
and handles (receives) raw input frames (input data) from
etherinputdemo.c
/* etherInputDemo.c - Demo for using low-level ethernet input routines */
/* Copyright 1984-1997 Wind River Systems, Inc. */
/*
modification history
--------------------
01e,06nov97,mm adde