diff options
author | Oliver Smith <osmith@sysmocom.de> | 2023-02-20 09:50:38 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2023-02-20 09:50:38 +0100 |
commit | e753f21047dcb4941cd4418f263c72799c69e14b (patch) | |
tree | b748f90856d51b16ef01583bf95babcfc185413b | |
parent | 4c761ba30438f573d5a21448e59105292dc83d4f (diff) |
Run struct_endianness.py
Ensure there is no diff to prepare to run this in CI.
Related: OS#5884
Change-Id: I3909fd5a406e21f348ad8c1d5adc267551bfe2b2
-rw-r--r-- | include/osmocom/mtp/mtp_level3.h | 8 | ||||
-rw-r--r-- | include/osmocom/sccp/sccp_types.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/include/osmocom/mtp/mtp_level3.h b/include/osmocom/mtp/mtp_level3.h index 5bb8629..8ea54a9 100644 --- a/include/osmocom/mtp/mtp_level3.h +++ b/include/osmocom/mtp/mtp_level3.h @@ -127,7 +127,7 @@ struct mtp_level_3_hdr { spare : 2, ni : 2; #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 ni:2, spare:2, ser_ind:4; #endif uint32_t addr; @@ -139,7 +139,7 @@ struct mtp_level_3_cmn { uint8_t h0 : 4, h1 : 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 h1:4, h0:4; #endif } __attribute__((packed)); @@ -150,7 +150,7 @@ struct mtp_level_3_mng { uint8_t spare : 4, length : 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 length:4, spare:4; #endif uint8_t data[0]; @@ -170,7 +170,7 @@ struct sccp_con_ctrl_prt_mgt { uint8_t mul_ind : 2, spare : 6; #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:6, mul_ind:2; #endif } __attribute__((packed)); diff --git a/include/osmocom/sccp/sccp_types.h b/include/osmocom/sccp/sccp_types.h index 63ee568..277a3b2 100644 --- a/include/osmocom/sccp/sccp_types.h +++ b/include/osmocom/sccp/sccp_types.h @@ -105,7 +105,7 @@ struct sccp_called_party_address { routing_indicator : 1, reserved : 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 reserved:1, routing_indicator:1, global_title_indicator:4, ssn_indicator:1, point_code_indicator:1; #endif uint8_t data[0]; @@ -120,7 +120,7 @@ struct sccp_signalling_point_code { uint8_t msb : 6, reserved : 2; #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 reserved:2, msb:6; #endif } __attribute__((packed)); @@ -162,7 +162,7 @@ struct sccp_global_title { uint8_t nature_of_addr_ind : 7, odd_even : 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 odd_even:1, nature_of_addr_ind:7; #endif uint8_t data[0]; |