diff options
Diffstat (limited to 'tests/hnb-test-layers.h')
-rw-r--r-- | tests/hnb-test-layers.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/hnb-test-layers.h b/tests/hnb-test-layers.h new file mode 100644 index 0000000..6211661 --- /dev/null +++ b/tests/hnb-test-layers.h @@ -0,0 +1,19 @@ +#pragma once + +struct ANY; +struct ranap_message_s; +struct hnb_test; + +/* main calls RUA */ +void hnb_test_rua_dt_handle(struct hnb_test *hnb, struct ANY *in); +void hnb_test_rua_cl_handle(struct hnb_test *hnb, struct ANY *in); + +/* RUA calls RANAP */ +void hnb_test_rua_dt_handle_ranap(void *priv, struct ranap_message_s *ranap_msg); +void hnb_test_rua_cl_handle_ranap(void *priv, struct ranap_message_s *ranap_msg); + +/* RANAP calls main with actual payload*/ +void hnb_test_nas_rx_dtap(struct hnb_test *hnb, void *data, int len); +void hnb_test_rx_secmode_cmd(struct hnb_test *hnb, long ip_alg); +void hnb_test_rx_iu_release(struct hnb_test *hnb); +void hnb_test_rx_paging(struct hnb_test *hnb, const char *imsi); |