aboutsummaryrefslogtreecommitdiffstats
path: root/src/mtp_layer3.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-25mtp: Remember the first SLS this link is onHolger Hans Peter Freyther1-1/+7
2011-01-24stats: Fix counting incoming packets from a linkHolger Hans Peter Freyther1-0/+1
2011-01-24mtp: Call it mtp_link_submit and use it in mtp_linkHolger Hans Peter Freyther1-7/+7
Remove the _set from the API, call it from the mtp_link.c. This will fix the statistics for outgoing packets.
2011-01-22stats: Count packets on a per link levelHolger Hans Peter Freyther1-2/+5
2011-01-22stats: Collect statistics on the linksetHolger Hans Peter Freyther1-0/+24
Collect incoming, in sccp, in isup, out isup, out sccp packets. This does not yet work for out in total.
2011-01-20mtp: Return SLTA on the same SLS, send SLTM with a static slsHolger Hans Peter Freyther1-2/+7
Derive the SLS from the static link_no we have assigned.
2011-01-20mtp: Send the SLTM/SLTA on the link directlyHolger Hans Peter Freyther1-6/+1
For both the SLTM that the app is sending and the SLTM we are receiving we don't want to go through the SLC.
2011-01-20mtp: Count the links in a linksetHolger Hans Peter Freyther1-0/+1
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-123/+28
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-5/+6
2011-01-20mtp: Start the linktest directlyHolger Hans Peter Freyther1-9/+1
No need for delaying the linktest, start it directly when the linkset should come up
2011-01-20mtp: Send the TFP/TRA once the first link is availableHolger Hans Peter Freyther1-21/+39
Instead of sending SCCP TFP/TRA as a response to a TRA the code will now send one as a response to the first SLTA we receive in the linkset on the first link.
2011-01-20mtp: Only respond to regular maintainenance for our code pointHolger Hans Peter Freyther1-0/+6
2011-01-20isup: Allow to have a different OPC for ISUP messages.Holger Hans Peter Freyther1-1/+1
2011-01-20mtp: Send a TFA for the point codes we are routing to.Holger Hans Peter Freyther1-4/+24
2011-01-20mtp: Send TRA messages on all affected point codesHolger Hans Peter Freyther1-5/+20
2011-01-20mtp: Send the TFP for every POC we want to handle.Holger Hans Peter Freyther1-3/+20
2011-01-20mtp: Make the input path work on a specific link of the linksetHolger Hans Peter Freyther1-6/+6
2011-01-20stp: Forward unhandled ISUP from one end to anotherHolger Hans Peter Freyther1-1/+1
2011-01-20mtp: Do not send anything in case the there is no linkHolger Hans Peter Freyther1-0/+3
If there is no usable link in the linkset we should not try to send. This assumes that all incoming packages come from links that are up. We do not check this right now but we will have to check this.
2011-01-20mtp: Send the SSA/SSP for the apoc and assn of the requestHolger Hans Peter Freyther1-3/+3
2011-01-20mtp: Send the SSA with the affected POC for SCCP.Holger Hans Peter Freyther1-1/+1
2011-01-17mtp: Rename link_data to mtp_link and move out the transport specific thingsHolger Hans Peter Freyther1-5/+5
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: Create the SLC with all linksHolger Hans Peter Freyther1-2/+35
2011-01-17mtp: Turn the MTPl2 link into a list of links.Holger Hans Peter Freyther1-2/+11
2011-01-17mtp: Keep an array for the SLS -> SLC mapping for active links.Holger Hans Peter Freyther1-6/+13
2011-01-17mtp: Rename mtp_link to mtp_link_set as this is the linksetHolger Hans Peter Freyther1-36/+36
The link_udp is actually below the linkset. We need to get this right now and then can have multiple links.
2011-01-17mtp: Attempt to select the sls properly in the round robin fashionHolger Hans Peter Freyther1-0/+5
When we call the submit method with a SLS of -1 we will try to find the next SLS to do things in a round robin way.
2011-01-17sccp: Stop queueing messages between SLTM messagesHolger Hans Peter Freyther1-2/+0
Remove the queueing of messages that was added during a debugging session and should not be needed. This will simply bringing down the linkset.
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-7/+7
2010-12-31mtp: Well we do not wait for the SST any more but start transmitting.Holger Hans Peter Freyther1-1/+1
2010-12-31mtp: Add some SSNs we want to handle.Holger Hans Peter Freyther1-3/+8
This should be really configurable. SSN=1 should always lead to a SSA, the others depend on what we run on our end of the link.
2010-12-31mtp: Implement the subsystem test and respond with a SSP/SSAHolger Hans Peter Freyther1-5/+10
The SCMG handling should be moved to a different file. Right now the list of supported SSNs is not configurable but it should.
2010-12-10mtp: Attempt to fix the SCCP restart logic.Holger Hans Peter Freyther1-26/+21
The SST is not necessary. We will have to assume the link is established after having gotten the TRA on the Affected Point Code and we will need to always handle the restart allowed.
2010-12-10isup: Respond to a ISUP GRS with a GRA.Holger Hans Peter Freyther1-4/+19
2010-12-10isup: Implement handling GRS and GRA messages for ISUP.Holger Hans Peter Freyther1-1/+3
2010-12-08mtp: Print a TFP message on the screen when we get a messageHolger Hans Peter Freyther1-0/+16
2010-12-08mtp: Prepare ISUP handling, just print the ISUP part.Holger Hans Peter Freyther1-0/+3
2010-12-08mtp: Print un-handled messagesHolger Hans Peter Freyther1-1/+1
2010-11-26mtp: Be able to set the spare bits in the network indicatorHolger Hans Peter Freyther1-0/+1
2010-11-26mtp: Store the NetworIndicator in the mtp_link and use itHolger Hans Peter Freyther1-3/+4
Prepare to make the ni configurable and store it inside the mtp_link where it can be changed by the user of the mtp_link. Initialize this to the current value.
2010-11-26mtp: Set the network indicator in the mtp_msg_allocHolger Hans Peter Freyther1-6/+1
Prepare to have different network indicators.
2010-10-08mtp: Ignore the spare bits as of Q.701 6.2Holger Hans Peter Freyther1-6/+6
The sender is supposed to set them to 0 and we are asked to ignore them. Apparently something called SIF is enabled on the sender side.
2010-08-04Update SCCP includes for the new location of files.Holger Hans Peter Freyther1-1/+1
2010-08-04Use libosmocore instead of the old temporary laF0rge1 lib..Holger Hans Peter Freyther1-2/+2
2010-07-31u_int8_t -> uint8_tHolger Hans Peter Freyther1-5/+5
2010-07-28Public release of the cellmgr_ng code to convert E1 to IPA SCCPHolger Hans Peter Freyther1-0/+509