aboutsummaryrefslogtreecommitdiffstats
path: root/include/bsc_data.h
AgeCommit message (Collapse)AuthorFilesLines
2011-05-08Adopt to recent libosmocore namespace changes and libosmogsmHarald Welte1-7/+7
2011-02-23vty: Add all mighty new vty interface for osmo-stpHolger Hans Peter Freyther1-2/+8
This new interface allows to have multiple linksets, msc connections and ways to connect those in one instance of the osmo-stp. Forbid to reset linksets without an app.
2011-02-22vty: Remove more globals from the bsc data.Holger Hans Peter Freyther1-13/+2
This is a interim solution until we have the new and all mighty new config file format. This should work for now, makes the init abit harder to understand though.
2011-02-17mtp: Make the mtp_link point to a specific type of linkHolger Hans Peter Freyther1-1/+1
We might want to be able to change the type of a link at runtime. Decouple the link and the actual type of the link.
2011-02-17bsc: Cleanup some fields and namesHolger Hans Peter Freyther1-10/+0
2011-02-17ss7: Create a SS7 application that is responsible for the routingHolger Hans Peter Freyther1-7/+4
2011-02-17msc: Move the MSC Connection into a new header fileHolger Hans Peter Freyther1-61/+7
This is in preparation of splitting the MSC part and the nat logic for the upcoming config rewriting.
2011-02-17m2ua: Start to separate the SCTP code and M2UA to allow multiple linksHolger Hans Peter Freyther1-0/+4
We want to be able to support multiple links over different SCTP connection and in the future also over the same connection. This is the first step to separate the SCTP connection handling from the link handling inside these messages.
2011-02-17mtp: Allocate the MTPLinkSet as a child of the BSCHolger Hans Peter Freyther1-1/+3
In preparation of the VTY code change, make the mtp linkset a child of the bsc.
2011-02-17bsc: Allocate the bsc with talloc insteadHolger Hans Peter Freyther1-0/+2
Allocate the bsc with talloc to have a nice root context for everything in the system.
2011-02-10bsc: Remove the m2ua_set pointer from the struct as wellHolger Hans Peter Freyther1-1/+0
2011-02-10bsc: Remove the global link_set pointer from the bscHolger Hans Peter Freyther1-2/+2
Start removing the static names for the linkset
2011-02-10bsc: Move the BSC<->MSC variables to a new struct.Holger Hans Peter Freyther1-43/+57
Move the MSC related information out of the bsc_data and update the code to use this BSC configuration. This is greatly cleaning up the code and in theory there might now be two BSC and two MSCs that one application can handle (minus the missing VTY config)
2011-02-10stp: Allow/Disallow to inject messages on the UDP/M2UA interfaceHolger Hans Peter Freyther1-0/+1
2011-02-10stp: Add code that allows to inject messages on any linksetHolger Hans Peter Freyther1-0/+4
This can be useful to test out certain messages without having any of the linksets be fully connected. It is not possible to get the result. In the future this code should reply with an M2UA error message if something went wrong.
2011-01-30isup: Make it possible for the STP to handle/not handle ISUP messagesHolger Hans Peter Freyther1-0/+3
Add an option to decide if we should handle GROUP BLOCK and RESET messages inside the STP or if we should forward those as well.
2011-01-24udp: Create a SNMP session per UDPHolger Hans Peter Freyther1-3/+5
We do not have the multiple callbacks from SNMP under control and we can only save the last request if the SNMP Session is inside the link. This is mostly a workaround for Net-SNMP and the missing documentation on the async functionality.
2011-01-22pcap: Classify the direction of such a messageHolger Hans Peter Freyther1-1/+5
2011-01-22pcap: Run all pcap operations through one methodHolger Hans Peter Freyther1-0/+3
2011-01-22udp: Allow to create multiple links via UDPHolger Hans Peter Freyther1-0/+1
This is the easiest way to support multiple links over UDP. Specify the number you want and they will be initiated. All these links will run via the same UDP port.
2011-01-22vty: Classify the application that we run and provide different optionsHolger Hans Peter Freyther1-0/+8
The VTY interface is used for three different application and not every option will make sense for every app. In the long run we will split the vty interface but for now we just qualify the application.
2011-01-21udp: Make the SNMP code asynchronouson-waves/multiple-linksHolger Hans Peter Freyther1-1/+1
Do not block the application when doing a SNMP request. Work with the results coming back from the callback. Right now a link can only be taken down and up.
2011-01-21udp: Poll SNMP for timeouts and fd every 100msHolger Hans Peter Freyther1-0/+1
This is the easiest way to integrate net-snmp with the event loop, every 100ms we are going to check for timeouts or incoming messages
2011-01-21udp: Allow to run multiple links through the same socketHolger Hans Peter Freyther1-5/+17
The UDP socket will be shared between multiple links, the snmp session will be also shared between multiple links on the same hardware.
2011-01-20mtp: Move the link testing into a new file for mtp_linkHolger Hans Peter Freyther1-2/+0
The link testing should work under the linkset and if the SLTM is failing the link should be taken down and it should be restarted.
2011-01-20isup: Allow to have a different OPC for ISUP messages.Holger Hans Peter Freyther1-0/+1
2011-01-20stp: Create a M2UA link by hand and connect the SCCP routinesHolger Hans Peter Freyther1-0/+1
This is a hacked version that will just forward SCCP from one linkset to another one. It is missing configuration and ISUP.
2011-01-17mtp: Rename link_data to mtp_link and move out the transport specific thingsHolger Hans Peter Freyther1-35/+14
Rename link_data to mtp_link and move it into the mtp_data header file, also remove the union to ease creating more of the subtypes. This is done in preparation to the linkset knowing more about the link (e.g. having a link test per link instead of per link).
2011-01-17mtp: take the linkset down when the last link is failingHolger Hans Peter Freyther1-0/+2
2011-01-17mtp: Remove the forced_down as it is never read in that applicationHolger Hans Peter Freyther1-1/+0
2011-01-17mtp: Turn the MTPl2 link into a list of links.Holger Hans Peter Freyther1-0/+5
2011-01-17mtp: Make the link_data be a child of the link_setHolger Hans Peter Freyther1-1/+3
Change the order of the link and linkset. The link will be below the linkset. This change should make it more easy to introduce multiple linksets.
2011-01-17mtp: Propagate link and linkset failures in two stagesHolger Hans Peter Freyther1-4/+7
Handle a single link failure in links.c and if all the links have failed propagate it up. This is preparing the multiple links support.
2011-01-17mtp: Rename mtp_link to mtp_link_set as this is the linksetHolger Hans Peter Freyther1-2/+2
The link_udp is actually below the linkset. We need to get this right now and then can have multiple links.
2011-01-17linkset: Prepare the UDP support to support multiple links.Holger Hans Peter Freyther1-0/+1
2011-01-17msc: Remove the msc_clear_queue now that it is not neededHolger Hans Peter Freyther1-1/+0
2011-01-17mtp: Move the link code into a new file called links.Holger Hans Peter Freyther1-0/+1
2011-01-17misc: Remove the link_c7 dummy methodsHolger Hans Peter Freyther1-3/+0
2011-01-16license: Switch to the GNU AGPLv3 for this network serviceHolger Hans Peter Freyther1-7/+6
2011-01-01mtp: Allow to have a different POC for SCCPHolger Hans Peter Freyther1-0/+1
2010-11-26mtp: Make the spare/ni configurableHolger Hans Peter Freyther1-0/+4
2010-11-16udt: Add a forward_only to the bsc struct and use it for the msc_connHolger Hans Peter Freyther1-0/+2
Simply forward everything, no need for inspecting things.
2010-11-16udt_relay: Add a forked copy of main to just relay messagesHolger Hans Peter Freyther1-1/+2
Do not run any of the header rewriting for messages. This will simply relay SCCP friends to the MTP library. Some work on msc_conn.c is needed to avoid calling most of it.
2010-10-08mtp: Store the mtp_link inside the connectionHolger Hans Peter Freyther1-1/+1
Prepare to have multiple links to the BSC.
2010-09-30bsc: Be able to configure the LAC/MNC/MCC...Holger Hans Peter Freyther1-0/+8
2010-09-30vty: Move the vty code to a new file, move config params.Holger Hans Peter Freyther1-0/+7
2010-08-07msc: Separate the BSC and MSC link completly...Holger Hans Peter Freyther1-1/+0
Make the msc_conn responsible for creating the link to the core network and reopening it, make the BTS code just call the msc methods and the MSC will throw away data in case it can not be forwarded. This avoids a problem that we start a reconnect timer while we have a connection in progress and then add the same file descriptor twice. This is mostly a speculative fix to the problem.
2010-08-07msc: Rename closing to msc_link_downHolger Hans Peter Freyther1-1/+1
This is the indicator if the MSC is connected and authenticated or not. This name should be better than closing.
2010-08-07msc: Make close_msc public, call it from main..Holger Hans Peter Freyther1-0/+1
We would have not stopped the timer, fix that by only having one function to close the connection to the msc.
2010-08-04Update SCCP includes for the new location of files.Holger Hans Peter Freyther1-1/+1