Change in libosmocore[master]: Add helper wrapper for BSSAP TLV parsing

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Wed Nov 7 14:26:26 UTC 2018


Max has uploaded this change for review. ( https://gerrit.osmocom.org/11655


Change subject: Add helper wrapper for BSSAP TLV parsing
......................................................................

Add helper wrapper for BSSAP TLV parsing

Change-Id: Ib228368901ce90a02a5664f2510593371c7d29cd
---
M include/osmocom/gsm/gsm0808.h
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/55/11655/1

diff --git a/include/osmocom/gsm/gsm0808.h b/include/osmocom/gsm/gsm0808.h
index cdbb273..652aae9 100644
--- a/include/osmocom/gsm/gsm0808.h
+++ b/include/osmocom/gsm/gsm0808.h
@@ -173,6 +173,9 @@
 
 const struct tlv_definition *gsm0808_att_tlvdef(void);
 
+/*! Parse BSSAP TLV structure using \ref tlv_parse */
+#define osmo_bssap_tlv_parse(dec, buf, len) tlv_parse(dec, gsm0808_att_tlvdef(), buf, len, 0, 0)
+
 const char *gsm0808_bssmap_name(uint8_t msg_type);
 const char *gsm0808_bssap_name(uint8_t msg_type);
 const char *gsm0808_cause_name(uint8_t cause);

-- 
To view, visit https://gerrit.osmocom.org/11655
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib228368901ce90a02a5664f2510593371c7d29cd
Gerrit-Change-Number: 11655
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181107/40468609/attachment.htm>


More information about the gerrit-log mailing list