diff options
author | Harald Welte <laforge@gnumonks.org> | 2013-03-10 08:54:30 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2013-03-10 08:57:03 +0000 |
commit | 30a73d8544edc9c160df3f14095934ee59bddbb1 (patch) | |
tree | 14c3830018c9aa61898706bbb7c045f56eb81223 /src/gprs_bssgp_pcu.h | |
parent | 44408456141f94a716c7cd8c339ecd4bc05341b6 (diff) |
PCU: respect the PCU-side "local port" as configured via L1 IF
This makes sure that the UDP local port of the Gb link is actually
set to what is configured via OML from OpenBSC.
Diffstat (limited to 'src/gprs_bssgp_pcu.h')
-rw-r--r-- | src/gprs_bssgp_pcu.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gprs_bssgp_pcu.h b/src/gprs_bssgp_pcu.h index 2d661886..d669c3a8 100644 --- a/src/gprs_bssgp_pcu.h +++ b/src/gprs_bssgp_pcu.h @@ -51,9 +51,10 @@ 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(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); +int gprs_bssgp_create(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); void gprs_bssgp_destroy(void); |