Skip to content

Commit

Permalink
Staging: bcm: Remove typedef for _E_SERVICEFLOW_CS_SPEC_ and call dir…
Browse files Browse the repository at this point in the history
…ectly.

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>
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 16c3f8b commit 4a19aaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/bcm/Protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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))
Expand Down

0 comments on commit 4a19aaa

Please sign in to comment.