create a proper ETHERTYPE for ATAoverEthernet

svn path=/trunk/; revision=12674
This commit is contained in:
Ronnie Sahlberg 2004-12-07 03:16:34 +00:00
parent ab3d6214d5
commit 2625d6d3e9
3 changed files with 6 additions and 3 deletions

View File

@ -32,8 +32,7 @@
#endif
#include <epan/packet.h>
#define ETHERTYPE_AOE 0x88A2
#include <etypes.h>
static int proto_aoe;
static int hf_aoe_version=-1;

View File

@ -90,7 +90,7 @@ const value_string etype_vals[] = {
{ETHERTYPE_RTCFG, "Real-Time Configuration Protocol" },
{ETHERTYPE_CDMA2000_A10_UBS,"CDMA2000 A10 Unstructured byte stream" },
{ETHERTYPE_PROFINET, "PROFInet" },
{ETHERTYPE_AOE, "ATA over Ethernet" },
/*
* NDISWAN on Windows translates Ethernet frames from higher-level
* protocols into PPP frames to hand to the PPP driver, and translates

View File

@ -232,6 +232,10 @@
#define ETHERTYPE_HYPERSCSI 0x889A /* HyperSCSI */
#endif
#ifndef ETHERTYPE_AOE
#define ETHERTYPE_AOE 0x88A2
#endif
#ifndef ETHERTYPE_BRDWALK
#define ETHERTYPE_BRDWALK 0x88AE
#endif