Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
PHSModule.c File Reference
#include "headers.h"

Go to the source code of this file.

Macros

#define IN
 
#define OUT
 

Functions

int PHSTransmit (struct bcm_mini_adapter *Adapter, struct sk_buff **pPacket, USHORT Vcid, B_UINT16 uiClassifierRuleID, BOOLEAN bHeaderSuppressionEnabled, UINT *PacketLen, UCHAR bEthCSSupport)
 
int PHSReceive (struct bcm_mini_adapter *Adapter, USHORT usVcid, struct sk_buff *packet, UINT *punPacketLen, UCHAR *pucEthernetHdr, UINT bHeaderSuppressionEnabled)
 
void DumpFullPacket (UCHAR *pBuf, UINT nPktLen)
 
int phs_init (PPHS_DEVICE_EXTENSION pPhsdeviceExtension, struct bcm_mini_adapter *Adapter)
 
int PhsCleanup (IN PPHS_DEVICE_EXTENSION pPHSDeviceExt)
 
ULONG PhsUpdateClassifierRule (IN void *pvContext, IN B_UINT16 uiVcid, IN B_UINT16 uiClsId, IN S_PHS_RULE *psPhsRule, IN B_UINT8 u8AssociatedPHSI)
 
ULONG PhsDeletePHSRule (IN void *pvContext, IN B_UINT16 uiVcid, IN B_UINT8 u8PHSI)
 
ULONG PhsDeleteClassifierRule (IN void *pvContext, IN B_UINT16 uiVcid, IN B_UINT16 uiClsId)
 
ULONG PhsDeleteSFRules (IN void *pvContext, IN B_UINT16 uiVcid)
 
ULONG PhsCompress (IN void *pvContext, IN B_UINT16 uiVcid, IN B_UINT16 uiClsId, IN void *pvInputBuffer, OUT void *pvOutputBuffer, OUT UINT *pOldHeaderSize, OUT UINT *pNewHeaderSize)
 
ULONG PhsDeCompress (IN void *pvContext, IN B_UINT16 uiVcid, IN void *pvInputBuffer, OUT void *pvOutputBuffer, OUT UINT *pInHeaderSize, OUT UINT *pOutHeaderSize)
 
UINT GetServiceFlowEntry (IN S_SERVICEFLOW_TABLE *psServiceFlowTable, IN B_UINT16 uiVcid, S_SERVICEFLOW_ENTRY **ppstServiceFlowEntry)
 
UINT GetClassifierEntry (IN S_CLASSIFIER_TABLE *pstClassifierTable, IN B_UINT32 uiClsid, E_CLASSIFIER_ENTRY_CONTEXT eClsContext, OUT S_CLASSIFIER_ENTRY **ppstClassifierEntry)
 
UINT CreateSFToClassifierRuleMapping (IN B_UINT16 uiVcid, IN B_UINT16 uiClsId, IN S_SERVICEFLOW_TABLE *psServiceFlowTable, S_PHS_RULE *psPhsRule, B_UINT8 u8AssociatedPHSI)
 
UINT CreateClassiferToPHSRuleMapping (IN B_UINT16 uiVcid, IN B_UINT16 uiClsId, IN S_SERVICEFLOW_ENTRY *pstServiceFlowEntry, S_PHS_RULE *psPhsRule, B_UINT8 u8AssociatedPHSI)
 
void DumpPhsRules (PPHS_DEVICE_EXTENSION pDeviceExtension)
 

Macro Definition Documentation

#define IN

Definition at line 49 of file PHSModule.c.

#define OUT

Definition at line 50 of file PHSModule.c.

Function Documentation

UINT CreateClassiferToPHSRuleMapping ( IN B_UINT16  uiVcid,
IN B_UINT16  uiClsId,
IN S_SERVICEFLOW_ENTRY pstServiceFlowEntry,
S_PHS_RULE psPhsRule,
B_UINT8  u8AssociatedPHSI 
)

Definition at line 1052 of file PHSModule.c.

UINT CreateSFToClassifierRuleMapping ( IN B_UINT16  uiVcid,
IN B_UINT16  uiClsId,
IN S_SERVICEFLOW_TABLE psServiceFlowTable,
S_PHS_RULE psPhsRule,
B_UINT8  u8AssociatedPHSI 
)

Definition at line 1015 of file PHSModule.c.

void DumpFullPacket ( UCHAR pBuf,
UINT  nPktLen 
)

Definition at line 274 of file PHSModule.c.

void DumpPhsRules ( PPHS_DEVICE_EXTENSION  pDeviceExtension)

Definition at line 1334 of file PHSModule.c.

UINT GetClassifierEntry ( IN S_CLASSIFIER_TABLE pstClassifierTable,
IN B_UINT32  uiClsid,
E_CLASSIFIER_ENTRY_CONTEXT  eClsContext,
OUT S_CLASSIFIER_ENTRY **  ppstClassifierEntry 
)

Definition at line 951 of file PHSModule.c.

UINT GetServiceFlowEntry ( IN S_SERVICEFLOW_TABLE psServiceFlowTable,
IN B_UINT16  uiVcid,
S_SERVICEFLOW_ENTRY **  ppstServiceFlowEntry 
)

Definition at line 930 of file PHSModule.c.

int phs_init ( PPHS_DEVICE_EXTENSION  pPhsdeviceExtension,
struct bcm_mini_adapter Adapter 
)

Definition at line 294 of file PHSModule.c.

int PhsCleanup ( IN PPHS_DEVICE_EXTENSION  pPHSDeviceExt)

Definition at line 354 of file PHSModule.c.

ULONG PhsCompress ( IN void pvContext,
IN B_UINT16  uiVcid,
IN B_UINT16  uiClsId,
IN void pvInputBuffer,
OUT void pvOutputBuffer,
OUT UINT pOldHeaderSize,
OUT UINT pNewHeaderSize 
)

Definition at line 674 of file PHSModule.c.

ULONG PhsDeCompress ( IN void pvContext,
IN B_UINT16  uiVcid,
IN void pvInputBuffer,
OUT void pvOutputBuffer,
OUT UINT pInHeaderSize,
OUT UINT pOutHeaderSize 
)

Definition at line 770 of file PHSModule.c.

ULONG PhsDeleteClassifierRule ( IN void pvContext,
IN B_UINT16  uiVcid,
IN B_UINT16  uiClsId 
)

Definition at line 525 of file PHSModule.c.

ULONG PhsDeletePHSRule ( IN void pvContext,
IN B_UINT16  uiVcid,
IN B_UINT8  u8PHSI 
)

Definition at line 459 of file PHSModule.c.

ULONG PhsDeleteSFRules ( IN void pvContext,
IN B_UINT16  uiVcid 
)

Definition at line 588 of file PHSModule.c.

int PHSReceive ( struct bcm_mini_adapter Adapter,
USHORT  usVcid,
struct sk_buff packet,
UINT punPacketLen,
UCHAR pucEthernetHdr,
UINT  bHeaderSuppressionEnabled 
)

Definition at line 212 of file PHSModule.c.

int PHSTransmit ( struct bcm_mini_adapter Adapter,
struct sk_buff **  pPacket,
USHORT  Vcid,
B_UINT16  uiClassifierRuleID,
BOOLEAN  bHeaderSuppressionEnabled,
UINT PacketLen,
UCHAR  bEthCSSupport 
)

Definition at line 72 of file PHSModule.c.

ULONG PhsUpdateClassifierRule ( IN void pvContext,
IN B_UINT16  uiVcid,
IN B_UINT16  uiClsId,
IN S_PHS_RULE psPhsRule,
IN B_UINT8  u8AssociatedPHSI 
)

Definition at line 392 of file PHSModule.c.