Run struct_endianness.py

Ensure there is no diff to prepare to run this in CI.

Related: OS#5884
Change-Id: I3909fd5a406e21f348ad8c1d5adc267551bfe2b2
This commit is contained in:
Oliver Smith 2023-02-20 09:50:38 +01:00
parent 4c761ba304
commit e753f21047
2 changed files with 7 additions and 7 deletions

View File

@ -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));

View File

@ -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];