From 60a2f4a7e6d9dbcd76eb59ed943a415303247265 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 16 May 2010 16:51:31 +0800 Subject: [nat] Make create_sccp_src_ref return the SCCP Connection. Right now it was not possible to just find a connection, by returning the connection that is created we will have direct access to it. It will be used by the local connection handling. --- openbsc/include/openbsc/bsc_nat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/include/openbsc') diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index bcd6f8e96..64be6b36f 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -281,7 +281,7 @@ int bsc_nat_filter_sccp_cr(struct bsc_connection *bsc, struct msgb *msg, /** * SCCP patching and handling */ -int create_sccp_src_ref(struct bsc_connection *bsc, struct bsc_nat_parsed *parsed); +struct sccp_connections *create_sccp_src_ref(struct bsc_connection *bsc, struct bsc_nat_parsed *parsed); int update_sccp_src_ref(struct sccp_connections *sccp, struct bsc_nat_parsed *parsed); void remove_sccp_src_ref(struct bsc_connection *bsc, struct msgb *msg, struct bsc_nat_parsed *parsed); struct sccp_connections *patch_sccp_src_ref_to_bsc(struct msgb *, struct bsc_nat_parsed *, struct bsc_nat *); -- cgit v1.2.3