diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-12-22 14:27:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 10:56:44 -0800 |
commit | 963fa3e62969e59c66875091710b5ea4ac68b065 (patch) | |
tree | 104a49adea892f81817360a4c40a9825fa82c622 /drivers/staging/bcm | |
parent | 5a88304e568e0c6176ebd85fc08d535a4f02a97a (diff) | |
download | op-kernel-dev-963fa3e62969e59c66875091710b5ea4ac68b065.zip op-kernel-dev-963fa3e62969e59c66875091710b5ea4ac68b065.tar.gz |
Staging: bcm: Replace USHORT with unsigned short in Protocol.h
This patch replaces "USHORT" with "unsigned short"
in Protocol.h
Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r-- | drivers/staging/bcm/Protocol.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/bcm/Protocol.h b/drivers/staging/bcm/Protocol.h index a7028d5..040689b 100644 --- a/drivers/staging/bcm/Protocol.h +++ b/drivers/staging/bcm/Protocol.h @@ -40,16 +40,16 @@ typedef enum _E_NWPKT_ETHFRAME_TYPE { typedef struct _S_ETHCS_PKT_INFO { E_NWPKT_IPFRAME_TYPE eNwpktIPFrameType; E_NWPKT_ETHFRAME_TYPE eNwpktEthFrameType; - USHORT usEtherType; + unsigned short usEtherType; UCHAR ucDSAP; } S_ETHCS_PKT_INFO, *PS_ETHCS_PKT_INFO; typedef struct _ETH_CS_802_Q_FRAME { struct bcm_eth_header EThHdr; - USHORT UserPriority:3; - USHORT CFI:1; - USHORT VLANID:12; - USHORT EthType; + unsigned short UserPriority:3; + unsigned short CFI:1; + unsigned short VLANID:12; + unsigned short EthType; } __packed ETH_CS_802_Q_FRAME; typedef struct _ETH_CS_802_LLC_FRAME { @@ -111,15 +111,15 @@ typedef enum _E_SERVICEFLOW_CS_SPEC_ { /* This is the format for the TCP packet header */ typedef struct _TCP_HEADER { - USHORT usSrcPort; - USHORT usDestPort; + unsigned short usSrcPort; + unsigned short usDestPort; ULONG ulSeqNumber; ULONG ulAckNumber; UCHAR HeaderLength; UCHAR ucFlags; - USHORT usWindowsSize; - USHORT usChkSum; - USHORT usUrgetPtr; + unsigned short usWindowsSize; + unsigned short usChkSum; + unsigned short usUrgetPtr; } TCP_HEADER, *PTCP_HEADER; #define TCP_HEADER_LEN sizeof(TCP_HEADER) |