diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2016-02-03 11:30:57 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-03-03 16:19:10 +0100 |
commit | 2f5cc8abe0f48b56fbcdb03b8b9767247cdc2b3a (patch) | |
tree | 49b485000589bec8a603a8e66787aeea5ffbeca1 /openbsc/tests/sgsn/sgsn_test.c | |
parent | ba47b525ff001475537536255b04aefff0385eea (diff) |
tests/sgsn: Fix compilation of sgsn_test
The sgsn test still fails, but at least it is compiling again..
Diffstat (limited to 'openbsc/tests/sgsn/sgsn_test.c')
-rw-r--r-- | openbsc/tests/sgsn/sgsn_test.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/openbsc/tests/sgsn/sgsn_test.c b/openbsc/tests/sgsn/sgsn_test.c index de5462cff..a77787802 100644 --- a/openbsc/tests/sgsn/sgsn_test.c +++ b/openbsc/tests/sgsn/sgsn_test.c @@ -102,6 +102,28 @@ int bssgp_tx_dl_ud(struct msgb *msg, uint16_t pdu_lifetime, return 0; } +/* Stubs for IU functions */ +int gprs_iu_tx(struct msgb *msg, uint8_t sapi, void *mm) +{ + return -1; +} + +int gprs_transp_upd_key(struct sgsn_mm_ctx *mm) +{ + return -1; +} + +int gprs_iu_rab_act(struct sgsn_pdp_ctx *pdp) +{ + return -1; +} + +int gprs_iu_rab_deact(struct sgsn_mm_ctx *mm) +{ + return -1; +} + + /* override, requires '-Wl,--wrap=sgsn_update_subscriber_data' */ void __real_sgsn_update_subscriber_data(struct sgsn_mm_ctx *); void (*update_subscriber_data_cb)(struct sgsn_mm_ctx *) = |