GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LIM / V1-22-3 > lim_unit_test_lpa / mv2304
#include <ITC/ITC_pubdefs.h>
#include <LIM/LIM_msgs.h>
#include <MSG/MSG_pubdefs.h>
#include <PBS/MBA.h>
#include <lim_util_sim.h>
Functions | |
void | LPA_fail_next_bulk (void) |
Indicate that next message to the LPA BULK queue should fail. | |
static void | lpa_free_bulk (ITC_QueueItem *qitem_p, unsigned int status_in, void *parm_0, void *parm_1, void *parm_2, unsigned int tx) |
Free a packet sent to the LPA bulk queue. | |
unsigned int | LPA_gbm_int (void) |
Emulate the LPA_gbm_int() function. | |
unsigned int | LPA_set_mode (unsigned int mode) |
Emulate the LPA_set_mode() function. | |
Variables | |
static int | Lpa_Fail_Next_Bulk = 0 |
Flag to indicate that next msg to the LPA BULK queue should fail. |
** CVS $Id: lim_util_lpa.c,v 1.6 2011/03/29 21:20:27 apw Exp $ **
void LPA_fail_next_bulk | ( | void | ) |
Indicate that next message to the LPA BULK queue should fail.
References Lpa_Fail_Next_Bulk.
void lpa_free_bulk | ( | ITC_QueueItem * | qitem_p, | |
unsigned int | status_in, | |||
void * | parm_0, | |||
void * | parm_1, | |||
void * | parm_2, | |||
unsigned int | tx | |||
) | [static] |
Free a packet sent to the LPA bulk queue.
qitem_p | Pointer to queue item. | |
status_in | Completion code. | |
parm_0 | Callback parameter 0 (pointer to queue item). | |
parm_1 | Callback parameter 1 (unused). | |
parm_2 | Callback parameter 2 (unused). | |
tx | Flag indicating sender-side failure (unused). |
Referenced by LPA_set_mode().
unsigned int LPA_gbm_int | ( | void | ) |
unsigned int LPA_set_mode | ( | unsigned int | mode | ) |
Emulate the LPA_set_mode() function.
mode | New mode. |
References Lpa_Fail_Next_Bulk, and lpa_free_bulk().