laforge has submitted this change. (
https://gerrit.osmocom.org/c/libosmo-gprs/+/31391 )
Change subject: Run struct_endianness.py
......................................................................
Run struct_endianness.py
Ensure there is no diff to prepare to run this in CI.
Related: OS#5884
Change-Id: I629a2ad6cff946d940543b262b6f9b99df26cdd3
---
M include/osmocom/gprs/rlcmac/rlc.h
M include/osmocom/gprs/sndcp/sndcp_private.h
2 files changed, 19 insertions(+), 7 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/include/osmocom/gprs/rlcmac/rlc.h b/include/osmocom/gprs/rlcmac/rlc.h
index 8ca5370..c16df4d 100644
--- a/include/osmocom/gprs/rlcmac/rlc.h
+++ b/include/osmocom/gprs/rlcmac/rlc.h
@@ -19,7 +19,7 @@
li:6;
uint8_t ll_pdu[0];
#elif OSMO_IS_BIG_ENDIAN
-/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianess.py) */
+/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianness.py) */
uint8_t li:6, m:1, e:1;
uint8_t ll_pdu[0];
#endif
@@ -39,7 +39,7 @@
uint8_t e:1,
bsn:7;
#elif OSMO_IS_BIG_ENDIAN
-/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianess.py) */
+/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianness.py) */
uint8_t pt:2, cv:4, si:1, r:1;
uint8_t spare:1, pi:1, tfi:5, ti:1;
uint8_t bsn:7, e:1;
@@ -60,7 +60,7 @@
bsn:7;
struct gprs_rlcmac_rlc_li_field lime[0];
#elif OSMO_IS_BIG_ENDIAN
-/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianess.py) */
+/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianness.py) */
uint8_t pt:2, rrbp:2, s_p:1, usf:3;
uint8_t pr:2, tfi:5, fbi:1;
uint8_t bsn:7, e:1;
@@ -73,7 +73,7 @@
uint8_t e:1,
li:7;
#elif OSMO_IS_BIG_ENDIAN
-/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianess.py) */
+/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianness.py) */
uint8_t li:7, e:1;
#endif
} __attribute__ ((packed));
diff --git a/include/osmocom/gprs/sndcp/sndcp_private.h
b/include/osmocom/gprs/sndcp/sndcp_private.h
index 8943a78..37fac23 100644
--- a/include/osmocom/gprs/sndcp/sndcp_private.h
+++ b/include/osmocom/gprs/sndcp/sndcp_private.h
@@ -34,7 +34,7 @@
uint8_t first:1;
uint8_t spare:1;
#elif OSMO_IS_BIG_ENDIAN
-/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianess.py) */
+/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianness.py) */
uint8_t spare:1, first:1, type:1, more:1, nsapi:4;
#endif
} __attribute__((packed));
@@ -46,7 +46,7 @@
uint8_t pcomp:4;
uint8_t dcomp:4;
#elif OSMO_IS_BIG_ENDIAN
-/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianess.py) */
+/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianness.py) */
uint8_t dcomp:4, pcomp:4;
#endif
} __attribute__((packed));
@@ -59,7 +59,7 @@
/* octet 4 */
uint8_t npdu_low;
#elif OSMO_IS_BIG_ENDIAN
-/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianess.py) */
+/* auto-generated from the little endian part above
(libosmocore/contrib/struct_endianness.py) */
uint8_t seg_nr:4, npdu_high:4;
uint8_t npdu_low;
#endif
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-gprs/+/31391
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-gprs
Gerrit-Branch: master
Gerrit-Change-Id: I629a2ad6cff946d940543b262b6f9b99df26cdd3
Gerrit-Change-Number: 31391
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: merged