/* * $Id: nemesis-ethernet.h,v 1.1.1.1 2003/10/31 21:29:36 jnathan Exp $ * * THE NEMESIS PROJECT * Copyright (C) 2002, 2003 Jeff Nathan * * nemesis-ethernet.h (Ethernet Packet Injector) * */ #ifndef __NEMESIS_ETHERNET_H__ #define __NEMESIS_ETHERNET_H__ #if defined(HAVE_CONFIG_H) #include "config.h" #endif #include #include #include #include #include #if defined(WIN32) #include #endif #if defined(HAVE_NETINET_IN_H) #include #elif defined(WIN32) #include #endif #include #include "nemesis.h" #ifndef ETHERTYPE_8021Q #define ETHERTYPE_8021Q 0x8100 /* IEEE 802.1Q VLAN tagging */ #endif #ifndef ETHERTYPE_IPV6 #define ETHERTYPE_IPV6 0x86DD /* IPv6 protocol */ #endif #ifndef ETHERTYPE_PPOEDISC #define ETHERTYPE_PPPOEDISC 0x8863 /* PPP Over Ethernet Discovery Stage */ #endif #ifndef ETHERTYPE_PPOE #define ETHERTYPE_PPPOE 0x8864 /* PPP Over Ethernet Session Stage */ #endif int buildether(ETHERhdr *, FileData *, char *); #endif /* __NEMESIS_ETHERNET_H__ */