2017-03-05 06:02:12 +00:00
|
|
|
#ifndef __TESTS1AP_H__
|
|
|
|
#define __TESTS1AP_H__
|
|
|
|
|
|
|
|
#include "core_net.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
CORE_DECLARE(net_sock_t) *tests1ap_enb_connect(void);
|
|
|
|
CORE_DECLARE(status_t) tests1ap_enb_close(net_sock_t *sock);
|
|
|
|
CORE_DECLARE(int) tests1ap_enb_send(net_sock_t *sock, pkbuf_t *sendbuf);
|
|
|
|
CORE_DECLARE(int) tests1ap_enb_read(net_sock_t *sock, pkbuf_t *recvbuf);
|
|
|
|
|
|
|
|
CORE_DECLARE(status_t) tests1ap_build_setup_req(
|
2017-09-11 09:41:14 +00:00
|
|
|
pkbuf_t **pkbuf, S1ap_ENB_ID_PR present, c_uint32_t enb_id);
|
2017-04-14 11:20:00 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_initial_ue_msg(pkbuf_t **pkbuf, int i);
|
2017-07-28 03:48:49 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_identity_response(pkbuf_t **pkbuf, int i);
|
2017-04-14 11:20:00 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_authentication_response(
|
|
|
|
pkbuf_t **pkbuf, int i);
|
|
|
|
CORE_DECLARE(status_t) tests1ap_build_security_mode_complete(
|
|
|
|
pkbuf_t **pkbuf, int i);
|
|
|
|
CORE_DECLARE(status_t) tests1ap_build_esm_information_response(
|
|
|
|
pkbuf_t **pkbuf, int i);
|
2017-04-13 14:14:59 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_ue_capability_info_indication(
|
2017-04-14 11:20:00 +00:00
|
|
|
pkbuf_t **pkbuf, int i);
|
2017-04-13 14:14:59 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_initial_context_setup_response(
|
2017-04-14 11:20:00 +00:00
|
|
|
pkbuf_t **pkbuf, int i);
|
|
|
|
CORE_DECLARE(status_t) tests1ap_build_attach_complete(pkbuf_t **pkbuf, int i);
|
|
|
|
CORE_DECLARE(status_t) tests1ap_build_emm_status(pkbuf_t **pkbuf, int i);
|
2017-07-26 05:18:28 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_detach_request(pkbuf_t **pkbuf, int i);
|
2017-07-25 12:15:25 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_ue_context_release_request(
|
|
|
|
pkbuf_t **pkbuf, int i);
|
|
|
|
CORE_DECLARE(status_t) tests1ap_build_ue_context_release_complete(
|
|
|
|
pkbuf_t **pkbuf, int i);
|
2017-07-25 14:42:16 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_service_request(
|
|
|
|
pkbuf_t **pkbuf, int i);
|
2017-09-11 12:14:55 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_pdn_connectivity_request(
|
|
|
|
pkbuf_t **pkbuf, int i);
|
|
|
|
CORE_DECLARE(status_t) tests1ap_build_pdn_disconnectivity_request(
|
|
|
|
pkbuf_t **pkbuf, int i);
|
2017-09-06 15:37:16 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_e_rab_setup_response(
|
|
|
|
pkbuf_t **pkbuf, int i);
|
2017-09-07 14:41:05 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_e_rab_release_response(
|
|
|
|
pkbuf_t **pkbuf, int i);
|
2017-09-06 15:37:16 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_activate_default_bearer_accept(
|
|
|
|
pkbuf_t **pkbuf, int i);
|
2017-09-04 16:17:24 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_activate_dedicated_bearer_accept(
|
|
|
|
pkbuf_t **pkbuf, int i);
|
2017-09-07 14:41:05 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_deactivate_bearer_accept(
|
|
|
|
pkbuf_t **pkbuf, int i);
|
2017-09-11 12:14:55 +00:00
|
|
|
CORE_DECLARE(status_t) tests1ap_build_path_switch_request(
|
2017-09-07 14:41:05 +00:00
|
|
|
pkbuf_t **pkbuf, int i);
|
2017-03-05 06:02:12 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#endif /* __TESTS1AP_H__ */
|