Skip to content

Commit

Permalink
Staging: bcm: Remove typedef for _ADD_CONNECTION.
Browse files Browse the repository at this point in the history
This patch removes typedef for _ADD_CONNECTION,
because it is not being used.

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 Jun 5, 2012
1 parent fa64354 commit 845bd53
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions drivers/staging/bcm/Adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,6 @@ struct link_request {
} __packed;
typedef struct link_request LINK_REQUEST, *PLINK_REQUEST;

/* classification extension is added */
typedef struct _ADD_CONNECTION {
ULONG SrcIpAddressCount;
ULONG SrcIpAddress[MAX_CONNECTIONS];
ULONG SrcIpMask[MAX_CONNECTIONS];

ULONG DestIpAddressCount;
ULONG DestIpAddress[MAX_CONNECTIONS];
ULONG DestIpMask[MAX_CONNECTIONS];

USHORT SrcPortBegin;
USHORT SrcPortEnd;

USHORT DestPortBegin;
USHORT DestPortEnd;

UCHAR SrcTOS;
UCHAR SrcProtocol;
} ADD_CONNECTION, *PADD_CONNECTION;

#define MAX_IP_RANGE_LENGTH 4
#define MAX_PORT_RANGE 4
#define MAX_PROTOCOL_LENGTH 32
Expand Down

0 comments on commit 845bd53

Please sign in to comment.