代码搜索结果
找到约 10,000 项符合
Ethernet 的代码
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.h
#include "pcap.h"
/* This is a name for the 48 bit ethernet address available on many
systems. */
struct ethernet
{
u_int8_t ether_des[6]; /* destination eth addr */
u_int8_t ether_sr
ethernet.lst
C51 COMPILER V7.50 ETHERNET 09/11/2007 14:11:21 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE ETHERNET
OBJECT MODULE PLACED I
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
ethernet.c
#include
#include
#include
#include
#include
#include
#include
#include
#include