From c3f28320c24024e6e970735eef6f062821d588a2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 23 Apr 2011 15:08:44 +0200 Subject: 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. --- openbsc/include/openbsc/ipaccess.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/openbsc/include/openbsc/ipaccess.h b/openbsc/include/openbsc/ipaccess.h index d965aea72..dc5172cc9 100644 --- a/openbsc/include/openbsc/ipaccess.h +++ b/openbsc/include/openbsc/ipaccess.h @@ -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); /* -- cgit v1.2.3