Run struct_endianness.py
Ensure there is no diff to prepare to run this in CI. Related: OS#5884 Change-Id: I1c82acd09497371938a2d9ae12a80382d20189ff
This commit is contained in:
parent
84ece23c09
commit
83ee452ddb
|
@ -41,7 +41,7 @@ struct gprs_llc_hdr {
|
||||||
uint8_t address;
|
uint8_t address;
|
||||||
uint8_t sapi:4, unused:2, c_r:1, pd:1;
|
uint8_t sapi:4, unused:2, c_r:1, pd:1;
|
||||||
#elif OSMO_IS_BIG_ENDIAN
|
#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) */
|
||||||
union {
|
union {
|
||||||
uint8_t address;
|
uint8_t address;
|
||||||
uint8_t pd:1, c_r:1, unused:2, sapi:4;
|
uint8_t pd:1, c_r:1, unused:2, sapi:4;
|
||||||
|
|
|
@ -386,7 +386,7 @@ struct rlc_ul_header {
|
||||||
uint8_t e:1,
|
uint8_t e:1,
|
||||||
bsn:7;
|
bsn:7;
|
||||||
#elif OSMO_IS_BIG_ENDIAN
|
#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 pt:2, cv:4, si:1, r:1;
|
||||||
uint8_t spare:1, pi:1, tfi:5, ti:1;
|
uint8_t spare:1, pi:1, tfi:5, ti:1;
|
||||||
uint8_t bsn:7, e:1;
|
uint8_t bsn:7, e:1;
|
||||||
|
@ -405,7 +405,7 @@ struct rlc_dl_header {
|
||||||
uint8_t e:1,
|
uint8_t e:1,
|
||||||
bsn:7;
|
bsn:7;
|
||||||
#elif OSMO_IS_BIG_ENDIAN
|
#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 pt:2, rrbp:2, s_p:1, usf:3;
|
||||||
uint8_t pr:2, tfi:5, fbi:1;
|
uint8_t pr:2, tfi:5, fbi:1;
|
||||||
uint8_t bsn:7, e:1;
|
uint8_t bsn:7, e:1;
|
||||||
|
@ -418,7 +418,7 @@ struct rlc_li_field {
|
||||||
m:1,
|
m:1,
|
||||||
li:6;
|
li:6;
|
||||||
#elif OSMO_IS_BIG_ENDIAN
|
#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 li:6, m:1, e:1;
|
||||||
#endif
|
#endif
|
||||||
} __attribute__ ((packed));
|
} __attribute__ ((packed));
|
||||||
|
@ -428,7 +428,7 @@ struct rlc_li_field_egprs {
|
||||||
uint8_t e:1,
|
uint8_t e:1,
|
||||||
li:7;
|
li:7;
|
||||||
#elif OSMO_IS_BIG_ENDIAN
|
#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;
|
uint8_t li:7, e:1;
|
||||||
#endif
|
#endif
|
||||||
} __attribute__ ((packed));
|
} __attribute__ ((packed));
|
||||||
|
|
Loading…
Reference in New Issue