Projects
osmocom:master
open5gs
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 9
View file
commit_7c8722d9d4d2db13d889be1e5e37bc062f069396.txt
Added
View file
commit_c537166d3717b2d98cc9d81dfc574d7709191fb5.txt
Deleted
View file
open5gs_2.4.11.3.c537.dsc -> open5gs_2.4.11.4.7c872.dsc
Changed
@@ -2,7 +2,7 @@ Source: open5gs Binary: open5gs-common, open5gs-mme, open5gs-sgwc, open5gs-smf, open5gs-amf, open5gs-sgwu, open5gs-upf, open5gs-hss, open5gs-pcrf, open5gs-nrf, open5gs-ausf, open5gs-udm, open5gs-pcf, open5gs-nssf, open5gs-bsf, open5gs-udr, open5gs, open5gs-dbg Architecture: any -Version: 2.4.11.3.c537 +Version: 2.4.11.4.7c872 Maintainer: Harald Welte <laforge@gnumonks.org> Uploaders: Sukchan Lee <acetcom@gmail.com> Homepage: https://open5gs.org @@ -30,8 +30,8 @@ open5gs-udr deb net optional arch=any open5gs-upf deb net optional arch=any Checksums-Sha1: - e5283d1a6a5a02a1b149da2eb14be6e0e3e6a10a 11468840 open5gs_2.4.11.3.c537.tar.xz + 6f79d04cb5a4cd63f5fcd63ebc91224f52eb425c 11469872 open5gs_2.4.11.4.7c872.tar.xz Checksums-Sha256: - c96c62b3c5ccd4985a5a195bcbf14a15ef3be8310334598266667484b975f428 11468840 open5gs_2.4.11.3.c537.tar.xz + 8234c0bab65652c4ee40952a66e3bdbd6b2025342ff1a042ee435280350d9062 11469872 open5gs_2.4.11.4.7c872.tar.xz Files: - 227a3a7df951b34cb5bdd7eb2c6baf02 11468840 open5gs_2.4.11.3.c537.tar.xz + 7f4eadef4f45178ccc51d2cf6b34cd36 11469872 open5gs_2.4.11.4.7c872.tar.xz
View file
open5gs_2.4.11.3.c537.tar.xz/.tarball-version -> open5gs_2.4.11.4.7c872.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -2.4.11.3-c537 +2.4.11.4-7c872
View file
open5gs_2.4.11.3.c537.tar.xz/debian/changelog -> open5gs_2.4.11.4.7c872.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -open5gs (2.4.11.3.c537) unstable; urgency=medium +open5gs (2.4.11.4.7c872) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Sun, 02 Oct 2022 10:52:48 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Mon, 03 Oct 2022 02:55:33 +0000 open5gs (2.4.11) unstable; urgency=medium
View file
open5gs_2.4.11.3.c537.tar.xz/lib/sbi/conv.c -> open5gs_2.4.11.4.7c872.tar.xz/lib/sbi/conv.c
Changed
@@ -451,6 +451,72 @@ return true; } +int ogs_sbi_rfc7231_string(char *date_str, ogs_time_t time) +{ + const char ogs_month_snames124 = { + "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", + "Aug", "Sep", "Oct", "Nov", "Dec" + }; + const char ogs_day_snames74 = { + "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" + }; + + struct tm gmt; + const char *s; + int real_year; + + ogs_time_t sec = ogs_time_sec(time); + ogs_time_t msec = ogs_time_msec(time); + + ogs_assert(date_str); + + ogs_gmtime(sec, &gmt); + + /* example: "Sun, 04 Aug 2019 08:49:37.845 GMT" */ + /* 123456789012345678901234567890123 */ + + s = &ogs_day_snamesgmt.tm_wday0; + *date_str++ = *s++; + *date_str++ = *s++; + *date_str++ = *s++; + *date_str++ = ','; + *date_str++ = ' '; + *date_str++ = gmt.tm_mday / 10 + '0'; + *date_str++ = gmt.tm_mday % 10 + '0'; + *date_str++ = ' '; + s = &ogs_month_snamesgmt.tm_mon0; + *date_str++ = *s++; + *date_str++ = *s++; + *date_str++ = *s++; + *date_str++ = ' '; + real_year = 1900 + gmt.tm_year; + /* This routine isn't y10k ready. */ + *date_str++ = real_year / 1000 + '0'; + *date_str++ = real_year % 1000 / 100 + '0'; + *date_str++ = real_year % 100 / 10 + '0'; + *date_str++ = real_year % 10 + '0'; + *date_str++ = ' '; + *date_str++ = gmt.tm_hour / 10 + '0'; + *date_str++ = gmt.tm_hour % 10 + '0'; + *date_str++ = ':'; + *date_str++ = gmt.tm_min / 10 + '0'; + *date_str++ = gmt.tm_min % 10 + '0'; + *date_str++ = ':'; + *date_str++ = gmt.tm_sec / 10 + '0'; + *date_str++ = gmt.tm_sec % 10 + '0'; + *date_str++ = '.'; + *date_str++ = msec / 100 + '0'; + *date_str++ = msec % 100 / 10 + '0'; + *date_str++ = msec % 10 + '0'; + *date_str++ = ' '; + *date_str++ = 'G'; + *date_str++ = 'M'; + *date_str++ = 'T'; + *date_str++ = 0; + + return OGS_OK; +} + char *ogs_sbi_s_nssai_to_string(ogs_s_nssai_t *s_nssai) { cJSON *item = NULL;
View file
open5gs_2.4.11.3.c537.tar.xz/lib/sbi/conv.h -> open5gs_2.4.11.4.7c872.tar.xz/lib/sbi/conv.h
Changed
@@ -56,6 +56,9 @@ char *ogs_sbi_timezone_string(int tm_gmtoff); bool ogs_sbi_time_from_string(ogs_time_t *time, char *str); +#define OGS_SBI_RFC7231_DATE_LEN (34) +int ogs_sbi_rfc7231_string(char *date_str, ogs_time_t time); + char *ogs_sbi_s_nssai_to_string(ogs_s_nssai_t *s_nssai); bool ogs_sbi_s_nssai_from_string(ogs_s_nssai_t *s_nssai, char *str);
View file
open5gs_2.4.11.3.c537.tar.xz/lib/sbi/message.c -> open5gs_2.4.11.4.7c872.tar.xz/lib/sbi/message.c
Changed
@@ -249,6 +249,8 @@ { int i; ogs_sbi_request_t *request = NULL; + char sender_timestampOGS_SBI_RFC7231_DATE_LEN; + char *max_rsp_time = NULL; ogs_assert(message); @@ -443,6 +445,18 @@ END } + ogs_assert(OGS_OK == + ogs_sbi_rfc7231_string(sender_timestamp, ogs_time_now())); + ogs_sbi_header_set(request->http.headers, + OGS_SBI_OPTIONAL_CUSTOM_SENDER_TIMESTAMP, sender_timestamp); + + ogs_assert(ogs_time_to_msec(ogs_app()->time.message.duration)); + max_rsp_time = ogs_msprintf("%d", + (int)ogs_time_to_msec(ogs_app()->time.message.duration)); + ogs_sbi_header_set(request->http.headers, + OGS_SBI_OPTIONAL_CUSTOM_MAX_RSP_TIME, max_rsp_time); + ogs_free(max_rsp_time); + if (message->http.content_encoding) ogs_sbi_header_set(request->http.headers, OGS_SBI_ACCEPT_ENCODING, message->http.content_encoding);
View file
open5gs_2.4.11.3.c537.tar.xz/lib/sbi/message.h -> open5gs_2.4.11.4.7c872.tar.xz/lib/sbi/message.h
Changed
@@ -280,6 +280,10 @@ OGS_SBI_CUSTOM_3GPP_COMMON "Access-Scope" #define OGS_SBI_CUSTOM_ACCESS_TOKEN \ OGS_SBI_CUSTOM_3GPP_COMMON "Access-Token" +#define OGS_SBI_OPTIONAL_CUSTOM_SENDER_TIMESTAMP \ + OGS_SBI_CUSTOM_3GPP_COMMON "Sender-Timestamp" +#define OGS_SBI_OPTIONAL_CUSTOM_MAX_RSP_TIME \ + OGS_SBI_CUSTOM_3GPP_COMMON "Max-Rsp-Time" #define OGS_SBI_PARAM_TARGET_NF_TYPE "target-nf-type" #define OGS_SBI_PARAM_REQUESTER_NF_TYPE "requester-nf-type"
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.