10#ifndef INCLUDED_DIGITAL_HEADER_FORMAT_CRC_H
11#define INCLUDED_DIGITAL_HEADER_FORMAT_CRC_H
49 typedef std::shared_ptr<header_format_crc>
sptr;
51 const std::string& num_key_name =
"packet_num");
68 const unsigned char* input,
73 const unsigned char* input,
74 std::vector<pmt::pmt_t>& info,
75 int& nbits_processed)
override;
86 static sptr make(
const std::string& len_key_name =
"packet_len",
87 const std::string& num_key_name =
"packet_num");
Calculates a CRC.
Definition: crc.h:33
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting).
Definition: pmt.h:83