diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-02-22 20:57:08 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-02-23 15:25:35 +0100 |
commit | 7176030e02ca59d5b4ee015f24ee2bf733eeed8e (patch) | |
tree | eed6a2bb6bd74d365a09e77cbdc875bfcac689ed /include/sctp_m2ua.h | |
parent | 2917644d503b706f0df5cf7228fc284a79436e31 (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.h | 7 |
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 |