代码搜索结果
找到约 15,197 项符合
Ethernet 的代码
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
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.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.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.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
makefile
EXEC = ethernet
OBJS = ethernet.o
all: $(EXEC)
$(EXEC): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS$(LDLIBS-$(@)))
romfs:
$(ROMFSINST) /bin/$(EXEC)
cp ethernet /ethernet
clean:
-rm -f $(E