x86/xen: resume timer irqs early
[linux/fpc-iii.git] / drivers / staging / bcm / PHSModule.h
blob82d8682841809d17858e4f8f43f7db66e9a0383e
1 #ifndef BCM_MINIPORT_PHSMODULE_H
2 #define BCM_MINIPORT_PHSMODULE_H
4 int PHSTransmit(struct bcm_mini_adapter *Adapter,
5 struct sk_buff **pPacket,
6 USHORT Vcid,
7 B_UINT16 uiClassifierRuleID,
8 BOOLEAN bHeaderSuppressionEnabled,
9 PUINT PacketLen,
10 UCHAR bEthCSSupport);
12 int PHSReceive(struct bcm_mini_adapter *Adapter,
13 USHORT usVcid,
14 struct sk_buff *packet,
15 UINT *punPacketLen,
16 UCHAR *pucEthernetHdr,
17 UINT
21 void DumpDataPacketHeader(PUCHAR pPkt);
23 void DumpFullPacket(UCHAR *pBuf,UINT nPktLen);
25 void DumpPhsRules(struct bcm_phs_extension *pDeviceExtension);
28 int phs_init(struct bcm_phs_extension *pPhsdeviceExtension,struct bcm_mini_adapter *Adapter);
30 int PhsCleanup(struct bcm_phs_extension *pPHSDeviceExt);
32 //Utility Functions
33 ULONG PhsUpdateClassifierRule(void* pvContext,B_UINT16 uiVcid,B_UINT16 uiClsId, struct bcm_phs_rule *psPhsRule,B_UINT8 u8AssociatedPHSI );
35 ULONG PhsDeletePHSRule(void* pvContext,B_UINT16 uiVcid,B_UINT8 u8PHSI);
37 ULONG PhsDeleteClassifierRule(void* pvContext, B_UINT16 uiVcid ,B_UINT16 uiClsId);
39 ULONG PhsDeleteSFRules(void* pvContext,B_UINT16 uiVcid) ;
42 BOOLEAN ValidatePHSRule(struct bcm_phs_rule *psPhsRule);
44 UINT GetServiceFlowEntry(struct bcm_phs_table *psServiceFlowTable,B_UINT16 uiVcid, struct bcm_phs_entry **ppstServiceFlowEntry);
47 void DumpPhsRules(struct bcm_phs_extension *pDeviceExtension);
50 #endif