Go to the documentation of this file.
10 FP_QUEUE_t failed_pkts)
75 PGSt_SMF_status returnStatus;
76 char *routine =
"accumulate_failed_packets";
110 copy_of_packet = (int8 *) malloc(650);
112 if (copy_of_packet ==
NULL)
116 "Need an additional 650 bytes to store the failed packet data");
154 memset (copy_of_packet, 0, 650);
156 copy_of_packet[
i] = pkt[
i];
158 returnStatus =
enqueue ((
char *)copy_of_packet, failed_pkts);
162 "Could not allocate the failed packets linked list node");
172 return (returnStatus);
#define MODIS_E_MALLOC_FAILED
void log_fmt_msg(PGSt_SMF_status code, const char *routine, const char *msg_fmt,...)
PGSt_SMF_status enqueue(char *item, FP_QUEUE_t Q)
PGSt_SMF_status accumulate_failed_packets(PGSt_IO_L0_Packet *pkt, FP_QUEUE_t failed_pkts)