GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCM / V1-5-0
Constituent: lcm_siu     Tag: sun-gcc
#include <string.h>
#include <stdio.h>
#include "PBS/TMR.h"
#include "PBS/MBA.h"
#include "PBS/FPA.h"
#include "PBS/FORK.h"
#include "PBS/SEM.h"
#include "LCM/LCM_msgs.h"
#include "LCBD/LCBD.h"
#include "MSG/MSG_pubdefs.h"
#include "ITC/ITC_pubdefs.h"
#include "IMM/RBM_pubdefs.h"
#include "LSF/LSF.h"
#include "LSF/LSF_ids.h"
#include "CCSDS/CCSDS_pkt.h"
#include "ZLIB/zlib.h"
#include "src/CSSR.h"
Include dependency graph for CSSR.c:
Functions | |
int | CSSR_forkBuffSizeof () |
return size of CSSR control structure | |
int | CSSR_ssrRingOverhead () |
return size of overhead per packet to use in ssrRingBuffsize calc | |
unsigned int | CSSR_init (void *cssrH, char *taskName, int taskPriority, int numQueuedSends, int apidBase, int lsfDatagramId, int lsfDatagramVer, int ssrRingBuffsize, int ssrRingOverflow) |
init the Compress and Send SSR utility | |
void | CSSR_stop (void *cssrH) |
stop the forked task | |
unsigned int | CSSR_sendRtn (void *cssrH, int lsfId, int lsfVer, CSSR_collectRtn collectRtn, CSSR_compressRtn compressRtn, CSSR_freeRtn freeRtn, void *uParm) |
send a request to task with a "collect" task to run in task context | |
unsigned int | CSSR_sendBuff (void *cssrH, int lsfId, int lsfVer, unsigned int *buff, unsigned int buffLen, CSSR_compressRtn compressRtn, CSSR_freeRtn freeRtn, void *uParm) |
send a request to task with a pre-filled buffer | |
unsigned int | CSSR_zlibCompress (void *uParm, unsigned int *dst, int dstLen, unsigned int *src, int srcLen) |
compression routine that does standard ZIP compression | |
void | CSSR_stats (void *cssrH, int clear) |
print stats on CSSR task |
CVS $Id: CSSR.c,v 1.5 2007/10/29 00:29:03 apw Exp $
|
return size of CSSR control structure
|
|
init the Compress and Send SSR utility
|
|
send a request to task with a pre-filled buffer
Send a filled buffer to the forked task to compress and send. The "free" routine should free that buffer The caller may provide own compress routine or use the provided CSSR_zlibCompress |
|
send a request to task with a "collect" task to run in task context
|
|
return size of overhead per packet to use in ssrRingBuffsize calc
|
|
print stats on CSSR task
|
|
stop the forked task
|
|
compression routine that does standard ZIP compression
|