9
0
Fork 0
Commit Graph

9 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther c5562bde48 sctp: Close the socket if we get <= 0 as a result for sctp_rcvmsg
The manpage says that -1 is the indication for error but on 2.6.12
we just ended up in a infinite loop as select shows the socket as
readable but a recvmsg does not give any data.
2011-01-26 11:02:42 +01:00
Holger Hans Peter Freyther 8a96e474a2 mtp: Fix the logic... close the socket if we are blocked
Thinko or such.
2011-01-25 09:57:55 +01:00
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 36260e915a pcap: Classify the direction of such a message 2011-01-22 21:33:18 +01:00
Holger Hans Peter Freyther ddf8eae7da pcap: Run all pcap operations through one method 2011-01-22 21:33:11 +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 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 c17852ee34 m2ua: Write MTP packets to the pcap file if requested. 2011-01-20 11:37:49 +01:00
Holger Hans Peter Freyther d70a7e8e79 m2ua: Create a MTP Link class using SCTP/M2UA for the transport
This is a MTP Link that can be used with a MTP LinkSet. E.g. with
some config changes one could use cellmgr_ng or udt_relay over a
M2UA link.
2011-01-17 14:45:15 +01:00