aboutsummaryrefslogtreecommitdiffstats
path: root/src/links.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-08Adopt to recent libosmocore namespace changes and libosmogsmHarald Welte1-2/+2
2011-02-25links: Fix the init code for the old cellmgr_ng codeHolger Hans Peter Freyther1-1/+1
2011-02-23vty: Add all mighty new vty interface for osmo-stpHolger Hans Peter Freyther1-12/+10
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-15/+20
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: Rename link_no to nr, add a name like for the other commandsHolger Hans Peter Freyther1-2/+3
2011-02-17mtp: Make the mtp_link point to a specific type of linkHolger Hans Peter Freyther1-4/+6
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-17mtp: Stop hardcoding the supported SSN inside the mtp_layer3.cHolger Hans Peter Freyther1-0/+6
Stop hardcoding the supported ssn's inside the mtp_layer3.c and make it possible to allow to configure this in the future.
2011-02-17mtp: Remove the bsc pointer from the MTP LinkSetHolger Hans Peter Freyther1-1/+0
2011-02-17ss7: Provide a way to start the applicationHolger Hans Peter Freyther1-33/+0
2011-02-17msc: Move the MSC Connection into a new header fileHolger Hans Peter Freyther1-1/+4
This is in preparation of splitting the MSC part and the nat logic for the upcoming config rewriting.
2011-02-17mtp: Allocate the MTPLinkSet as a child of the BSCHolger Hans Peter Freyther1-1/+1
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-3/+3
Allocate the bsc with talloc to have a nice root context for everything in the system.
2011-02-10bsc: Remove the global link_set pointer from the bscHolger Hans Peter Freyther1-21/+22
Start removing the static names for the linkset
2011-02-10bsc: Stop using the bsc.link_set directlyHolger Hans Peter Freyther1-5/+7
2011-02-10bsc: Move the BSC<->MSC variables to a new struct.Holger Hans Peter Freyther1-1/+1
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-01-28mtp: Turn error messages into full sentences.Holger Hans Peter Freyther1-1/+1
Turn the error messages into full sentences that end with a full stop. Try to put the link set name and the link number into these messages.
2011-01-28mtp: Forbid link up/failure on blocked links.Holger Hans Peter Freyther1-0/+6
2011-01-26mtp: Assign a name to linkset, use this name in the log messagesHolger Hans Peter Freyther1-1/+4
2011-01-24udp: Create a SNMP session per UDPHolger Hans Peter Freyther1-2/+2
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-23pcap: Fix stupid bug and unbreak pcap writingHolger Hans Peter Freyther1-2/+2
2011-01-22pcap: Dump each packet in the DCAP categoryHolger Hans Peter Freyther1-0/+3
2011-01-22pcap: Allow to log on a link or linkset levelHolger Hans Peter Freyther1-3/+5
2011-01-22pcap: Classify the direction of such a messageHolger Hans Peter Freyther1-1/+1
2011-01-22pcap: Run all pcap operations through one methodHolger Hans Peter Freyther1-0/+9
2011-01-22udp: Allow to create multiple links via UDPHolger Hans Peter Freyther1-23/+28
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-22stats: Collect statistics on the linksetHolger Hans Peter Freyther1-5/+0
Collect incoming, in sccp, in isup, out isup, out sccp packets. This does not yet work for out in total.
2011-01-21udp: Make the SNMP code asynchronouson-waves/multiple-linksHolger Hans Peter Freyther1-6/+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: Allow to run multiple links through the same socketHolger Hans Peter Freyther1-4/+8
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: Remove the unused linkset_sccp_down routine as it is not usedHolger Hans Peter Freyther1-4/+0
2011-01-20mtp: Move the link testing into a new file for mtp_linkHolger Hans Peter Freyther1-0/+5
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-20mtp: Rename the the_link to set as it is a link setHolger Hans Peter Freyther1-6/+6
2011-01-20mtp: Stop assigning the link_set it will be done in mtpl3Holger Hans Peter Freyther1-1/+0
2011-01-20isup: Allow to have a different OPC for ISUP messages.Holger Hans Peter Freyther1-0/+1
2011-01-17mtp: Rename link_data to mtp_link and move out the transport specific thingsHolger Hans Peter Freyther1-21/+21
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-2/+27
2011-01-17mtp: Turn the MTPl2 link into a list of links.Holger Hans Peter Freyther1-15/+47
2011-01-17mtp: Keep an array for the SLS -> SLC mapping for active links.Holger Hans Peter Freyther1-2/+4
2011-01-17mtp: Make the link_data be a child of the link_setHolger Hans Peter Freyther1-21/+28
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-0/+12
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-4/+4
The link_udp is actually below the linkset. We need to get this right now and then can have multiple links.
2011-01-17mtp: Kill the link variable from the mtp link.Holger Hans Peter Freyther1-1/+0
2011-01-17linkset: Prepare the UDP support to support multiple links.Holger Hans Peter Freyther1-1/+3
2011-01-17msc: Remove the msc_clear_queue now that it is not neededHolger Hans Peter Freyther1-0/+4
2011-01-17mtp: Move the link code into a new file called links.Holger Hans Peter Freyther1-0/+94