diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-08-10 06:11:39 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-08-10 06:37:35 +0200 |
commit | ab79b9b593cbde7064a7e4ad49867c36f969cadd (patch) | |
tree | 8008fb085fd3eb90294a89508095c813b609f83a /include/sctp_m2ua.h | |
parent | c21c0d699f522ed38958cb9b19043efeaec03828 (diff) |
m2ua: Print information about number of SCTP connections
It appears that it is possible to have a stale SCTP connection
and this added LOGL_NOTICE and the VTY interface might help to
identify this situation in the future (the mean time of failure
is about five month).
Diffstat (limited to 'include/sctp_m2ua.h')
-rw-r--r-- | include/sctp_m2ua.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sctp_m2ua.h b/include/sctp_m2ua.h index 96ee200..ee46a66 100644 --- a/include/sctp_m2ua.h +++ b/include/sctp_m2ua.h @@ -80,4 +80,6 @@ struct mtp_m2ua_link *mtp_m2ua_link_create(struct sctp_m2ua_transport *transport struct mtp_m2ua_link *mtp_m2ua_link_init(struct mtp_link *link); +int sctp_m2ua_conn_count(struct sctp_m2ua_transport *tran); + #endif |