Toggle navigation
Ocean Color Science Software
Jump to content
ocssw
V2022
web
ocssw
ocssw_src
src
l1agen_modis
packet_stats.h
Go to the documentation of this file.
1
#ifndef PACKET_STATS
2
#define PACKET_STATS
3
43
extern
struct
packet_stats
44
{
45
unsigned
long
packets
;
46
/* Single field validity checks */
47
unsigned
long
version
;
/* Must be 0. */
48
unsigned
long
type
;
/* Must be 0 (normal). */
49
unsigned
long
seq_flag
;
/* Must be non-zero. */
50
unsigned
long
sec_hdr_flag
;
/* Must be 1 (secondary header). */
51
unsigned
long
apid
;
/* 64 or 127(?) (MODIS). */
52
unsigned
long
time_tag
;
53
unsigned
long
quick_look
;
/* Must be 0 (not selected) */
54
unsigned
long
pkt_type
;
/* 0, 1, 2, 4 */
55
56
/* Single packet consistency checks */
57
unsigned
long
seq_type
;
/* == 3 only iff pkt_type == night */
58
unsigned
long
length_type
;
/* short length iff pkt_type == night */
59
unsigned
long
type_flag
;
/* type_flag non-zero only if pkt_type == Day */
60
unsigned
long
frame_count
;
/* Consistent with type_flag, calib_type. */
61
unsigned
long
cksum
;
/* Matches checksum of data field. */
62
}
stats
;
63
64
void
print_stats
(
void
);
65
#endif
packet_stats::length_type
unsigned long length_type
Definition:
packet_stats.h:58
packet_stats::version
unsigned long version
Definition:
packet_stats.h:47
packet_stats::frame_count
unsigned long frame_count
Definition:
packet_stats.h:60
packet_stats::quick_look
unsigned long quick_look
Definition:
packet_stats.h:53
packet_stats::time_tag
unsigned long time_tag
Definition:
packet_stats.h:52
stats
struct packet_stats stats
packet_stats::type
unsigned long type
Definition:
packet_stats.h:48
packet_stats::packets
unsigned long packets
Definition:
packet_stats.h:45
packet_stats::cksum
unsigned long cksum
Definition:
packet_stats.h:61
packet_stats::apid
unsigned long apid
Definition:
packet_stats.h:51
packet_stats::sec_hdr_flag
unsigned long sec_hdr_flag
Definition:
packet_stats.h:50
packet_stats::seq_flag
unsigned long seq_flag
Definition:
packet_stats.h:49
packet_stats
Definition:
packet_stats.h:43
print_stats
void print_stats(void)
Definition:
print_stats.c:6
packet_stats::type_flag
unsigned long type_flag
Definition:
packet_stats.h:59
packet_stats::seq_type
unsigned long seq_type
Definition:
packet_stats.h:57
packet_stats::pkt_type
unsigned long pkt_type
Definition:
packet_stats.h:54