summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-05-02 21:41:36 +0200
committerHarald Welte <laforge@gnumonks.org>2017-05-17 15:15:09 +0100
commit8a4eb837ab74bbbfa2a51dd6d1e8c4a03c15505a (patch)
tree5c283dbe707335700473af235c76ef6db63cc75a /include
parentea3d3ba595458024cfd4b55f6c8fcf510b234a32 (diff)
sercomm: Move HDLC related defines into C file
Those values are not relevant to the sercomm user, only to the implementation and thus can remain inside sercomm.c Change-Id: I5700a45985b7c119c6338932171aae62ee4e2d22
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/sercomm.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/osmocom/core/sercomm.h b/include/osmocom/core/sercomm.h
index 3d986c60..05833907 100644
--- a/include/osmocom/core/sercomm.h
+++ b/include/osmocom/core/sercomm.h
@@ -3,13 +3,6 @@
#include <osmocom/core/msgb.h>
-#define HDLC_FLAG 0x7E
-#define HDLC_ESCAPE 0x7D
-
-#define HDLC_C_UI 0x03
-#define HDLC_C_P_BIT (1 << 4)
-#define HDLC_C_F_BIT (1 << 4)
-
/* a low sercomm_dlci means high priority. A high DLCI means low priority */
enum sercomm_dlci {
SC_DLCI_HIGHEST = 0,