Home
last modified time | relevance | path

Searched refs:pstClassifierRule (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/staging/bcm/
DQos.c8 …t sk_buff* skb,PS_ETHCS_PKT_INFO pstEthCsPktInfo,S_CLASSIFIER_RULE *pstClassifierRule, B_UINT8 Eth…
11 S_CLASSIFIER_RULE *pstClassifierRule );
27 BOOLEAN MatchSrcIpAddress(S_CLASSIFIER_RULE *pstClassifierRule,ULONG ulSrcIP) in MatchSrcIpAddress() argument
34 if(0 == pstClassifierRule->ucIPSourceAddressLength) in MatchSrcIpAddress()
36 for(ucLoopIndex=0; ucLoopIndex < (pstClassifierRule->ucIPSourceAddressLength);ucLoopIndex++) in MatchSrcIpAddress()
38 …Classification:0x%x", (UINT)pstClassifierRule->stSrcIpAddress.ulIpv4Mask[ucLoopIndex], (UINT)ulSrc… in MatchSrcIpAddress()
39 if((pstClassifierRule->stSrcIpAddress.ulIpv4Mask[ucLoopIndex] & ulSrcIP)== in MatchSrcIpAddress()
40 …(pstClassifierRule->stSrcIpAddress.ulIpv4Addr[ucLoopIndex] & pstClassifierRule->stSrcIpAddress.ulI… in MatchSrcIpAddress()
61 BOOLEAN MatchDestIpAddress(S_CLASSIFIER_RULE *pstClassifierRule,ULONG ulDestIP) in MatchDestIpAddress() argument
67 if(0 == pstClassifierRule->ucIPDestinationAddressLength) in MatchDestIpAddress()
[all …]
DIPv6Protocol.c3 static BOOLEAN MatchSrcIpv6Address(S_CLASSIFIER_RULE *pstClassifierRule,IPV6Header *pstIpv6Header);
4 static BOOLEAN MatchDestIpv6Address(S_CLASSIFIER_RULE *pstClassifierRule,IPV6Header *pstIpv6Header);
174 S_CLASSIFIER_RULE *pstClassifierRule ) in IpVersion6() argument
197 if(0 == pstClassifierRule->ucDirection) in IpVersion6()
204 if(!pstClassifierRule->bIpv6Protocol) in IpVersion6()
210 bClassificationSucceed=MatchSrcIpv6Address(pstClassifierRule,pstIpv6Header); in IpVersion6()
214 bClassificationSucceed=MatchDestIpv6Address(pstClassifierRule,pstIpv6Header); in IpVersion6()
219 bClassificationSucceed=MatchProtocol(pstClassifierRule,ucNextProtocolAboveIP); in IpVersion6()
228 bClassificationSucceed=MatchSrcPort(pstClassifierRule,ntohs(ushSrcPort)); in IpVersion6()
236 bClassificationSucceed=MatchDestPort(pstClassifierRule,ntohs(ushDestPort)); in IpVersion6()
[all …]
DIPv6ProtocolHdr.h107 S_CLASSIFIER_RULE *pstClassifierRule );
111 extern BOOLEAN MatchSrcPort(S_CLASSIFIER_RULE *pstClassifierRule,USHORT ushSrcPort);
112 extern BOOLEAN MatchDestPort(S_CLASSIFIER_RULE *pstClassifierRule,USHORT ushSrcPort);
113 extern BOOLEAN MatchProtocol(S_CLASSIFIER_RULE *pstClassifierRule,UCHAR ucProtocol);
Dhostmibs.c17 S_CLASSIFIER_ENTRY *pstClassifierRule = NULL; in ProcessGetHostMibs() local
63 pstClassifierRule = &pstClassifierTable->stActivePhsRulesList[uiIndex]; in ProcessGetHostMibs()
65 if (pstClassifierRule->bUsed) { in ProcessGetHostMibs()
66 pstPhsRule = pstClassifierRule->pstPhsRule; in ProcessGetHostMibs()
DPrototypes.h36 BOOLEAN MatchSrcPort(S_CLASSIFIER_RULE *pstClassifierRule,USHORT ushSrcPort);
37 BOOLEAN MatchDestPort(S_CLASSIFIER_RULE *pstClassifierRule,USHORT ushSrcPort);
38 BOOLEAN MatchProtocol(S_CLASSIFIER_RULE *pstClassifierRule,UCHAR ucProtocol);
DPHSModule.c989 S_CLASSIFIER_ENTRY *pstClassifierRule = NULL; in GetPhsRuleEntry() local
994 pstClassifierRule = &pstClassifierTable->stActivePhsRulesList[i]; in GetPhsRuleEntry()
998 pstClassifierRule = &pstClassifierTable->stOldPhsRulesList[i]; in GetPhsRuleEntry()
1000 if(pstClassifierRule->bUsed) in GetPhsRuleEntry()
1002 if(pstClassifierRule->u8PHSI == uiPHSI) in GetPhsRuleEntry()
1004 *ppstPhsRule = pstClassifierRule->pstPhsRule; in GetPhsRuleEntry()