aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsup_server.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-02-20 17:22:56 +0100
committerMax <msuraev@sysmocom.de>2017-03-06 13:58:04 +0100
commit9cacb6f74b73f90d79aa53f707124cceee19f8af (patch)
tree2a990d86bc53fffaf25f1d5a9cbe668515f53c43 /src/gsup_server.h
parent372868baa37010625eb66f3c03677cac743cec5b (diff)
CTRL: add enable/disable packet service cmds
Add commands to enable/disable Packet Service for a given IMSI. Changes are synced to DB and propagated at runtime to SGSN (in case of disable command). Change-Id: I23163ce8667292443ed61cb15c928357dba4b4be Related: OS#1645
Diffstat (limited to 'src/gsup_server.h')
-rw-r--r--src/gsup_server.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gsup_server.h b/src/gsup_server.h
index 484a0d7..885fe52 100644
--- a/src/gsup_server.h
+++ b/src/gsup_server.h
@@ -14,6 +14,9 @@ struct osmo_gsup_server {
/* list of osmo_gsup_conn */
struct llist_head clients;
+ /* lu_operations list */
+ struct llist_head *luop;
+
struct ipa_server_link *link;
osmo_gsup_read_cb_t read_cb;
struct llist_head routes;
@@ -36,9 +39,10 @@ int osmo_gsup_conn_ccm_get(const struct osmo_gsup_conn *clnt, uint8_t **addr,
uint8_t tag);
struct osmo_gsup_server *osmo_gsup_server_create(void *ctx,
- const char *ip_addr,
- uint16_t tcp_port,
- osmo_gsup_read_cb_t read_cb);
+ const char *ip_addr,
+ uint16_t tcp_port,
+ osmo_gsup_read_cb_t read_cb,
+ struct llist_head *lu_op_lst);
void osmo_gsup_server_destroy(struct osmo_gsup_server *gsups);