代码搜索结果
找到约 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.c
/*
*Copyright (c) 2000-2002 Viola Systems Ltd.
*All rights reserved.
*
*Redistribution and use in source and binary forms, with or without
*modification, are permitted provided that the fol
ethernet.h
#ifndef INCLUDE_ETHERNET_H
#define INCLUDE_ETHERNET_H
#include
/* Symbolic constants */
#define ETH_ADDRESS_LEN 6
/* Protocol Constants */
#define ETH_HEADER_LEN 14
#de
ethernet.inc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; ETHERNET.INC
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
/* sndsEnd.c - SNDS END network interface driver for Ethernet */
/* Copyright 1984-1997 Wind River Systems, Inc. */
#include "copyright_wrs.h"
/*
modification history
--------------------
01