aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-12-20 17:35:41 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-01 14:22:28 +0100
commitc3dcfa79b90f6f43d651329046846c8a0189b98f (patch)
tree461cde03288750cc15b7907ee6cead9b4cf6935c /include
parent67b8c875e7207a927a83fa5dfba1d6fe594fa892 (diff)
linkset: Prepare the UDP support to support multiple links.
Diffstat (limited to 'include')
-rw-r--r--include/bsc_data.h1
-rw-r--r--include/snmp_mtp.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/include/bsc_data.h b/include/bsc_data.h
index 518f193..7906130 100644
--- a/include/bsc_data.h
+++ b/include/bsc_data.h
@@ -55,6 +55,7 @@ struct link_data {
struct write_queue write_queue;
struct sockaddr_in remote;
struct snmp_mtp_session *session;
+ int link_index;
int reset_timeout;
} udp;
};
diff --git a/include/snmp_mtp.h b/include/snmp_mtp.h
index 6a70a5c..4beff60 100644
--- a/include/snmp_mtp.h
+++ b/include/snmp_mtp.h
@@ -33,7 +33,7 @@ void snmp_mtp_start_c7_datalink(struct snmp_mtp_session *, int link_id);
void snmp_mtp_stop_c7_datalink(struct snmp_mtp_session *, int link_id);
struct snmp_mtp_session *snmp_mtp_session_create(char *host);
-void snmp_mtp_deactivate(struct snmp_mtp_session *);
-void snmp_mtp_activate(struct snmp_mtp_session *);
+void snmp_mtp_deactivate(struct snmp_mtp_session *, int link_id);
+void snmp_mtp_activate(struct snmp_mtp_session *, int link_id);
#endif