28 #include "FwPrConstants.h" 29 #include "FwPrDCreate.h" 30 #include "FwPrConfig.h" 32 #include "FwSmConfig.h" 35 #include <CrFwCmpData.h> 52 static FwSmDesc_t
rep;
71 prData = FwPrGetData(prDesc);
72 smDesc = prData->smDesc;
77 inPckt = inSpecificData->
pckt;
133 pckt = cmpSpecificData->
pckt;
138 prData = FwPrGetData(prDesc);
140 smDesc = prData->smDesc;
143 inData = FwSmGetData(smDesc);
145 inPckt = inSpecificData->
pckt;
172 CrFwCounterU4_t nOfReroutingFailed;
179 nOfReroutingFailed += 1;
199 prData = FwPrGetData(prDesc);
200 smDesc = prData->smDesc;
205 inPckt = inSpecificData->
pckt;
208 PacketId = CrFwPcktGetApid(inPckt);
231 prData = FwPrGetData(prDesc);
232 smDesc = prData->smDesc;
253 prData = FwPrGetData(prDesc);
254 smDesc = prData->smDesc;
FwPrBool_t CrPsPcktReroutingFailG2(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION2 to N3.
Type for the Framework Component Data (FCD).
FwPrBool_t CrPsPcktReroutingFailG1E(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION1 to N2.
CrFwDestSrc_t CrFwPcktGetSrc(CrFwPckt_t pckt)
Return the source of the command or report encapsulated in a packet.
CrFwServType_t CrFwPcktGetServType(CrFwPckt_t pckt)
Return the service type of the command or report encapsulated in a packet.
CrFwDiscriminant_t CrFwPcktGetDiscriminant(CrFwPckt_t pckt)
Return the discriminant of the command or report encapsulated in a packet.
CrFwTypeId_t CrFwCmpGetTypeId(FwSmDesc_t smDesc)
Return the type identifier of the argument component.
void CrPsPcktReroutingFailN2(FwPrDesc_t prDesc)
Action for node N2.
#define CRFW_UNUSED(x)
A macro that can be used to specify that a function parameter is not used.
static FwSmDesc_t rep
CrPsPcktReroutingFail function definitions.
Header file to define all user-configurable constants and types for the IASW Application.
#define CR_FW_INREPORT_TYPE
Type identifier for the InReport component.
static CrPsFailData_t getDpverFailData()
Gets the value of the datapool item verFailData.
void CrPsPcktReroutingFailN3(FwPrDesc_t prDesc)
Action for node N3.
unsigned short int CrFwTypeId_t
Type used for the identifier of a component type.
FwPrBool_t CrPsPcktReroutingFailG1(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION1 to N1.
Definition of the OutFactory component.
Type for the data describing an OutComponent.
CrFwPckt_t pckt
Packet holding the InCommand.
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
Header file to define all service and packet identifiers.
Type for the data describing an InReport.
CrFwPckt_t pckt
Packet to which the out-going command or report is serialized.
Interface for creating and accessing a report or command packet.
CrFwPckt_t pckt
Packet holding the InReport.
static void setDppcktIdReroutingFailed(CrFwTypeId_t pcktIdReroutingFailed)
Sets the value of the datapool item pcktIdReroutingFailed.
static void setVerFailedRoutingRepFailureCode(void *p, CrPsFailCode_t FailureCode)
Set "FailureCode" in "VerFailedRoutingRep" packet.
#define CRPS_REQVERIF_PROG_SUCC
Subtype identifier of the Request Verification Progress Successful out-going report packet...
The Inloader detects an invalid destination (see CrPsRepErr.h)
void CrFwOutLoaderLoad(FwSmDesc_t outCmp)
Load an OutComponent into its OutManager.
Interface for accessing fields in packets of service "ServReqVerif".
The Outfactory failed to make the component (see CrPsRepErr.h)
Interface for accessing data pool items.
CrPsRepErrCode_t
Identifier for the errors reported through the error reporting interface of CrFwRepErr.h.
void CrPsPcktReroutingFailN6(FwPrDesc_t prDesc)
Action for node N6.
generic Interface for accessing fields in packets.
uint32_t CrPsFailData_t
Type used for the Failure Data of a packet.
void * cmpSpecificData
Derived data which are specific to each type of framework component.
#define CR_FW_INCOMMAND_TYPE
Type identifier for the InCommand component.
static void setVerFailedRoutingRepFailureData(void *p, CrPsFailData_t FailureData)
Set "FailureData" in "VerFailedRoutingRep" packet.
uint16_t CrPsFailCode_t
Type used for the Failure Code of a packet.
CrFwServSubType_t CrFwPcktGetServSubType(CrFwPckt_t pckt)
Return the service sub-type of the command or report encapsulated in a packet.
void CrPsPcktReroutingFailN1(FwPrDesc_t prDesc)
Action for node N1.
void CrPsRepErr(CrPsRepErrCode_t errCode, CrFwServType_t repType, CrFwServSubType_t repSubType, CrFwDiscriminant_t repDiscriminant)
Report an error which has no parameters attached to it.
static CrFwCounterU4_t getDpnOfReroutingFailed()
Gets the value of the datapool item nOfReroutingFailed.
Definition of Base Component.
static void setDpnOfReroutingFailed(CrFwCounterU4_t nOfReroutingFailed)
Sets the value of the datapool item nOfReroutingFailed.
Interface for reporting an error detected by a PUS Extension component.
auxiliary Interface for accessing fields in packets of service "ServReqVerif".
char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
#define CRPS_REQVERIF_REROUT_FAIL
Subtype identifier of the Request Verification Rerouting Failed out-going report packet.
Definition of the OutComponent Component of the framework.
static CrPsRid_t getPcktRid(void *p)
Getter for the RequestId from a packet.
void setVerFailedRoutingRepRid(void *p, CrPsRid_t Rid)
Set "RequestId" in a "VerFailedRoutingRep" packet.
void CrFwOutCmpSetDest(FwSmDesc_t smDesc, CrFwDestSrc_t dest)
Set the destination of the OutComponent.
void CrPsPcktReroutingFailN5(FwPrDesc_t prDesc)
Action for node N5.
static void setDpinvDestRerouting(CrPsDestSrc_t invDestRerouting)
Sets the value of the datapool item invDestRerouting.
Type for the data describing an InCommand.
Create one instance of the CrPsPcktReroutingFail procedure.
Definition of the OutLoader component.
FwSmDesc_t CrFwOutFactoryMakeOutCmp(CrFwServType_t type, CrFwServSubType_t subType, CrFwDiscriminant_t discriminant, CrFwPcktLength_t length)
Make function for an OutComponent.
void CrPsPcktReroutingFailN4(FwPrDesc_t prDesc)
Action for node N4.
#define CRPS_REQVERIF
Type identifier of the Request Verification Service.