代码搜索结果
找到约 15,197 项符合
Ethernet 的代码
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
bl_enet.c
//*****************************************************************************
//
// bl_enet.c - Functions to update via Ethernet.
//
// Copyright (c) 2007-2008 Luminary Micro, Inc. All rights r
enet.h
#ifndef _ENET_H
#define _ENET_H
/* Generic Ethernet constants and templates */
#ifndef _GLOBAL_H
#include "global.h"
#endif
#ifndef _MBUF_H
#include "mbuf.h"
#endif
#ifndef _IFACE_H
#i
enet.c
/* Stuff generic to all Ethernet controllers
*/
#include
#include "global.h"
#include "mbuf.h"
#include "iface.h"
#include "arp.h"
#include "ip.h"
#include "enet.h"
uint8 Ether_b
fenetpq2.c
/*--------------------------------------------------------------------------
*
* FILE: fcc2tr.c
*
* DESCRIPTION:
*
* Exercises FCC2 Ethernet transmit/receive functions, using R
ethernet.h
//*****************************************************************************
//
// ethernet.h - Defines and Macros for the ethernet module.
//
// Copyright (c) 2006-2007 Luminary Micro, Inc. A
ethernet.c
/* ethernet.c
Packet assembly code, originally contributed by Archie Cobbs. */
/*
* Copyright (c) 1996-2000 Internet Software Consortium.
* All rights reserved.
*
* Redistribution and use in
enet.h
#ifndef _ENET_H
#define _ENET_H
/* Generic Ethernet constants and templates */
#ifndef _GLOBAL_H
#include "global.h"
#endif
#ifndef _MBUF_H
#include "mbuf.h"
#endif
#ifndef _IFACE_H
#i
enet.c
/* Stuff generic to all Ethernet controllers
*/
#include
#include "global.h"
#include "mbuf.h"
#include "iface.h"
#include "arp.h"
#include "ip.h"
#include "enet.h"
uint8 Ether_b
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 et