diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-11-05 16:04:10 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-11-12 10:49:10 +0100 |
commit | 98da544992934f9199c855f6429b32baf51ecc7a (patch) | |
tree | eee2bcf9b4a3bbbb17985fe1a78fee881e31e98e /openbsc/include/openbsc/bsc_nat.h | |
parent | 88c06bcd64adedcbf738991c15203f646ff01d86 (diff) |
nat: Move the ctrl handling code into a separate file
Move to the control command handling out of the main file into
a dedicated module. There are still some calls embedded into the
main code but it will be moved soon.
Diffstat (limited to 'openbsc/include/openbsc/bsc_nat.h')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index abf32fc91..696b904b4 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -441,4 +441,8 @@ struct bsc_nat_num_rewr_entry { void bsc_nat_num_rewr_entry_adapt(void *ctx, struct llist_head *head, const struct osmo_config_list *); +struct ctrl_handle *bsc_nat_controlif_setup(struct bsc_nat *nat, int port); +void bsc_nat_ctrl_del_pending(struct bsc_cmd_list *pending); +int bsc_nat_handle_ctrlif_msg(struct bsc_connection *bsc, struct msgb *msg); + #endif |