forked from cellular-infrastructure/osmo-pcu
bssgp: The method creates and the connects.. reflect that in the name
Call things by what they do. This method is creating and then connecting a BSSGP..
This commit is contained in:
parent
939bfaefec
commit
421fe79e39
|
@ -592,7 +592,7 @@ static void bvc_timeout(void *_priv)
|
|||
}
|
||||
|
||||
/* create BSSGP/NS layer instances */
|
||||
int gprs_bssgp_create(uint16_t local_port, uint32_t sgsn_ip,
|
||||
int gprs_bssgp_create_and_connect(uint16_t local_port, uint32_t sgsn_ip,
|
||||
uint16_t sgsn_port, uint16_t nsei, uint16_t nsvci, uint16_t bvci,
|
||||
uint16_t mcc, uint16_t mnc, uint16_t lac, uint16_t rac,
|
||||
uint16_t cell_id)
|
||||
|
|
|
@ -49,7 +49,7 @@ int gprs_bssgp_pcu_rx_sign(struct msgb *msg, struct tlv_parsed *tp, struct bssgp
|
|||
|
||||
int gprs_bssgp_pcu_rcvmsg(struct msgb *msg);
|
||||
|
||||
int gprs_bssgp_create(uint16_t local_port, uint32_t sgsn_ip, uint16_t
|
||||
int gprs_bssgp_create_and_connect(uint16_t local_port, uint32_t sgsn_ip, uint16_t
|
||||
sgsn_port, uint16_t nsei, uint16_t nsvci, uint16_t bvci,
|
||||
uint16_t mcc, uint16_t mnc, uint16_t lac, uint16_t rac,
|
||||
uint16_t cell_id);
|
||||
|
|
|
@ -418,7 +418,7 @@ bssgp_failed:
|
|||
ia.s_addr = htonl(info_ind->remote_ip[0]);
|
||||
LOGP(DL1IF, LOGL_DEBUG, " remote_ip=%s\n", inet_ntoa(ia));
|
||||
|
||||
rc = gprs_bssgp_create(info_ind->local_port[0],
|
||||
rc = gprs_bssgp_create_and_connect(info_ind->local_port[0],
|
||||
info_ind->remote_ip[0], info_ind->remote_port[0],
|
||||
info_ind->nsei, info_ind->nsvci[0], info_ind->bvci,
|
||||
info_ind->mcc, info_ind->mnc, info_ind->lac, info_ind->rac,
|
||||
|
|
Loading…
Reference in New Issue