NAME

showPkt, showPktMatch - display an orb packet for debugging purposes

SYNOPSIS

#include "Pkt.h" ;

void showPkt(int pktid, char *srcname,
                 double pkttime, char *packet,
                 int nbytes, FILE *file, int mode)

void showPktMatch(int pktid, char *srcname,
                 double pkttime, char *packet,
                 int nbytes, FILE *file, char *match, int mode)

DESCRIPTION

showPkt displays the input pktid, srcname, pkttime, packet, nbytes with on the specified output file. The output verbosity depends on the mode.

showPktMatch is identical, except that only channels where the string <sta>_<chan> matches the input regular expression match are shown in the verbose modes for waveform packets.

OPTIONS

LIBRARY

$(ORBLIBS)

SEE ALSO

unstuffPkt(3)
orbstat(1)

BUGS AND CAVEATS

showPkt uses elog_debug(3) to print out the packet header, and so it typically writes to stderr instead of the supplied file parameter.

AUTHOR

Daniel Quinlan

Table of Contents
Antelope Release 4.8 Darwin 8.8.0 2006-12-19
Boulder Real Time Technologies, Inc For more information, contact support@brtt.com