aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gprs_ns.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-11 06:20:54 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-11 06:33:17 +0200
commit99e3248192caa1348a28e4a5eda3db745960fd31 (patch)
tree1af1841de62d6863677eba43a3c823b971c2ab53 /openbsc/include/openbsc/gprs_ns.h
parent6b72cdf85423f9aca68bce15084e8a1b30b3db55 (diff)
[gprs] NS: Add signals in the event of BLOCK/UNBLOCK/RESET
The signals will be sent upon reception of NS-BLOCK/UNBLOCK/RESET PDUs We also export functions to generate/send BLOCK/UNBLOCK and RESET.
Diffstat (limited to 'openbsc/include/openbsc/gprs_ns.h')
-rw-r--r--openbsc/include/openbsc/gprs_ns.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gprs_ns.h b/openbsc/include/openbsc/gprs_ns.h
index 27c54cb13..c74546a8b 100644
--- a/openbsc/include/openbsc/gprs_ns.h
+++ b/openbsc/include/openbsc/gprs_ns.h
@@ -167,6 +167,9 @@ int gprs_ns_rcvmsg(struct gprs_ns_inst *nsi, struct msgb *msg,
/* main function for higher layers (BSSGP) to send NS messages */
int gprs_ns_sendmsg(struct gprs_ns_inst *nsi, struct msgb *msg);
+int gprs_ns_tx_reset(struct gprs_nsvc *nsvc, uint8_t cause);
+int gprs_ns_tx_block(struct gprs_nsvc *nsvc, uint8_t cause);
+int gprs_ns_tx_unblock(struct gprs_nsvc *nsvc);
/* Listen for incoming GPRS packets */
int nsip_listen(struct gprs_ns_inst *nsi, uint16_t udp_port);