aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/Protocol.h
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-12-22 14:27:56 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-07 10:56:54 -0800
commitc5485e9ca70b5bd5eabfc7c298f7e367062d4f56 (patch)
tree93afc879801c991a96533d142819d28a7d4e9508 /drivers/staging/bcm/Protocol.h
parent8ab19921143e69797343e972b16378171f37385a (diff)
Staging: bcm: Remove typedef for TransportHeaderT and call directly.
This patch removes typedef for TransportHeaderT, and changes the name of the struct to bcm_transport_header. In addition, any calls to struct "xporthdr" are changed to call directly. 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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/bcm/Protocol.h b/drivers/staging/bcm/Protocol.h
index adfa48d4da3..9818128d932 100644
--- a/drivers/staging/bcm/Protocol.h
+++ b/drivers/staging/bcm/Protocol.h
@@ -15,13 +15,12 @@ struct ArpHeader {
unsigned char ar_tip[4]; /* target IP address */
};
-struct TransportHeaderT {
+struct bcm_transport_header {
union {
struct udphdr uhdr;
struct tcphdr thdr;
};
} __packed;
-typedef struct TransportHeaderT xporthdr;
enum bcm_ip_frame_type {
eNonIPPacket,