aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat_utils.c
AgeCommit message (Collapse)AuthorFilesLines
2010-04-08nat: Attempt to have a single BSC write methodHolger Hans Peter Freyther1-3/+3
This method currently prepends the IPA header and sends the data. In the future we might be able to use SCTP for it. We have to remove the IPA header from the static messages for that to work. This code is untested.
2010-04-06nat: Store the config in the connection instead of the lacHolger Hans Peter Freyther1-1/+3
This allows that we can print the Nr. next to the lac and it allows us to change the lac at runtime without reconnecting the BSC.
2010-04-06nat: Print the unknown byte as a integer instead of charachterHolger Hans Peter Freyther1-1/+1
The value might be a non printable one.
2010-04-01nat: Handle CRCX/MDCX/DLCX at the natHolger Hans Peter Freyther1-0/+38
* Forward a rewritten msg to the BSS. We change the IP and port to point to the NAT instead of the core network. We also keep track of the BSC and the transacition id. * Handle the case where we have not found a SCCP connection and need to send a response ourselves.
2010-03-30nat: Look at the assignment command and remember on which timeslot the data isHolger Hans Peter Freyther1-0/+1
This information will be needed when we are trying to forward MGCP connections to and from the BSC through the IPA protocol.
2010-03-30sccp: Move the destruction of the sccp connection to a new placeHolger Hans Peter Freyther1-0/+11
2010-03-30nat: Some more input validation... on the paging command.Holger Hans Peter Freyther1-0/+5
2010-03-30nat: Move paging by lac handling code into the utils fileHolger Hans Peter Freyther1-0/+40
Moving it here means we can more easily test this code, there is one behaviour change with the code that we only support paging messages with one LAC and will silently ignore the others.
2010-03-29nat: Assign the connection inside the new helper function.Holger Hans Peter Freyther1-0/+1
2010-03-29nat: Move creation of the structs to a separate fileHolger Hans Peter Freyther1-0/+67
This way one can create the bsc_nat structure in unit tests..