#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include "loghdr.h"
Go to the source code of this file.
◆ BRBID
#define BRBID 64 /* Back-orbit ID in HDLC header */ |
◆ CMD_ARGS
#define CMD_ARGS "f:o:b:" /* Valid commandline options */ |
◆ FRAMELEN
#define FRAMELEN 13860 /* Bytes in spacecraft mnf */ |
◆ GACID
#define GACID 80 /* GAC ID in HDLC header */ |
◆ HRPTRECLEN
#define HRPTRECLEN 13902 /* Length of HRPT nebula record */ |
◆ IDBYTE
#define IDBYTE 3 /* ID byte location HDLC header */ |
◆ LACID
#define LACID 96 /* LAC ID in HDLC header */ |
◆ SIZEOFBUF
#define SIZEOFBUF (16*10124) /* Data buffer length */ |
◆ SIZEOFHDLC
#define SIZEOFHDLC 8 /* HDLC header length */ |
◆ SIZEOFHDR
#define SIZEOFHDR sizeof(struct LOGHDR) /* Nebula header length */ |
◆ SQBYTE
#define SQBYTE 5 /* Sequence # location HDLC hdr */ |
◆ STORRECLEN
#define STORRECLEN 3540 /* Length of recorded data rec */ |
◆ extract_loggermsgs()
int extract_loggermsgs |
( |
FILE * |
outfp, |
|
|
BYTE * |
buf, |
|
|
int |
buflen |
|
) |
| |
◆ issoh()
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |