2019-06-23 11:43:23 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
|
|
|
|
*
|
|
|
|
* This file is part of Open5GS.
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ESM_BUILD_H
|
|
|
|
#define ESM_BUILD_H
|
2017-04-11 03:57:54 +00:00
|
|
|
|
2019-06-11 13:10:47 +00:00
|
|
|
#include "mme-context.h"
|
2017-04-11 03:57:54 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
2019-06-23 11:43:23 +00:00
|
|
|
#endif
|
2017-04-11 03:57:54 +00:00
|
|
|
|
2019-11-30 07:45:09 +00:00
|
|
|
ogs_pkbuf_t *esm_build_pdn_connectivity_reject(
|
2022-04-14 08:34:55 +00:00
|
|
|
mme_sess_t *sess, ogs_nas_esm_cause_t esm_cause, int create_action);
|
2019-11-30 07:45:09 +00:00
|
|
|
ogs_pkbuf_t *esm_build_information_request(mme_bearer_t *bearer);
|
|
|
|
ogs_pkbuf_t *esm_build_activate_default_bearer_context_request(
|
2022-04-14 08:34:55 +00:00
|
|
|
mme_sess_t *sess, int create_action);
|
2019-11-30 07:45:09 +00:00
|
|
|
ogs_pkbuf_t *esm_build_activate_dedicated_bearer_context_request(
|
2022-03-16 11:48:48 +00:00
|
|
|
mme_bearer_t *bearer);
|
2019-11-30 07:45:09 +00:00
|
|
|
ogs_pkbuf_t *esm_build_modify_bearer_context_request(
|
2019-09-13 12:07:47 +00:00
|
|
|
mme_bearer_t *bearer, int qos_presence, int tft_presence);
|
2019-11-30 07:45:09 +00:00
|
|
|
ogs_pkbuf_t *esm_build_deactivate_bearer_context_request(
|
2019-09-13 12:07:47 +00:00
|
|
|
mme_bearer_t *bearer, ogs_nas_esm_cause_t esm_cause);
|
2019-12-28 12:46:30 +00:00
|
|
|
ogs_pkbuf_t *esm_build_bearer_resource_allocation_reject(
|
2021-01-11 04:36:12 +00:00
|
|
|
mme_ue_t *mme_ue, uint8_t pti, ogs_nas_esm_cause_t esm_cause);
|
2019-12-28 12:46:30 +00:00
|
|
|
ogs_pkbuf_t *esm_build_bearer_resource_modification_reject(
|
2021-01-11 04:36:12 +00:00
|
|
|
mme_ue_t *mme_ue, uint8_t pti, ogs_nas_esm_cause_t esm_cause);
|
2017-04-13 02:08:42 +00:00
|
|
|
|
2017-04-11 03:57:54 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2019-06-23 11:43:23 +00:00
|
|
|
#endif
|
2017-04-11 03:57:54 +00:00
|
|
|
|
2019-06-23 11:43:23 +00:00
|
|
|
#endif /* ESM_BUILD_H */
|