diff options
author | Harald Welte <laforge@osmocom.org> | 2021-12-31 16:22:15 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2021-12-31 16:47:12 +0100 |
commit | 50b121cfc444f877e082f870fe5275e63b046575 (patch) | |
tree | ff2ead9dbe46cc0aabec8c07ea0d33c6c80bba28 /include | |
parent | 383782396fbb88752f74dcbc2f4d509f4f649b11 (diff) |
Introduce a #define for the maximum HDLC buffer size (264)
The purpose of turning the magic number into a #define is to allow
clients to use it.
Change-Id: I9281a4cd85d79823d06860ffaaa09b6d67bc0de3
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/e1d/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/e1d/proto.h b/include/osmocom/e1d/proto.h index 6457f14..3033f11 100644 --- a/include/osmocom/e1d/proto.h +++ b/include/osmocom/e1d/proto.h @@ -92,6 +92,7 @@ enum osmo_e1dp_ts_mode { #define E1DP_INVALID 0xff #define E1DP_DEFAULT_SOCKET "/tmp/osmo-e1d.ctl" +#define E1DP_MAX_SIZE_HDLC 264 struct osmo_e1dp_msg_hdr { uint16_t magic; |