ipa: Reserve two new values for the Osmo IPA extensions

We want to send MGCP through the Osmo Extension and also
want to send the list of local LACs to it.
This commit is contained in:
Holger Hans Peter Freyther 2011-04-23 15:08:44 +02:00
parent 5deb6c3c5f
commit c3f28320c2
1 changed files with 14 additions and 0 deletions

View File

@ -33,6 +33,8 @@ enum ipaccess_proto {
enum ipaccess_proto_ext {
IPAC_PROTO_EXT_CTRL = 0x00,
IPAC_PROTO_EXT_MGCP = 0x01,
IPAC_PROTO_EXT_LAC = 0x02,
};
enum ipaccess_msgtype {
@ -66,6 +68,18 @@ struct ipac_msgt_sccp_state {
char imsi[GSM_IMSI_LENGTH];
} __attribute__((packed));
/*
* @add_remove 0 for remove, 1 for add
* @nr_lacs Number of extra lacs inside this package
* @lac One lac entry
*/
struct ipac_ext_lac_cmd {
uint8_t add_remove;
uint8_t nr_extra_lacs;
uint16_t lac;
uint8_t data[0];
} __attribute__((packed));
int ipaccess_connect(struct e1inp_line *line, struct sockaddr_in *sa);
/*