代码搜索结果

找到约 10,000 项符合 Ethernet 的代码

ethernet.h

#ifndef _ETHERNET_H // 防止Ethernet.h被重复引用 #define _ETHERNET_H #include // 引用标准库的头文件 #include #include #define uchar unsigned char #define uint u

ethernet.c

#include "Ethernet.h" /* 主函数 */ void main(void) { delay(1000); // 延时1s,保证电源稳定和网卡自身的上电完成 NICRst(); // RTL8019AS热复位 ClearISR();

ethernet.c

/**************************************************************************** ** File: ethernet.c ** ** Author: Mike Borella ** ** Comments: Dump ethernet packets ** **************************

ethernet.h

/**************************************************************************** ** File: ethernet.h ** ** Author: Mike Borella ** ** Comments: Generic ethernet structure - an attempt at OS indepen

ethernet.c

#define ETHERNET_GLOBALS #include "config.h" #include "../include/cfg_net.h" uint8 My_Ip_1ID[4]=MY_IP_1ID; uint8 My_Gateway_1ID[4]=MY_GATEWAY_1ID; uint8 MY_IP_MARK_1ID[4]=IP_MARK_1ID; uint8 MY

ethernet.h

#ifdef ETHERNET_GLOBALS #define ETHERNET_EXT #else #define ETHERNET_EXT extern #endif #define IP_PACKED 0x01 #define ARP_PACKED 0x02 #define MAX_NET_PORT 0x01 typedef struct {

ethernet.c

#define ETHERNET_GLOBALS #include "config.h" #include "../include/cfg_net.h" uint8 My_Ip_1ID[4]=MY_IP_1ID; uint8 My_Gateway_1ID[4]=MY_GATEWAY_1ID; uint8 MY_IP_MARK_1ID[4]=IP_MARK_1ID; uint8 MY

ethernet.h

#ifdef ETHERNET_GLOBALS #define ETHERNET_EXT #else #define ETHERNET_EXT extern #endif #define IP_PACKED 0x01 #define ARP_PACKED 0x02 #define MAX_NET_PORT 0x01 typedef struct {

ethernet.c

#define ETHERNET_GLOBALS #include "config.h" #include "../include/cfg_net.h" uint8 My_Ip_1ID[4]=MY_IP_1ID; uint8 My_Gateway_1ID[4]=MY_GATEWAY_1ID; uint8 MY_IP_MARK_1ID[4]=IP_MARK_1ID; uint8 MY