open5gs/src/pgw/pgw-s5c-build.h

48 lines
1.6 KiB
C
Raw Normal View History

2019-07-08 13:58:41 +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 PGW_S5C_BUILD_H
#define PGW_S5C_BUILD_H
2017-09-04 08:27:14 +00:00
2019-06-11 09:28:25 +00:00
#include "gtp/gtp-message.h"
2017-09-04 08:27:14 +00:00
#ifdef __cplusplus
extern "C" {
2019-07-08 13:58:41 +00:00
#endif
2017-09-04 08:27:14 +00:00
2019-04-27 14:54:30 +00:00
int pgw_s5c_build_create_session_response(
ogs_pkbuf_t **pkbuf, uint8_t type, pgw_sess_t *sess,
2018-01-10 13:09:08 +00:00
gx_message_t *gx_message, gtp_create_session_request_t *req);
2019-04-27 14:54:30 +00:00
int pgw_s5c_build_delete_session_response(
ogs_pkbuf_t **pkbuf, uint8_t type,
2018-01-10 13:09:08 +00:00
gx_message_t *gx_message, gtp_delete_session_request_t *req);
2017-09-04 10:20:06 +00:00
2019-04-27 14:54:30 +00:00
int pgw_s5c_build_create_bearer_request(
ogs_pkbuf_t **pkbuf, uint8_t type, pgw_bearer_t *bearer);
int pgw_s5c_build_update_bearer_request(
ogs_pkbuf_t **pkbuf, uint8_t type, pgw_bearer_t *bearer,
2018-01-17 04:49:08 +00:00
int qos_presence, int tft_presence);
2019-04-27 14:54:30 +00:00
int pgw_s5c_build_delete_bearer_request(
ogs_pkbuf_t **pkbuf, uint8_t type, pgw_bearer_t *bearer);
2017-09-04 08:27:14 +00:00
#ifdef __cplusplus
}
2019-07-08 13:58:41 +00:00
#endif
2017-09-04 08:27:14 +00:00
2019-07-08 13:58:41 +00:00
#endif /* PGW_S5C_BUILD_H */