Holger Hans Peter Freyther
ea5ce23d72
mtp: Make it possible to block a link.
...
The semantic of a block is to take the physical
link down, call mtp_link_down and to make sure
that the link remains down and no packets are
forwarded there. The unblock call will reset the
link and this should get it back into operation
again.
2011-01-24 15:35:08 +01:00
Holger Hans Peter Freyther
f6375b49d3
pcap: Allow to log on a link or linkset level
2011-01-22 21:33:18 +01:00
Holger Hans Peter Freyther
4c1eb0ee43
stats: Count packets on a per link level
2011-01-22 16:22:18 +01:00
Holger Hans Peter Freyther
c5d897e847
stats: Collect statistics on the linkset
...
Collect incoming, in sccp, in isup, out isup, out sccp packets.
This does not yet work for out in total.
2011-01-22 16:22:18 +01:00
Holger Hans Peter Freyther
95057b9237
mtp: Send the SLTM/SLTA on the link directly
...
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-20 19:07:16 +01:00
Holger Hans Peter Freyther
1cc24561b0
mtp: Count the links in a linkset
2011-01-20 19:07:16 +01:00
Holger Hans Peter Freyther
fa8cf2d938
mtp: Create a method for a link failure to restart the link.
...
Make sure that a failed link will be restarted by calling the
reset method which should take the link down.
2011-01-20 19:07:16 +01:00
Holger Hans Peter Freyther
9b8a4a7f49
mtp: Remove the unused linkset_sccp_down routine as it is not used
2011-01-20 19:07:16 +01:00
Holger Hans Peter Freyther
a8ce061d86
mtp: Move the link testing into a new file for mtp_link
...
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-20 19:07:16 +01:00
Holger Hans Peter Freyther
2d845fca0c
mtp: Rename the the_link to set as it is a link set
2011-01-20 15:44:14 +01:00
Holger Hans Peter Freyther
1349584c26
mtp: Start the linktest directly
...
No need for delaying the linktest, start it directly when
the linkset should come up
2011-01-20 15:08:57 +01:00
Holger Hans Peter Freyther
606eae8ece
mtp: Send the TFP/TRA once the first link is available
...
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-20 14:23:10 +01:00
Holger Hans Peter Freyther
d8a73e24d2
isup: Allow to have a different OPC for ISUP messages.
2011-01-20 11:49:39 +01:00
Holger Hans Peter Freyther
bee2ed18c7
mtp: Make the input path work on a specific link of the linkset
2011-01-20 11:37:50 +01:00
Holger Hans Peter Freyther
efbd8c2e80
stp: Allow to forward all ISUP messages without any modification
2011-01-20 11:37:50 +01:00
Holger Hans Peter Freyther
1b6901ec4a
stp: Forward unhandled ISUP from one end to another
2011-01-20 11:37:50 +01:00
Holger Hans Peter Freyther
0e2f9116f8
mtp: Rename link_data to mtp_link and move out the transport specific things
...
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-17 14:11:26 +01:00
Holger Hans Peter Freyther
fe72c160e2
mtp: Turn the MTPl2 link into a list of links.
2011-01-17 11:27:00 +01:00
Holger Hans Peter Freyther
069e635413
mtp: Keep an array for the SLS -> SLC mapping for active links.
2011-01-17 11:21:12 +01:00
Holger Hans Peter Freyther
644aafbc94
mtp: Make the link_data be a child of the link_set
...
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-17 11:21:11 +01:00
Holger Hans Peter Freyther
c8405692b3
mtp: Propagate link and linkset failures in two stages
...
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-17 11:21:11 +01:00
Holger Hans Peter Freyther
569f1e171d
mtp: Rename mtp_link to mtp_link_set as this is the linkset
...
The link_udp is actually below the linkset. We need to get this
right now and then can have multiple links.
2011-01-17 11:21:11 +01:00
Holger Hans Peter Freyther
346e1c4bc4
mtp: Attempt to select the sls properly in the round robin fashion
...
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-17 11:21:10 +01:00
Holger Hans Peter Freyther
45738887be
mtp: Kill the link variable from the mtp link.
2011-01-17 11:21:10 +01:00
Holger Hans Peter Freyther
f19afaed7b
sccp: Stop queueing messages between SLTM messages
...
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-17 11:21:09 +01:00
Holger Hans Peter Freyther
de56c22702
license: Switch to the GNU AGPLv3 for this network service
2011-01-16 20:35:13 +01:00
Holger Hans Peter Freyther
7a72556577
mtp: Allow to have a different POC for SCCP
2011-01-01 13:34:58 +01:00
Holger Hans Peter Freyther
3aad776b28
isup: Respond to a ISUP GRS with a GRA.
2010-12-10 13:22:46 +01:00
Holger Hans Peter Freyther
e976df1b5b
mtp: Be able to set the spare bits in the network indicator
2010-11-26 21:07:11 +01:00
Holger Hans Peter Freyther
4e3e28e916
mtp: Store the NetworIndicator in the mtp_link and use it
...
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-26 21:05:39 +01:00
Holger Hans Peter Freyther
cbf7d18bb9
Use libosmocore instead of the old temporary laF0rge1 lib..
2010-08-04 06:08:40 +08:00
Holger Hans Peter Freyther
5aa17014de
u_int8_t -> uint8_t
2010-07-31 04:37:26 +08:00
Holger Hans Peter Freyther
97f66e2b53
Public release of the cellmgr_ng code to convert E1 to IPA SCCP
2010-07-28 03:36:32 +08:00