aboutsummaryrefslogtreecommitdiffstats
path: root/include/sctp_m2ua.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-02-22 20:57:08 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-02-22 22:02:09 +0100
commitf91e26cc9a16747514d0c8c459d0e20c653ee991 (patch)
tree5ed24752a5ece7808cda003a983763b50bafccfd /include/sctp_m2ua.h
parent2917644d503b706f0df5cf7228fc284a79436e31 (diff)
vty: Add all mighty new vty interface for osmo-stp
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.
Diffstat (limited to 'include/sctp_m2ua.h')
-rw-r--r--include/sctp_m2ua.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/sctp_m2ua.h b/include/sctp_m2ua.h
index 34c8666..2ae1472 100644
--- a/include/sctp_m2ua.h
+++ b/include/sctp_m2ua.h
@@ -57,6 +57,8 @@ struct mtp_m2ua_link {
int link_index;
struct llist_head entry;
struct sctp_m2ua_transport *transport;
+
+ char *as;
};
/*
@@ -71,8 +73,11 @@ struct sctp_m2ua_conn {
struct sctp_m2ua_transport *trans;
};
-struct sctp_m2ua_transport *sctp_m2ua_transp_create(const char *ip, int port);
+struct sctp_m2ua_transport *sctp_m2ua_transp_create(struct bsc_data *bsc);
+int sctp_m2ua_transport_bind(struct sctp_m2ua_transport *, const char *ip, int port);
struct mtp_m2ua_link *mtp_m2ua_link_create(struct sctp_m2ua_transport *transport,
struct mtp_link_set *);
+struct mtp_m2ua_link *mtp_m2ua_link_init(struct mtp_link *link);
+
#endif