aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/Protocol.h
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-12-22 14:27:48 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-07 10:56:45 -0800
commit4a19aaa7cb8f20be2ab66922b1c56b649c4a06cf (patch)
tree43f875d12db7ff3fdcd924a9cf5f89414939c947 /drivers/staging/bcm/Protocol.h
parent16c3f8b04c13a722aa82110bb982fe71f1d58918 (diff)
Staging: bcm: Remove typedef for _E_SERVICEFLOW_CS_SPEC_ and call directly.
This patch removes typedef for _E_SERVICEFLOW_CS_SPEC_, and changes the name of the enum to bcm_spec_encoding. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/Protocol.h')
-rw-r--r--drivers/staging/bcm/Protocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/Protocol.h b/drivers/staging/bcm/Protocol.h
index b20d857fc14..89246b1b0a6 100644
--- a/drivers/staging/bcm/Protocol.h
+++ b/drivers/staging/bcm/Protocol.h
@@ -77,7 +77,7 @@ typedef struct _ETH_CS_ETH2_FRAME {
#define ETHERNET_FRAMETYPE_802QVLAN ntohs(0x8100)
/* Per SF CS Specification Encodings */
-typedef enum _E_SERVICEFLOW_CS_SPEC_ {
+enum bcm_spec_encoding {
eCSSpecUnspecified = 0,
eCSPacketIPV4,
eCSPacketIPV6,
@@ -88,7 +88,7 @@ typedef enum _E_SERVICEFLOW_CS_SPEC_ {
eCSPacketIPV4Over802_1QVLAN,
eCSPacketIPV6Over802_1QVLAN,
eCSPacketUnsupported
-} E_SERVICEFLOW_CS_SPEC;
+};
#define IP6_HEADER_LEN 40
#define IP_VERSION(byte) (((byte&0xF0)>>4))