26#define OSMO_GCR_MIN_LEN 13
struct osmo_tdef_group * g
uint8_t osmo_enc_gcr(struct msgb *msg, const struct osmo_gcr_parsed *g)
Create Global Call Reference.
Definition: gsm29205.c:40
uint8_t cr[5]
Node ID.
Definition: gsm29205.h:33
int osmo_dec_gcr(struct osmo_gcr_parsed *gcr, const uint8_t *elem, uint8_t len)
Decode Global Call Reference, 3GPP TS 29.205 Table B 2.1.9.1.
Definition: gsm29205.c:66
bool osmo_gcr_eq(const struct osmo_gcr_parsed *gcr1, const struct osmo_gcr_parsed *gcr2)
Compare two GCR structs.
Definition: gsm29205.c:98
uint8_t net_len
Network ID, ITU-T Q.1902.3.
Definition: gsm29205.h:31
uint16_t node
length (3-5 octets) of gsm29205_gcr::net
Definition: gsm29205.h:32
uint8_t net[5]
Definition: gsm29205.h:30
uint8_t len
Definition: gsm_04_11.h:0
uint8_t msg[0]
Definition: gsm_08_08.h:8
Parsed representation of Global Call Reference, 3GPP TS 29.205 Table B 2.1.9.1.
Definition: gsm29205.h:29