]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/bcm/cntrl_SignalingInterface.h
Merge tag 'jfs-3.7' of git://github.com/kleikamp/linux-shaggy
[~andy/linux] / drivers / staging / bcm / cntrl_SignalingInterface.h
index ffc5456e3fec02bd44079b7ab8a3994a879f7e6a..990e809e968022ddfb29657ce09809517ce439a0 100644 (file)
 #define NUM_ETHERTYPE_BYTES            3
 #define NUM_IPV6_FLOWLABLE_BYTES       3
 
-/*
- * structure Definitions
- *
- * brief class cCPacketClassificationRule
- */
-struct _stCPacketClassificationRuleSI {
+struct bcm_packet_class_rules {
        /* 16bit UserPriority Of The Service Flow */
        B_UINT16 u16UserPriority;
        /* 16bit VLANID Of The Service Flow */
@@ -96,10 +91,8 @@ struct _stCPacketClassificationRuleSI {
        B_UINT8 u8ClassifierActionRule;
        B_UINT16 u16ValidityBitMap;
 };
-typedef struct _stCPacketClassificationRuleSI CCPacketClassificationRuleSI, stCPacketClassificationRuleSI, *pstCPacketClassificationRuleSI;
 
-/* brief class CPhsRuleSI */
-typedef struct _stPhsRuleSI {
+struct bcm_phs_rules {
        /* 8bit PHS Index Of The Service Flow */
        B_UINT8 u8PHSI;
        /* PHSF Length Of The Service Flow */
@@ -119,26 +112,22 @@ typedef struct _stPhsRuleSI {
        /* Vendor Specific PHS param Of The Service Flow */
        B_UINT8 u8VendorSpecificPHSParams[VENDOR_PHS_PARAM_LENGTH];
        B_UINT8 u8Padding[2];
-} stPhsRuleSI, *pstPhsRuleSI;
-typedef stPhsRuleSI CPhsRuleSI;
+};
 
-/* brief structure cConvergenceSLTypes */
-struct _stConvergenceSLTypes {
+struct bcm_convergence_types {
        /* 8bit Phs Classfier Action Of The Service Flow */
        B_UINT8 u8ClassfierDSCAction;
        /* 8bit Phs DSC Action Of The Service Flow */
        B_UINT8 u8PhsDSCAction;
        /* 16bit Padding */
        B_UINT8 u8Padding[2];
-       /* brief class cCPacketClassificationRule */
-       stCPacketClassificationRuleSI cCPacketClassificationRule;
-       /* brief class CPhsRuleSI */
-       struct _stPhsRuleSI cPhsRule;
+       /* Packet classification rules structure */
+       struct bcm_packet_class_rules cCPacketClassificationRule;
+       /* Payload header suppression rules structure */
+       struct bcm_phs_rules cPhsRule;
 };
-typedef struct _stConvergenceSLTypes stConvergenceSLTypes, CConvergenceSLTypes, *pstConvergenceSLTypes;
 
-/* brief structure CServiceFlowParamSI */
-typedef struct _stServiceFlowParamSI {
+struct bcm_connect_mgr_params {
        /* 32bitSFID Of The Service Flow */
        B_UINT32 u32SFID;
        /* 32bit Maximum Sustained Traffic Rate of the Service Flow */
@@ -252,18 +241,13 @@ typedef struct _stServiceFlowParamSI {
        B_UINT8 u8TotalClassifiers;  /* < Total number of valid classifiers */
        B_UINT8 bValid; /* < Validity flag */
        B_UINT8 u8Padding;       /* < Padding byte */
-/*
- * Structure for Convergence SubLayer Types with a maximum of 4 classifiers
- */
-       stConvergenceSLTypes cConvergenceSLTypes[MAX_CLASSIFIERS_IN_SF];
-
-} stServiceFlowParamSI, *pstServiceFlowParamSI;
-typedef stServiceFlowParamSI CServiceFlowParamSI;
+       /*
+        * Structure for Convergence SubLayer Types with a maximum of 4 classifiers
+        */
+       struct bcm_convergence_types cConvergenceSLTypes[MAX_CLASSIFIERS_IN_SF];
+};
 
-/*
- * structure stLocalSFAddRequest
- */
-typedef struct _stLocalSFAddRequest {
+struct bcm_add_request {
        B_UINT8 u8Type; /* < Type */
        B_UINT8 eConnectionDir; /* < Connection direction */
        /* brief 16 bit TID */
@@ -272,15 +256,10 @@ typedef struct _stLocalSFAddRequest {
        B_UINT16 u16CID; /* < 16bit CID */
        /* brief 16bitVCID */
        B_UINT16 u16VCID; /* < 16bit VCID */
-       /* brief structure ParameterSet */
-       stServiceFlowParamSI *psfParameterSet; /* < structure ParameterSet */
-
-} stLocalSFAddRequest, *pstLocalSFAddRequest;
+       struct bcm_connect_mgr_params *psfParameterSet; /* < connection manager parameters */
+};
 
-/*
- * structure stLocalSFAddIndication
- */
-typedef struct _stLocalSFAddIndication {
+struct bcm_add_indication {
        B_UINT8 u8Type; /* < Type */
        B_UINT8 eConnectionDir; /* < Connection Direction */
        /* brief 16 bit TID */
@@ -289,44 +268,23 @@ typedef struct _stLocalSFAddIndication {
        B_UINT16 u16CID; /* < 16bitCID */
        /* brief 16bitVCID */
        B_UINT16 u16VCID; /* < 16bitVCID */
-       /* brief structure AuthorizedSet */
-       /* brief structure AuthorizedSet */
-       stServiceFlowParamSI *psfAuthorizedSet; /* < AuthorizedSet of type stServiceFlowParamSI */
-       /* brief structure AdmittedSet */
-       stServiceFlowParamSI *psfAdmittedSet; /* < AdmittedSet of type stServiceFlowParamSI */
-       /* brief structure ActiveSet */
-       stServiceFlowParamSI *psfActiveSet; /* < sfActiveSet of type stServiceFlowParamSI */
+       struct bcm_connect_mgr_params *psfAuthorizedSet; /* Authorized set of connection manager parameters */
+       struct bcm_connect_mgr_params *psfAdmittedSet; /* Admitted set of connection manager parameters */
+       struct bcm_connect_mgr_params *psfActiveSet; /* Activeset of connection manager parameters */
        B_UINT8 u8CC; /* <Confirmation Code */
        B_UINT8 u8Padd; /* < 8-bit Padding */
        B_UINT16 u16Padd; /* < 16 bit Padding */
+};
 
-} stLocalSFAddIndication;
-
-typedef struct _stLocalSFAddIndication *pstLocalSFAddIndication;
-/*
- * structure stLocalSFChangeRequest is same as structure stLocalSFAddIndication
- */
-typedef struct _stLocalSFAddIndication stLocalSFChangeRequest, *pstLocalSFChangeRequest;
-/*
- * structure stLocalSFChangeIndication is same as structure stLocalSFAddIndication
- */
-typedef struct _stLocalSFAddIndication stLocalSFChangeIndication, *pstLocalSFChangeIndication;
-
-/*
- * structure stLocalSFDeleteRequest
- */
-typedef struct _stLocalSFDeleteRequest {
+struct bcm_del_request {
        B_UINT8 u8Type; /* < Type */
        B_UINT8 u8Padding; /* < Padding byte */
        B_UINT16 u16TID; /* < TID */
        /* brief 32bitSFID */
        B_UINT32 u32SFID; /* < SFID */
-} stLocalSFDeleteRequest, *pstLocalSFDeleteRequest;
+};
 
-/*
- * structure stLocalSFDeleteIndication
- */
-typedef struct stLocalSFDeleteIndication {
+struct bcm_del_indication {
        B_UINT8 u8Type; /* < Type */
        B_UINT8 u8Padding; /* < Padding */
        B_UINT16 u16TID; /* < TID */
@@ -339,16 +297,15 @@ typedef struct stLocalSFDeleteIndication {
        /* brief 8bit Confirmation code */
        B_UINT8 u8ConfirmationCode; /* < Confirmation code */
        B_UINT8 u8Padding1[3]; /* < 3 byte Padding */
-} stLocalSFDeleteIndication;
+};
 
-typedef struct _stIM_SFHostNotify
-{
+struct bcm_stim_sfhostnotify {
        B_UINT32 SFID; /* SFID of the service flow */
        B_UINT16 newCID; /* the new/changed CID */
        B_UINT16 VCID; /* Get new Vcid if the flow has been made active in CID update TLV, but was inactive earlier or the orig vcid */
        B_UINT8 RetainSF; /* Indication to Host if the SF is to be retained or deleted; if TRUE-retain else delete */
        B_UINT8 QoSParamSet; /* QoS paramset of the retained SF */
        B_UINT16 u16reserved; /* For byte alignment */
-} stIM_SFHostNotify;
+};
 
 #endif