diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-04 13:21:52 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-17 11:27:00 +0100 |
commit | fe72c160e2d3c7a32bed13ff7675e0d547635d62 (patch) | |
tree | 9eb9ae03f98461449c42aa31bf4f012c978c15ea /include/bsc_data.h | |
parent | 069e635413efd1a1e4e5309c07a03d2df73bf88a (diff) |
mtp: Turn the MTPl2 link into a list of links.
Diffstat (limited to 'include/bsc_data.h')
-rw-r--r-- | include/bsc_data.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/bsc_data.h b/include/bsc_data.h index d734177..5a01dce 100644 --- a/include/bsc_data.h +++ b/include/bsc_data.h @@ -42,6 +42,8 @@ struct snmp_mtp_session; * A link to the underlying MTP2 library or such */ struct link_data { + struct llist_head entry; + union { struct { struct thread_notifier *notifier; @@ -149,6 +151,9 @@ unsigned int sls_for_src_ref(struct sccp_source_reference *ref); /* udp init */ int link_udp_init(struct link_data *data, int src_port, const char *dest_ip, int port); int link_init(struct bsc_data *bsc); +int link_shutdown_all(struct mtp_link_set *); +int link_reset_all(struct mtp_link_set *); +int link_clear_all(struct mtp_link_set *); /* MGCP */ void mgcp_forward(struct bsc_data *bsc, const uint8_t *data, unsigned int length); |