代码搜索结果
找到约 10,000 项符合
Ethernet 的代码
ethernet.h
//********************************************************************************************
//
// File : ethernet.h implement for Ethernet Protocol
//
//****************************************
ethernet.c
#define ETHERNET_GLOBALS
#include
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_MAC_1ID[6]=My_Mac_1ID;//MAC地址
#
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
#include
#include
#include
#include
#include
#include
#include
int aiptoi(char * pszip,unsigned int* pii
ethernet.h
#ifndef __INTERNET_ETHERNET_H__
#define __INTERNET_ETHERNET_H__
#include "..\inc\def.h"
#define Ethernet_Reg00 (*(volatile unsigned short int*)0x0a000600)
#define Ethernet_Reg01 (*(volatile unsigne
ethernet.h
/*
* From FreeBSD 2.2.7: Fundamental constants relating to ethernet.
*
* Copyright 2005-2006, Broadcom Corporation
* All Rights Reserved.
*
* THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRAN
ethernet.h
#ifndef __INTERNET_ETHERNET_H__
#define __INTERNET_ETHERNET_H__
#include "..\inc\macro.h"
#define NET_BASE_ADDR0 0X10000200
#define NET_BASE_ADDR1 0X10000400
////////////////////
ethernet.c
#define ETHERNET_GLOBALS
#include "..\User\includes.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_MAC_1ID[6]=My_Mac_1ID;//