blob: 11c2a799054138229e4053abde3c9fe288b7c577 [file] [log] [blame]
Harald Weltec3fa0b02015-08-30 16:55:43 +02001#pragma once
2
3/* A humble attempt of reading the Iu messages (RUA/RANAP/HNBAP) without an asn.1 parser.
4 * Not actually used anywhere (yet?) */
5
6struct iu_common_hdr {
7 uint8_t msg_type;
8 uint8_t procedure_code;
9 uint8_t criticality;
10 uint8_t len; /* first byte of length field */
11 uint8_t payload[0]; /* possible further length field + payload */
12 /* extension? */
13 /* ? */
14 /* number of ProtocolIEs */
15} __attribute__ ((packed));
16
17struct iu_common_ie {
18 uint16_t iei;
19 uint8_t criticality;
20 uint8_t len; /* first byte of length field */
21 uint8_t payload[0]; /* possible further length field + payload */
22} __attribute__ ((packed));
23