11#include "headers.h"
22
3- static UINT CreateSFToClassifierRuleMapping (B_UINT16 uiVcid ,B_UINT16 uiClsId ,S_SERVICEFLOW_TABLE * psServiceFlowTable ,S_PHS_RULE * psPhsRule ,B_UINT8 u8AssociatedPHSI );
3+ static UINT CreateSFToClassifierRuleMapping (B_UINT16 uiVcid ,B_UINT16 uiClsId , struct bcm_phs_table * psServiceFlowTable ,S_PHS_RULE * psPhsRule ,B_UINT8 u8AssociatedPHSI );
44
55static UINT CreateClassiferToPHSRuleMapping (B_UINT16 uiVcid ,B_UINT16 uiClsId ,S_SERVICEFLOW_ENTRY * pstServiceFlowEntry ,S_PHS_RULE * psPhsRule ,B_UINT8 u8AssociatedPHSI );
66
@@ -16,7 +16,7 @@ static UINT GetClassifierEntry(S_CLASSIFIER_TABLE *pstClassifierTable,B_UINT32 u
1616
1717static UINT GetPhsRuleEntry (S_CLASSIFIER_TABLE * pstClassifierTable ,B_UINT32 uiPHSI ,E_CLASSIFIER_ENTRY_CONTEXT eClsContext ,S_PHS_RULE * * ppstPhsRule );
1818
19- static void free_phs_serviceflow_rules (S_SERVICEFLOW_TABLE * psServiceFlowRulesTable );
19+ static void free_phs_serviceflow_rules (struct bcm_phs_table * psServiceFlowRulesTable );
2020
2121static int phs_compress (S_PHS_RULE * phs_members ,unsigned char * in_buf ,
2222 unsigned char * out_buf ,unsigned int * header_size ,UINT * new_header_size );
@@ -294,14 +294,14 @@ void DumpFullPacket(UCHAR *pBuf,UINT nPktLen)
294294int phs_init (struct bcm_phs_extension * pPhsdeviceExtension , struct bcm_mini_adapter * Adapter )
295295{
296296 int i ;
297- S_SERVICEFLOW_TABLE * pstServiceFlowTable ;
297+ struct bcm_phs_table * pstServiceFlowTable ;
298298 BCM_DEBUG_PRINT (Adapter ,DBG_TYPE_OTHERS , PHS_DISPATCH , DBG_LVL_ALL , "\nPHS:phs_init function " );
299299
300300 if (pPhsdeviceExtension -> pstServiceFlowPhsRulesTable )
301301 return - EINVAL ;
302302
303303 pPhsdeviceExtension -> pstServiceFlowPhsRulesTable =
304- kzalloc (sizeof (S_SERVICEFLOW_TABLE ), GFP_KERNEL );
304+ kzalloc (sizeof (struct bcm_phs_table ), GFP_KERNEL );
305305
306306 if (!pPhsdeviceExtension -> pstServiceFlowPhsRulesTable )
307307 {
@@ -844,7 +844,7 @@ ULONG PhsDeCompress(IN void* pvContext,
844844// Does not return any value.
845845//-----------------------------------------------------------------------------
846846
847- static void free_phs_serviceflow_rules (S_SERVICEFLOW_TABLE * psServiceFlowRulesTable )
847+ static void free_phs_serviceflow_rules (struct bcm_phs_table * psServiceFlowRulesTable )
848848{
849849 int i ,j ;
850850 struct bcm_mini_adapter * Adapter = GET_BCM_ADAPTER (gblpnetdev );
@@ -927,7 +927,7 @@ static BOOLEAN ValidatePHSRuleComplete(IN S_PHS_RULE *psPhsRule)
927927 }
928928}
929929
930- UINT GetServiceFlowEntry (IN S_SERVICEFLOW_TABLE * psServiceFlowTable ,
930+ UINT GetServiceFlowEntry (IN struct bcm_phs_table * psServiceFlowTable ,
931931 IN B_UINT16 uiVcid ,S_SERVICEFLOW_ENTRY * * ppstServiceFlowEntry )
932932{
933933 int i ;
@@ -1013,7 +1013,7 @@ static UINT GetPhsRuleEntry(IN S_CLASSIFIER_TABLE *pstClassifierTable,
10131013}
10141014
10151015UINT CreateSFToClassifierRuleMapping (IN B_UINT16 uiVcid ,IN B_UINT16 uiClsId ,
1016- IN S_SERVICEFLOW_TABLE * psServiceFlowTable ,S_PHS_RULE * psPhsRule ,
1016+ IN struct bcm_phs_table * psServiceFlowTable ,S_PHS_RULE * psPhsRule ,
10171017 B_UINT8 u8AssociatedPHSI )
10181018{
10191019
0 commit comments