23 #ifndef CRPSPKTSERVLPT_H_ 24 #define CRPSPKTSERVLPT_H_ 46 CrPsNumberU4_t PartSeqNmb;
72 CrPsNumberU4_t PartSeqNmb;
98 CrPsNumberU4_t PartSeqNmb;
124 CrPsNumberU4_t PartSeqNmb;
150 CrPsNumberU4_t PartSeqNmb;
176 CrPsNumberU4_t PartSeqNmb;
202 CrPsFailReason_t FailReason;
220 } LptStartDownCmd_t ;
236 } LptAbortDownCmd_t ;
245 LptDownFirstRep_t* t;
246 t = (LptDownFirstRep_t*)p;
247 return __builtin_bswap32(t->Tid);
257 LptDownFirstRep_t* t;
258 t = (LptDownFirstRep_t*)p;
259 t->Tid = __builtin_bswap32(Tid);
269 LptDownFirstRep_t* t;
270 t = (LptDownFirstRep_t*)p;
271 return __builtin_bswap32(t->PartSeqNmb);
281 LptDownFirstRep_t* t;
282 t = (LptDownFirstRep_t*)p;
283 t->PartSeqNmb = __builtin_bswap32(PartSeqNmb);
293 LptDownInterRep_t* t;
294 t = (LptDownInterRep_t*)p;
295 return __builtin_bswap32(t->Tid);
305 LptDownInterRep_t* t;
306 t = (LptDownInterRep_t*)p;
307 t->Tid = __builtin_bswap32(Tid);
317 LptDownInterRep_t* t;
318 t = (LptDownInterRep_t*)p;
319 return __builtin_bswap32(t->PartSeqNmb);
329 LptDownInterRep_t* t;
330 t = (LptDownInterRep_t*)p;
331 t->PartSeqNmb = __builtin_bswap32(PartSeqNmb);
342 t = (LptDownLastRep_t*)p;
343 return __builtin_bswap32(t->Tid);
354 t = (LptDownLastRep_t*)p;
355 t->Tid = __builtin_bswap32(Tid);
366 t = (LptDownLastRep_t*)p;
367 return __builtin_bswap32(t->PartSeqNmb);
378 t = (LptDownLastRep_t*)p;
379 t->PartSeqNmb = __builtin_bswap32(PartSeqNmb);
390 t = (LptUpFirstCmd_t*)p;
391 return __builtin_bswap32(t->Tid);
402 t = (LptUpFirstCmd_t*)p;
403 t->Tid = __builtin_bswap32(Tid);
414 t = (LptUpFirstCmd_t*)p;
415 return __builtin_bswap32(t->PartSeqNmb);
426 t = (LptUpFirstCmd_t*)p;
427 t->PartSeqNmb = __builtin_bswap32(PartSeqNmb);
438 t = (LptUpInterCmd_t*)p;
439 return __builtin_bswap32(t->Tid);
450 t = (LptUpInterCmd_t*)p;
451 t->Tid = __builtin_bswap32(Tid);
462 t = (LptUpInterCmd_t*)p;
463 return __builtin_bswap32(t->PartSeqNmb);
474 t = (LptUpInterCmd_t*)p;
475 t->PartSeqNmb = __builtin_bswap32(PartSeqNmb);
486 t = (LptUpLastCmd_t*)p;
487 return __builtin_bswap32(t->Tid);
498 t = (LptUpLastCmd_t*)p;
499 t->Tid = __builtin_bswap32(Tid);
510 t = (LptUpLastCmd_t*)p;
511 return __builtin_bswap32(t->PartSeqNmb);
522 t = (LptUpLastCmd_t*)p;
523 t->PartSeqNmb = __builtin_bswap32(PartSeqNmb);
534 t = (LptUpAbortRep_t*)p;
535 return __builtin_bswap32(t->Tid);
546 t = (LptUpAbortRep_t*)p;
547 t->Tid = __builtin_bswap32(Tid);
558 t = (LptUpAbortRep_t*)p;
559 return __builtin_bswap32(t->FailReason);
570 t = (LptUpAbortRep_t*)p;
571 t->FailReason = __builtin_bswap32(FailReason);
581 LptStartDownCmd_t* t;
582 t = (LptStartDownCmd_t*)p;
583 return __builtin_bswap32(t->Tid);
593 LptStartDownCmd_t* t;
594 t = (LptStartDownCmd_t*)p;
595 t->Tid = __builtin_bswap32(Tid);
605 LptAbortDownCmd_t* t;
606 t = (LptAbortDownCmd_t*)p;
607 return __builtin_bswap32(t->Tid);
617 LptAbortDownCmd_t* t;
618 t = (LptAbortDownCmd_t*)p;
619 t->Tid = __builtin_bswap32(Tid);
static CrPsTid_t getLptUpLastCmdTid(void *p)
Get "Tid" from "LptUpLastCmd" packet.
static CrPsTid_t getLptUpAbortRepTid(void *p)
Get "Tid" from "LptUpAbortRep" packet.
static CrPsNumberU4_t getLptDownFirstRepPartSeqNmb(void *p)
Get "PartSeqNmb" from "LptDownFirstRep" packet.
static CrPsNumberU4_t getLptUpFirstCmdPartSeqNmb(void *p)
Get "PartSeqNmb" from "LptUpFirstCmd" packet.
Header file to define all user-configurable constants and types for the IASW Application.
static void setLptUpFirstCmdPartSeqNmb(void *p, CrPsNumberU4_t PartSeqNmb)
Set "PartSeqNmb" in "LptUpFirstCmd" packet.
static CrPsFailReason_t getLptUpAbortRepFailReason(void *p)
Get "FailReason" from "LptUpAbortRep" packet.
static void setLptDownFirstRepPartSeqNmb(void *p, CrPsNumberU4_t PartSeqNmb)
Set "PartSeqNmb" in "LptDownFirstRep" packet.
static void setLptDownInterRepPartSeqNmb(void *p, CrPsNumberU4_t PartSeqNmb)
Set "PartSeqNmb" in "LptDownInterRep" packet.
static CrPsNumberU4_t getLptDownInterRepPartSeqNmb(void *p)
Get "PartSeqNmb" from "LptDownInterRep" packet.
static CrPsTid_t getLptUpFirstCmdTid(void *p)
Get "Tid" from "LptUpFirstCmd" packet.
static CrPsNumberU4_t getLptUpLastCmdPartSeqNmb(void *p)
Get "PartSeqNmb" from "LptUpLastCmd" packet.
static void setLptUpLastCmdTid(void *p, CrPsTid_t Tid)
Set "Tid" in "LptUpLastCmd" packet.
static void setLptDownFirstRepTid(void *p, CrPsTid_t Tid)
Set "Tid" in "LptDownFirstRep" packet.
static CrPsTid_t getLptDownLastRepTid(void *p)
Get "Tid" from "LptDownLastRep" packet.
CrPsTid_t Tid
CrPsLptUpCmdStart function definitions.
static void setLptDownLastRepPartSeqNmb(void *p, CrPsNumberU4_t PartSeqNmb)
Set "PartSeqNmb" in "LptDownLastRep" packet.
static CrPsTid_t getLptDownFirstRepTid(void *p)
Get "Tid" from "LptDownFirstRep" packet.
static CrPsTid_t getLptDownInterRepTid(void *p)
Get "Tid" from "LptDownInterRep" packet.
static CrPsTid_t getLptAbortDownCmdTid(void *p)
Get "Tid" from "LptAbortDownCmd" packet.
static CrPsNumberU4_t getLptDownLastRepPartSeqNmb(void *p)
Get "PartSeqNmb" from "LptDownLastRep" packet.
Packet header definitions.
static void setLptUpFirstCmdTid(void *p, CrPsTid_t Tid)
Set "Tid" in "LptUpFirstCmd" packet.
static void setLptStartDownCmdTid(void *p, CrPsTid_t Tid)
Set "Tid" in "LptStartDownCmd" packet.
struct __attribute__((packed)) _LptDownFirstRep_t
Structure for LptDownFirstRep.
static void setLptUpAbortRepTid(void *p, CrPsTid_t Tid)
Set "Tid" in "LptUpAbortRep" packet.
static void setLptUpInterCmdTid(void *p, CrPsTid_t Tid)
Set "Tid" in "LptUpInterCmd" packet.
static CrPsNumberU4_t getLptUpInterCmdPartSeqNmb(void *p)
Get "PartSeqNmb" from "LptUpInterCmd" packet.
static void setLptDownLastRepTid(void *p, CrPsTid_t Tid)
Set "Tid" in "LptDownLastRep" packet.
static void setLptDownInterRepTid(void *p, CrPsTid_t Tid)
Set "Tid" in "LptDownInterRep" packet.
static void setLptUpInterCmdPartSeqNmb(void *p, CrPsNumberU4_t PartSeqNmb)
Set "PartSeqNmb" in "LptUpInterCmd" packet.
static void setLptAbortDownCmdTid(void *p, CrPsTid_t Tid)
Set "Tid" in "LptAbortDownCmd" packet.
static CrPsTid_t getLptUpInterCmdTid(void *p)
Get "Tid" from "LptUpInterCmd" packet.
static void setLptUpAbortRepFailReason(void *p, CrPsFailReason_t FailReason)
Set "FailReason" in "LptUpAbortRep" packet.
static CrPsTid_t getLptStartDownCmdTid(void *p)
Get "Tid" from "LptStartDownCmd" packet.
static void setLptUpLastCmdPartSeqNmb(void *p, CrPsNumberU4_t PartSeqNmb)
Set "PartSeqNmb" in "LptUpLastCmd" packet.