Rename the function from sccp_sap_get_peer_addr_in to get_peer_addr to make the code using it slightly more readable. The _in at the end of the function is not needed anymore, this was used to differentiate from peer_addr_out which was used in the caller code before the connection mapping was implemented in I1556aa665fbb0a97507f98794e74820731fa6935. Now instead of peer_addr_out, subscr_conn->bsc->addr or subscr_conn->msc->addr are used. Rename variable arguments to sccp_inst and addr to be consistent with the variable names in the callers. Related: SYS#5560 Change-Id: Ie023360724254be54cbaac4490b0341dfe68399f
OsmoBSCNAT masquerades multiple BSCs behind one. It is part of the Osmocom Open Source Mobile Communications project.
The official homepage of the project is https://osmocom.org/projects/osmo-bscnat/wiki
You can clone from the official osmo-bsc-nat.git repository using
git clone git://git.osmocom.org/osmo-bsc-nat.git
There is a cgit interface at https://git.osmocom.org/osmo-bsc-nat/
User Manuals and VTY reference manuals are optionally built in PDF form as part of the build process.
Discussions related to osmo-bsc-nat are happening on the email@example.com mailing list, please see https://lists.osmocom.org/mailman/listinfo/openbsc for subscription options and the list archive.
Please observe the Osmocom Mailing List Rules when posting.
Manual Testing With osmo-dev
With osmo-dev it is possible to build all Osmocom components for a full test network with OsmoBSCNAT, and run the network on your PC. Set up the make directory as described in osmo-dev's README, then build components with:
$ make cn-bsc-nat
Set up a network as described in osmo-dev's net/README, then put the following in your configuration to let it run osmo-bsc-nat with one virtual BSC, BTS and MS (can be used next to a real BSC/BTS/MS):
BSC_COUNT=2 BTS1_RUN_IN_OSMO_DEV=1 STP_RAN_IP="127.0.0.2" MS_RUN_IN_OSMO_DEV=1
Our coding standards are described at https://osmocom.org/projects/cellular-infrastructure/wiki/Coding_standards
We us a gerrit based patch submission/review process for managing contributions. Please see https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit for more details
The current patch queue for osmo-bsc-nat can be seen at https://gerrit.osmocom.org/#/q/project:osmo-bsc-nat+status:open