aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-02-20 09:49:45 +0100
committerOliver Smith <osmith@sysmocom.de>2023-02-20 09:49:45 +0100
commit1d129ae24bba787a3d811d0cf56f19f3256441cc (patch)
tree234683637e2ddb172d67f926b21f5fc28fa553e5
parent50d4a66e347a42e08fa91351d7f5424e84729f45 (diff)
Run struct_endianness.py
Ensure there is no diff to prepare to run this in CI. Related: OS#5884 Change-Id: Ib3459ebb2414dd1798dfda6d3c585232ceff741b
-rw-r--r--include/osmocom/netif/amr.h4
-rw-r--r--include/osmocom/netif/osmux.h4
-rw-r--r--include/osmocom/netif/rtp.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/include/osmocom/netif/amr.h b/include/osmocom/netif/amr.h
index 9b8fb79..a4d3da2 100644
--- a/include/osmocom/netif/amr.h
+++ b/include/osmocom/netif/amr.h
@@ -36,7 +36,7 @@ struct amr_hdr_bwe {
q:1, /* OK (not damaged) at origin? */
ft_lo:1; /* coding mode lowest bit */
#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 cmr:4, f:1, ft_hi:3;
uint8_t ft_lo:1, q:1, data_start:6;
#endif
@@ -88,7 +88,7 @@ struct amr_hdr {
ft:4, /* coding mode */
f:1; /* followed by another speech frame? */
#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 cmr:4, pad1:4;
uint8_t f:1, ft:4, q:1, pad2:2;
#endif
diff --git a/include/osmocom/netif/osmux.h b/include/osmocom/netif/osmux.h
index bc00942..609ca3b 100644
--- a/include/osmocom/netif/osmux.h
+++ b/include/osmocom/netif/osmux.h
@@ -40,7 +40,7 @@ struct osmux_hdr {
ft:2,
rtp_m: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 rtp_m:1, ft:2, ctr:3, amr_f:1, amr_q:1;
#endif
uint8_t seq;
@@ -50,7 +50,7 @@ struct osmux_hdr {
uint8_t amr_cmr:4,
amr_ft: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 amr_ft:4, amr_cmr:4;
#endif
uint8_t data[0];
diff --git a/include/osmocom/netif/rtp.h b/include/osmocom/netif/rtp.h
index 4e40745..756ce90 100644
--- a/include/osmocom/netif/rtp.h
+++ b/include/osmocom/netif/rtp.h
@@ -13,7 +13,7 @@ struct rtp_hdr {
uint8_t payload_type:7,
marker: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 version:2, padding:1, extension:1, csrc_count:4;
uint8_t marker:1, payload_type:7;
#endif