Harald Welte | d83c513 | 2016-10-26 09:38:24 +0200 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include <osmocom/core/bits.h> | ||||
4 | |||||
Harald Welte | d83c513 | 2016-10-26 09:38:24 +0200 | [diff] [blame] | 5 | struct hdlc_proc { |
6 | ubit_t history[8]; | ||||
7 | ubit_t next_outbyte[8]; | ||||
Harald Welte | d83c513 | 2016-10-26 09:38:24 +0200 | [diff] [blame] | 8 | uint8_t num_bits; |
9 | }; | ||||
10 | |||||
11 | int process_raw_hdlc(struct hdlc_proc *hdlc, uint8_t *data, unsigned int len); |