laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/31392 )
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: Ib3459ebb2414dd1798dfda6d3c585232ceff741b --- M include/osmocom/netif/amr.h M include/osmocom/netif/osmux.h M include/osmocom/netif/rtp.h 3 files changed, 17 insertions(+), 5 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved
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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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