aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc_msc.c
AgeCommit message (Collapse)AuthorFilesLines
2010-08-06bsc_msc: Remove the except code as it is wrong...Holger Hans Peter Freyther1-15/+0
Remove wrong code that is luckily not called. We would end up in a reconnect and attempt to bsc_fd_register the same socket again. I am removing this part of the code as it is not used and it would need to know if the fd has ever been registered or not...
2010-08-04bsc_msc: Fix the naming of this function.Holger Hans Peter Freyther1-1/+1
2010-07-22nat: Fix nat crash on start due forgetting the ->data pointer..Holger Hans Peter Freyther1-1/+0
2010-07-05nat: Store the msc_con in the data of the bsc_fdHolger Hans Peter Freyther1-1/+2
* Stop using nat->msc_con in the read_cb but use the data.
2010-06-15msc: Add msc ip-tos NR option for the BSCHolger Hans Peter Freyther1-1/+9
Allow to set the TOS field via the VTY interface. The SO_PRIORITY was not used as it has no effect on the packets being sent (in contrast to the documentation).
2010-06-15[bsc_msc] Move the id get response into the bsc_msc.cHolger Hans Peter Freyther1-0/+22
Create the message in a common place and then it can be used by tools having an a link or such.
2010-06-15bsc_msc: Add a connection timeout for the MSC.Holger Hans Peter Freyther1-0/+12
When no one is listening our connection would get stuck in the SYN_SENT state and we would be there forever.
2010-06-15nat: Attempt to handle exceptions on the fd and trat them as connection lossHolger Hans Peter Freyther1-2/+17
2010-06-15bsc_msc.c: Print the error message of the connection.Holger Hans Peter Freyther1-1/+1
2010-06-15nat: Logging improvement for the nat.Holger Hans Peter Freyther1-0/+1
Print some more information, e.g. when a BSC is connected and authenticated, print the SCCP ref number.
2010-06-15bsc-msc: Flush the write queue when we have lost the connectionHolger Hans Peter Freyther1-0/+1
2010-06-15msc: Create a real interface for BSC MSC and start handling reconnectsHolger Hans Peter Freyther1-13/+75
Create a BSC<->MSC interface and use it for the BSC MSC IP and the BSC NAT to reduce code duplication on handling reconnects to the MSC and cleaning up the local state. The code is only partially tested and will contain bugs. Currently both the BSC and the NAT will just exit on connection loss and this way have the current behavior.
2010-06-15bsc_msc: Connect in a non blocking way to the MSCHolger Hans Peter Freyther1-2/+81
The latency of setting up of the TCP connection can be quite high, it is better to connect in a non blocking way. This code is working by setting the socket nonblocking and temporarily replacing the bfd callback with the connect handling. Once the OS has connected our socket we switch back to normal operation.
2010-06-15Correct the company name. It should be On-Waves (ehf)Holger Hans Peter Freyther1-1/+1
2010-06-15[bsc_msc] Move the connect to the MSC routine into a new fileHolger Hans Peter Freyther1-0/+70