aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/hnb-test-layers.h
blob: 62369f372cfd17bb503ca9e952c1728956026c90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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(struct hnb_test *hnb,
				  struct ranap_message_s *ranap_msg);
void hnb_test_rua_cl_handle_ranap(struct hnb_test *hnb,
				  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);