diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-05 23:09:27 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 20:24:11 +0800 |
commit | 26a43896cd7e611beb4ae0f614403fcfc96c1882 (patch) | |
tree | b664aea6184789649fa82fcdae513328f51a0cf0 /openbsc/include/openbsc/bsc_nat.h | |
parent | 5cc94fb86ad87f602d503fb350fa5d750f2811a7 (diff) |
nat: Close all endpoints used by a BSC when the BSC is gone
Cleanup all endpoints that belonged to a given BSC. This is
one part of the cleanup, the other is to bring down the SCCP
link properly.
Diffstat (limited to 'openbsc/include/openbsc/bsc_nat.h')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index 13bdc7184..6de32ebc9 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -205,6 +205,7 @@ struct bsc_connection *bsc_mgcp_find_con(struct bsc_nat *, int endpoint_number); struct msgb *bsc_mgcp_rewrite(char *input, int length, const char *ip, int port); void bsc_mgcp_forward(struct bsc_connection *bsc, struct msgb *msg); +void bsc_mgcp_clear_endpoints_for(struct bsc_connection *bsc); int bsc_mgcp_parse_response(const char *str, int *code, char transaction[60]); int bsc_mgcp_extract_ci(const char *resp); int bsc_mgcp_extract_port(const char *resp); |