代码搜索结果
找到约 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
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
ifcfg-rausb0
DEVICE=rausb0
ONBOOT=yes
## Confirm your AP supports dhcp or connects up the ethernet
## before set-up as a dynamic IP
#BOOTPROTO=dhcp
linux-multiple-ethernet.html
Setting Up Multiple Ethernet Cards
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 etherne
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
eth_switch.h
/*
* Cisco 7200 (Predator) simulation platform.
* Copyright (c) 2006 Christophe Fillot (cf@utc.fr)
*
* Virtual Ethernet switch definitions.
*/
#ifndef __ETH_SWITCH_H__
#define __ETH_SWITCH_H__
gen_eth.h
/*
* Copyright (c) 2006 Christophe Fillot.
* E-mail: cf@utc.fr
*
* gen_eth: module used to send/receive Ethernet packets.
*
* Use libpcap (0.9+) to receive and send packets.
*/
#ifndef __GEN_E