Change in libosmo-netif[master]: amr: Add data[0] field to amr_hdr
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/29511 ) Change subject: amr: Add data[0] field to amr_hdr ...................................................................... amr: Add data[0] field to amr_hdr This allows easily accessing the AMR payload located after the TOC. Change-Id: I72c0a001bf7ce9a63ac03beef352af177084e644 --- M include/osmocom/netif/amr.h 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/11/29511/1 diff --git a/include/osmocom/netif/amr.h b/include/osmocom/netif/amr.h index 30e263c..47be122 100644 --- a/include/osmocom/netif/amr.h +++ b/include/osmocom/netif/amr.h @@ -57,6 +57,7 @@ uint8_t cmr:4, pad1:4; uint8_t f:1, ft:4, q:1, pad2:2; #endif + uint8_t data[0]; } __attribute__((packed)); static inline void *osmo_amr_get_payload(struct amr_hdr *amrh) -- To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/29511 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-netif Gerrit-Branch: master Gerrit-Change-Id: I72c0a001bf7ce9a63ac03beef352af177084e644 Gerrit-Change-Number: 29511 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
pespin