open5gs/src/upf/pfcp-path.h

49 lines
1.5 KiB
C
Raw Normal View History

2019-04-27 14:54:30 +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/>.
*/
2020-04-26 19:36:05 +00:00
#ifndef UPF_PFCP_PATH_H
#define UPF_PFCP_PATH_H
2019-04-27 14:54:30 +00:00
2020-04-26 19:36:05 +00:00
#include "ogs-gtp.h"
2019-04-27 14:54:30 +00:00
#ifdef __cplusplus
extern "C" {
#endif
2020-04-26 19:36:05 +00:00
int upf_pfcp_open(void);
void upf_pfcp_close(void);
int upf_pfcp_send_session_establishment_response(
2020-04-26 19:36:05 +00:00
ogs_pfcp_xact_t *xact, upf_sess_t *sess,
ogs_pfcp_pdr_t *created_pdr[], int num_of_created_pdr);
int upf_pfcp_send_session_modification_response(
2020-04-26 19:36:05 +00:00
ogs_pfcp_xact_t *xact, upf_sess_t *sess,
ogs_pfcp_pdr_t *created_pdr[], int num_of_created_pdr);
int upf_pfcp_send_session_deletion_response(ogs_pfcp_xact_t *xact,
2020-04-26 19:36:05 +00:00
upf_sess_t *sess);
2019-04-27 14:54:30 +00:00
int upf_pfcp_send_session_report_request(
2021-01-18 16:48:35 +00:00
upf_sess_t *sess, ogs_pfcp_user_plane_report_t *report);
2019-04-27 14:54:30 +00:00
#ifdef __cplusplus
}
#endif
2020-04-26 19:36:05 +00:00
#endif /* UPF_PFCP_PATH_H */