UCHAR ucaHdrSupressionOutBuf[MAX_PHS_LENGTHS + PHSI_LEN]; /* Intermediate buffer containing pkt Header after PHS */
 } S_HDR_SUPRESSION_CONTEXTINFO;
 
-typedef struct _S_CLASSIFIER_RULE {
+struct bcm_classifier_rule {
        ULONG           ulSFID;
        UCHAR           ucReserved[2];
        B_UINT16        uiClassifierRuleIndex;
        UCHAR           usUserPriority[2];
        USHORT          usVLANID;
        USHORT          usValidityBitMap;
-} S_CLASSIFIER_RULE;
-/* typedef struct _S_CLASSIFIER_RULE S_CLASSIFIER_RULE; */
+};
 
 struct bcm_fragmented_packet_info {
        BOOLEAN                 bUsed;
        ULONG                   ulSrcIpAddress;
        USHORT                  usIpIdentification;
-       S_CLASSIFIER_RULE       *pstMatchedClassifierEntry;
+       struct bcm_classifier_rule *pstMatchedClassifierEntry;
        BOOLEAN                 bOutOfOrderFragment;
 };
 
        USHORT                  CurrNumRecvDescs;
        UINT                    u32TotalDSD;
        struct bcm_packet_info  PackInfo[NO_OF_QUEUES];
-       S_CLASSIFIER_RULE       astClassifierTable[MAX_CLASSIFIERS];
+       struct bcm_classifier_rule astClassifierTable[MAX_CLASSIFIERS];
        BOOLEAN                 TransferMode;
 
        /*************** qos ******************/
 
 }
 
 static inline VOID
-CopyIpAddrToClassifier(S_CLASSIFIER_RULE *pstClassifierEntry,
+CopyIpAddrToClassifier(struct bcm_classifier_rule *pstClassifierEntry,
                B_UINT8 u8IpAddressLen, B_UINT8 *pu8IpAddressMaskSrc,
                BOOLEAN bIpVersion6, E_IPADDR_CONTEXT eIpAddrContext)
 {
  */
 static inline VOID CopyClassifierRuleToSF(PMINI_ADAPTER Adapter, stConvergenceSLTypes  *psfCSType, UINT uiSearchRuleIndex, UINT nClassifierIndex)
 {
-       S_CLASSIFIER_RULE *pstClassifierEntry = NULL;
+       struct bcm_classifier_rule *pstClassifierEntry = NULL;
        /* VOID *pvPhsContext = NULL; */
        int i;
        /* UCHAR ucProtocolLength=0; */
  */
 static inline VOID DeleteClassifierRuleFromSF(PMINI_ADAPTER Adapter, UINT uiSearchRuleIndex, UINT nClassifierIndex)
 {
-       S_CLASSIFIER_RULE *pstClassifierEntry = NULL;
+       struct bcm_classifier_rule *pstClassifierEntry = NULL;
        B_UINT16 u16PacketClassificationRuleIndex;
        USHORT usVCID;
        /* VOID *pvPhsContext = NULL; */
        if (pstClassifierEntry) {
                pstClassifierEntry->bUsed = FALSE;
                pstClassifierEntry->uiClassifierRuleIndex = 0;
-               memset(pstClassifierEntry, 0, sizeof(S_CLASSIFIER_RULE));
+               memset(pstClassifierEntry, 0, sizeof(struct bcm_classifier_rule));
 
                /* Delete the PHS Rule for this classifier */
                PhsDeleteClassifierRule(&Adapter->stBCMPhsContext, usVCID, u16PacketClassificationRuleIndex);
  */
 VOID DeleteAllClassifiersForSF(PMINI_ADAPTER Adapter, UINT uiSearchRuleIndex)
 {
-       S_CLASSIFIER_RULE *pstClassifierEntry = NULL;
+       struct bcm_classifier_rule *pstClassifierEntry = NULL;
        int i;
        /* B_UINT16  u16PacketClassificationRuleIndex; */
        USHORT ulVCID;
 
 #include "headers.h"
 
-static BOOLEAN MatchSrcIpv6Address(S_CLASSIFIER_RULE *pstClassifierRule,
+static BOOLEAN MatchSrcIpv6Address(struct bcm_classifier_rule *pstClassifierRule,
        IPV6Header *pstIpv6Header);
-static BOOLEAN MatchDestIpv6Address(S_CLASSIFIER_RULE *pstClassifierRule,
+static BOOLEAN MatchDestIpv6Address(struct bcm_classifier_rule *pstClassifierRule,
        IPV6Header *pstIpv6Header);
 static VOID DumpIpv6Header(IPV6Header *pstIpv6Header);
 
  * Arg 2 PVOID pcIpHeader is a pointer to the IP header of the packet
  */
 USHORT IpVersion6(PMINI_ADAPTER Adapter, PVOID pcIpHeader,
-                                       S_CLASSIFIER_RULE *pstClassifierRule)
+                                       struct bcm_classifier_rule *pstClassifierRule)
 {
        USHORT  ushDestPort = 0;
        USHORT  ushSrcPort = 0;
 }
 
 
-static BOOLEAN MatchSrcIpv6Address(S_CLASSIFIER_RULE *pstClassifierRule,
+static BOOLEAN MatchSrcIpv6Address(struct bcm_classifier_rule *pstClassifierRule,
        IPV6Header *pstIpv6Header)
 {
        UINT uiLoopIndex = 0;
        return FALSE;
 }
 
-static BOOLEAN MatchDestIpv6Address(S_CLASSIFIER_RULE *pstClassifierRule,
+static BOOLEAN MatchDestIpv6Address(struct bcm_classifier_rule *pstClassifierRule,
        IPV6Header *pstIpv6Header)
 {
        UINT uiLoopIndex = 0;
 
 
 USHORT IpVersion6(PMINI_ADAPTER Adapter, /**< Pointer to the driver control structure */
                                        PVOID pcIpHeader, /**<Pointer to the IP Hdr of the packet*/
-                                       S_CLASSIFIER_RULE *pstClassifierRule );
+                                       struct bcm_classifier_rule *pstClassifierRule );
 
 VOID DumpIpv6Address(ULONG *puIpv6Address);
 
-extern BOOLEAN MatchSrcPort(S_CLASSIFIER_RULE *pstClassifierRule,USHORT ushSrcPort);
-extern BOOLEAN MatchDestPort(S_CLASSIFIER_RULE *pstClassifierRule,USHORT ushSrcPort);
-extern BOOLEAN MatchProtocol(S_CLASSIFIER_RULE *pstClassifierRule,UCHAR ucProtocol);
+extern BOOLEAN MatchSrcPort(struct bcm_classifier_rule *pstClassifierRule,USHORT ushSrcPort);
+extern BOOLEAN MatchDestPort(struct bcm_classifier_rule *pstClassifierRule,USHORT ushSrcPort);
+extern BOOLEAN MatchProtocol(struct bcm_classifier_rule *pstClassifierRule,UCHAR ucProtocol);
 
 
 #endif
 
        UINT uiLoopIndex = 0;
        UINT uiIndex = 0;
        UINT uiClsfrIndex = 0;
-       S_CLASSIFIER_RULE *pstClassifierEntry = NULL;
+       struct bcm_classifier_rule *pstClassifierEntry = NULL;
 
        for (uiLoopIndex = 0; uiLoopIndex < NO_OF_QUEUES; uiLoopIndex++) {
                BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "*********** Showing Details Of Queue %d***** ******", uiLoopIndex);
        Adapter->bShutStatus = FALSE;
 }
 
-S_CLASSIFIER_RULE *GetFragIPClsEntry(PMINI_ADAPTER Adapter, USHORT usIpIdentification, ULONG SrcIP)
+struct bcm_classifier_rule *GetFragIPClsEntry(PMINI_ADAPTER Adapter, USHORT usIpIdentification, ULONG SrcIP)
 {
        UINT uiIndex = 0;
        for (uiIndex = 0; uiIndex < MAX_FRAGMENTEDIP_CLASSIFICATION_ENTRIES; uiIndex++) {
 
 
 USHORT ClassifyPacket(PMINI_ADAPTER Adapter,struct sk_buff* skb);
 
-BOOLEAN MatchSrcPort(S_CLASSIFIER_RULE *pstClassifierRule,USHORT ushSrcPort);
-BOOLEAN MatchDestPort(S_CLASSIFIER_RULE *pstClassifierRule,USHORT ushSrcPort);
-BOOLEAN MatchProtocol(S_CLASSIFIER_RULE *pstClassifierRule,UCHAR ucProtocol);
+BOOLEAN MatchSrcPort(struct bcm_classifier_rule *pstClassifierRule,USHORT ushSrcPort);
+BOOLEAN MatchDestPort(struct bcm_classifier_rule *pstClassifierRule,USHORT ushSrcPort);
+BOOLEAN MatchProtocol(struct bcm_classifier_rule *pstClassifierRule,UCHAR ucProtocol);
 
 
 INT SetupNextSend(PMINI_ADAPTER Adapter, /**<Logical Adapter*/
 
 int InitLedSettings(PMINI_ADAPTER Adapter);
 
-S_CLASSIFIER_RULE *GetFragIPClsEntry(PMINI_ADAPTER Adapter,USHORT usIpIdentification,ULONG SrcIP);
+struct bcm_classifier_rule *GetFragIPClsEntry(PMINI_ADAPTER Adapter,USHORT usIpIdentification,ULONG SrcIP);
 
 void AddFragIPClsEntry(PMINI_ADAPTER Adapter, struct bcm_fragmented_packet_info *psFragPktInfo);
 
 
 #include "headers.h"
 
 static void EThCSGetPktInfo(PMINI_ADAPTER Adapter,PVOID pvEthPayload,PS_ETHCS_PKT_INFO pstEthCsPktInfo);
-static BOOLEAN EThCSClassifyPkt(PMINI_ADAPTER Adapter,struct sk_buff* skb,PS_ETHCS_PKT_INFO pstEthCsPktInfo,S_CLASSIFIER_RULE *pstClassifierRule, B_UINT8 EthCSCupport);
+static BOOLEAN EThCSClassifyPkt(PMINI_ADAPTER Adapter,struct sk_buff* skb,PS_ETHCS_PKT_INFO pstEthCsPktInfo,struct bcm_classifier_rule *pstClassifierRule, B_UINT8 EthCSCupport);
 
 static USHORT  IpVersion4(PMINI_ADAPTER Adapter, struct iphdr *iphd,
-                          S_CLASSIFIER_RULE *pstClassifierRule );
+                          struct bcm_classifier_rule *pstClassifierRule );
 
 static VOID PruneQueue(PMINI_ADAPTER Adapter, INT iIndex);
 
 *
 * Returns     - TRUE(If address matches) else FAIL .
 *********************************************************************/
-BOOLEAN MatchSrcIpAddress(S_CLASSIFIER_RULE *pstClassifierRule,ULONG ulSrcIP)
+BOOLEAN MatchSrcIpAddress(struct bcm_classifier_rule *pstClassifierRule,ULONG ulSrcIP)
 {
     UCHAR      ucLoopIndex=0;
 
 *
 * Returns     - TRUE(If address matches) else FAIL .
 *********************************************************************/
-BOOLEAN MatchDestIpAddress(S_CLASSIFIER_RULE *pstClassifierRule,ULONG ulDestIP)
+BOOLEAN MatchDestIpAddress(struct bcm_classifier_rule *pstClassifierRule,ULONG ulDestIP)
 {
        UCHAR   ucLoopIndex=0;
     PMINI_ADAPTER      Adapter = GET_BCM_ADAPTER(gblpnetdev);
 *
 * Returns     - TRUE(If address matches) else FAIL.
 **************************************************************************/
-BOOLEAN MatchTos(S_CLASSIFIER_RULE *pstClassifierRule,UCHAR ucTypeOfService)
+BOOLEAN MatchTos(struct bcm_classifier_rule *pstClassifierRule,UCHAR ucTypeOfService)
 {
 
        PMINI_ADAPTER Adapter = GET_BCM_ADAPTER(gblpnetdev);
 *
 * Returns     - TRUE(If address matches) else FAIL.
 ****************************************************************************/
-BOOLEAN MatchProtocol(S_CLASSIFIER_RULE *pstClassifierRule,UCHAR ucProtocol)
+BOOLEAN MatchProtocol(struct bcm_classifier_rule *pstClassifierRule,UCHAR ucProtocol)
 {
        UCHAR   ucLoopIndex=0;
        PMINI_ADAPTER Adapter = GET_BCM_ADAPTER(gblpnetdev);
 *
 * Returns     - TRUE(If address matches) else FAIL.
 ***************************************************************************/
-BOOLEAN MatchSrcPort(S_CLASSIFIER_RULE *pstClassifierRule,USHORT ushSrcPort)
+BOOLEAN MatchSrcPort(struct bcm_classifier_rule *pstClassifierRule,USHORT ushSrcPort)
 {
        UCHAR   ucLoopIndex=0;
 
 *
 * Returns     - TRUE(If address matches) else FAIL.
 ***************************************************************************/
-BOOLEAN MatchDestPort(S_CLASSIFIER_RULE *pstClassifierRule,USHORT ushDestPort)
+BOOLEAN MatchDestPort(struct bcm_classifier_rule *pstClassifierRule,USHORT ushDestPort)
 {
        UCHAR   ucLoopIndex=0;
                PMINI_ADAPTER Adapter = GET_BCM_ADAPTER(gblpnetdev);
 */
 static USHORT  IpVersion4(PMINI_ADAPTER Adapter,
                           struct iphdr *iphd,
-                          S_CLASSIFIER_RULE *pstClassifierRule )
+                          struct bcm_classifier_rule *pstClassifierRule)
 {
        xporthdr                *xprt_hdr=NULL;
        BOOLEAN bClassificationSucceed=FALSE;
 USHORT ClassifyPacket(PMINI_ADAPTER Adapter,struct sk_buff* skb)
 {
        INT                     uiLoopIndex=0;
-       S_CLASSIFIER_RULE *pstClassifierRule = NULL;
+       struct bcm_classifier_rule *pstClassifierRule = NULL;
        S_ETHCS_PKT_INFO stEthCsPktInfo;
        PVOID pvEThPayload = NULL;
        struct iphdr            *pIpHeader = NULL;
                return INVALID_QUEUE_INDEX;
 }
 
-static BOOLEAN EthCSMatchSrcMACAddress(S_CLASSIFIER_RULE *pstClassifierRule,PUCHAR Mac)
+static BOOLEAN EthCSMatchSrcMACAddress(struct bcm_classifier_rule *pstClassifierRule,PUCHAR Mac)
 {
        UINT i=0;
     PMINI_ADAPTER Adapter = GET_BCM_ADAPTER(gblpnetdev);
        return TRUE;
 }
 
-static BOOLEAN EthCSMatchDestMACAddress(S_CLASSIFIER_RULE *pstClassifierRule,PUCHAR Mac)
+static BOOLEAN EthCSMatchDestMACAddress(struct bcm_classifier_rule *pstClassifierRule,PUCHAR Mac)
 {
        UINT i=0;
     PMINI_ADAPTER Adapter = GET_BCM_ADAPTER(gblpnetdev);
        return TRUE;
 }
 
-static BOOLEAN EthCSMatchEThTypeSAP(S_CLASSIFIER_RULE *pstClassifierRule,struct sk_buff* skb,PS_ETHCS_PKT_INFO pstEthCsPktInfo)
+static BOOLEAN EthCSMatchEThTypeSAP(struct bcm_classifier_rule *pstClassifierRule,struct sk_buff* skb,PS_ETHCS_PKT_INFO pstEthCsPktInfo)
 {
     PMINI_ADAPTER Adapter = GET_BCM_ADAPTER(gblpnetdev);
        if((pstClassifierRule->ucEtherTypeLen==0)||
 
 }
 
-static BOOLEAN EthCSMatchVLANRules(S_CLASSIFIER_RULE *pstClassifierRule,struct sk_buff* skb,PS_ETHCS_PKT_INFO pstEthCsPktInfo)
+static BOOLEAN EthCSMatchVLANRules(struct bcm_classifier_rule *pstClassifierRule,struct sk_buff* skb,PS_ETHCS_PKT_INFO pstEthCsPktInfo)
 {
        BOOLEAN bClassificationSucceed = FALSE;
        USHORT usVLANID;
 
 static BOOLEAN EThCSClassifyPkt(PMINI_ADAPTER Adapter,struct sk_buff* skb,
                                PS_ETHCS_PKT_INFO pstEthCsPktInfo,
-                               S_CLASSIFIER_RULE *pstClassifierRule,
+                               struct bcm_classifier_rule *pstClassifierRule,
                                B_UINT8 EthCSCupport)
 {
        BOOLEAN bClassificationSucceed = FALSE;
 
 
 static int compare_classifiers(void const *a, void const *b)
 {
-       S_CLASSIFIER_RULE const *pa = a;
-       S_CLASSIFIER_RULE const *pb = b;
+       struct bcm_classifier_rule const *pa = a;
+       struct bcm_classifier_rule const *pb = b;
 
        if (!pa->bUsed || !pb->bUsed)
                return 0;
                        DBG_LVL_ALL, "<=======");
 
        sort(Adapter->astClassifierTable, MAX_CLASSIFIERS,
-               sizeof(S_CLASSIFIER_RULE), compare_classifiers, NULL);
+               sizeof(struct bcm_classifier_rule), compare_classifiers, NULL);
 }