aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@soleta.eu>2014-08-26 13:56:19 +0200
committerPablo Neira Ayuso <pablo@soleta.eu>2014-08-26 13:56:48 +0200
commit69d989aa9663527f3186beb37d306c232795506f (patch)
tree3ea36e446ef9f522a9386d22db5b6de089b70681
parent153f5856607b75ca76c540288cd6b4df144290ff (diff)
include: define OSMUX_ID_MAX
This tells us the maximum osmux circuit ID.
-rw-r--r--include/osmocom/netif/osmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/netif/osmux.h b/include/osmocom/netif/osmux.h
index f55fb25..3643406 100644
--- a/include/osmocom/netif/osmux.h
+++ b/include/osmocom/netif/osmux.h
@@ -29,6 +29,7 @@ struct osmux_hdr {
ft:3;
#endif
uint8_t seq;
+#define OSMUX_CID_MAX 255 /* determined by circuit_id */
uint8_t circuit_id;
#if __BYTE_ORDER == __BIG_ENDIAN
uint8_t amr_ft:4,