Projects
osmocom:nightly
osmo-upf
Log In
Username
Password
Error getting diff: tar:
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 918
View file
osmo-upf_0.2.0.6.bede7.202502172026.dsc -> osmo-upf_0.3.0.202502182026.dsc
Changed
@@ -2,20 +2,20 @@ Source: osmo-upf Binary: osmo-upf, osmo-upf-dbg, osmo-upf-doc Architecture: any all -Version: 0.2.0.6.bede7.202502172026 +Version: 0.3.0.202502182026 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/osmo-upf Standards-Version: 3.9.8 Vcs-Browser: https://gitea.osmocom.org/cellular-infrastructure/osmo-upf Vcs-Git: https://gitea.osmocom.org/cellular-infrastructure/osmo-upf -Build-Depends: debhelper (>= 10), dh-autoreconf, autotools-dev, autoconf, autoconf-archive, automake, libtool, pkg-config, python3-minimal, libtalloc-dev, libgtpnl-dev (>= 1.3.0), libnftables-dev (>= 1.0.2), libosmocore-dev (>= 1.10.0), libosmo-pfcp-dev (>= 0.4.0), osmo-gsm-manuals-dev (>= 1.2.0) +Build-Depends: debhelper (>= 10), dh-autoreconf, autotools-dev, autoconf, autoconf-archive, automake, libtool, pkg-config, python3-minimal, libtalloc-dev, libgtpnl-dev (>= 1.3.2), libnftables-dev (>= 1.0.2), libosmocore-dev (>= 1.11.0), libosmo-pfcp-dev (>= 0.5.0), osmo-gsm-manuals-dev (>= 1.6.0) Package-List: osmo-upf deb net extra arch=any osmo-upf-dbg deb debug extra arch=any osmo-upf-doc deb doc optional arch=all Checksums-Sha1: - 27631539c644859c7a89fd4d7eb288fde96659f3 77236 osmo-upf_0.2.0.6.bede7.202502172026.tar.xz + 1385fc23d2fa601e91fb6b038d36b0e0ff283478 77404 osmo-upf_0.3.0.202502182026.tar.xz Checksums-Sha256: - 21812ddb105d96d6abf9a426125039558c4ac66cb9bc9cc6365c08548196a9e7 77236 osmo-upf_0.2.0.6.bede7.202502172026.tar.xz + f7c39b5612fa8d121ca95a2c73084c6fcdd6122ddc7e0bff13e54d6776d9166b 77404 osmo-upf_0.3.0.202502182026.tar.xz Files: - db70aa9cb457f565c51a74fe19e5e6ea 77236 osmo-upf_0.2.0.6.bede7.202502172026.tar.xz + cb52dcd2b8a3c0cf98c1d2a25158850d 77404 osmo-upf_0.3.0.202502182026.tar.xz
View file
osmo-upf_0.2.0.6.bede7.202502172026.tar.xz/.tarball-version -> osmo-upf_0.3.0.202502182026.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -0.2.0.6-bede7.202502172026 +0.3.0.202502182026
View file
osmo-upf_0.2.0.6.bede7.202502172026.tar.xz/configure.ac -> osmo-upf_0.3.0.202502182026.tar.xz/configure.ac
Changed
@@ -36,11 +36,11 @@ PKG_PROG_PKG_CONFIG(0.20) dnl checks for libraries -PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.10.0) -PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.10.0) -PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.10.0) -PKG_CHECK_MODULES(LIBOSMOPFCP, libosmo-pfcp >= 0.4.0) -PKG_CHECK_MODULES(LIBGTPNL, libgtpnl >= 1.3.0) +PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.11.0) +PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.11.0) +PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.11.0) +PKG_CHECK_MODULES(LIBOSMOPFCP, libosmo-pfcp >= 0.5.0) +PKG_CHECK_MODULES(LIBGTPNL, libgtpnl >= 1.3.2) PKG_CHECK_MODULES(LIBNFTABLES, libnftables >= 1.0.2) dnl checks for header files
View file
osmo-upf_0.2.0.6.bede7.202502172026.tar.xz/debian/changelog -> osmo-upf_0.3.0.202502182026.tar.xz/debian/changelog
Changed
@@ -1,8 +1,23 @@ -osmo-upf (0.2.0.6.bede7.202502172026) unstable; urgency=medium +osmo-upf (0.3.0.202502182026) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Mon, 17 Feb 2025 20:27:18 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Tue, 18 Feb 2025 20:27:19 +0000 + +osmo-upf (0.3.0) unstable; urgency=medium + + Oliver Smith + * upf_gtp: automatically delete old gtp devices + + Pau Espin Pedrol + * Improve logging reading packets from gtp device + * Remove unused file up_session_to_gtp.c + * Simplify up_session_choose_f_teid() with early returns + * Introduce hashtable to lookup session by F-TEID + * Introduce hashtable to lookup chain_id + * Introduce hashtable to look up gtp_tundev by local TEID + + -- Oliver Smith <osmith@sysmocom.de> Tue, 18 Feb 2025 12:20:35 +0100 osmo-upf (0.2.0) unstable; urgency=medium
View file
osmo-upf_0.2.0.6.bede7.202502172026.tar.xz/debian/control -> osmo-upf_0.3.0.202502182026.tar.xz/debian/control
Changed
@@ -12,11 +12,11 @@ pkg-config, python3-minimal, libtalloc-dev, - libgtpnl-dev (>= 1.3.0), + libgtpnl-dev (>= 1.3.2), libnftables-dev (>= 1.0.2), - libosmocore-dev (>= 1.10.0), - libosmo-pfcp-dev (>= 0.4.0), - osmo-gsm-manuals-dev (>= 1.2.0) + libosmocore-dev (>= 1.11.0), + libosmo-pfcp-dev (>= 0.5.0), + osmo-gsm-manuals-dev (>= 1.6.0) Standards-Version: 3.9.8 Vcs-Git: https://gitea.osmocom.org/cellular-infrastructure/osmo-upf Vcs-Browser: https://gitea.osmocom.org/cellular-infrastructure/osmo-upf @@ -25,21 +25,21 @@ Package: osmo-upf Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202502172026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202502182026), ${misc:Depends}, ${shlibs:Depends} Description: OsmoUPF: Osmocom User Plane Function Package: osmo-upf-dbg Section: debug Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 202502172026), osmo-upf (= ${binary:Version}), ${misc:Depends} +Depends: osmocom-nightly (= 202502182026), osmo-upf (= ${binary:Version}), ${misc:Depends} Description: OsmoUPF: Osmocom User Plane Function Package: osmo-upf-doc Architecture: all Section: doc Priority: optional -Depends: osmocom-nightly (= 202502172026), ${misc:Depends} +Depends: osmocom-nightly (= 202502182026), ${misc:Depends} Description: ${misc:Package} PDF documentation Various manuals: user manual, VTY reference manual and/or protocol/interface manuals.
View file
osmo-upf_0.2.0.6.bede7.202502172026.tar.xz/include/osmocom/upf/upf_gtp.h -> osmo-upf_0.3.0.202502182026.tar.xz/include/osmocom/upf/upf_gtp.h
Changed
@@ -24,6 +24,7 @@ #pragma once #include <osmocom/core/linuxlist.h> +#include <osmocom/core/hashtable.h> #include <osmocom/core/select.h> #include <osmocom/core/logging.h> @@ -55,6 +56,8 @@ /* list of struct upf_gtp_tunend */ struct llist_head tunnels; + /* hashtable of (struct upf_gtp_tunen) with key desc.access.local.teid */ + DECLARE_HASHTABLE(tunnels_by_local_f_teid, 10); }; /* Description of a GTP encapsulation / decapsulation.
View file
osmo-upf_0.2.0.6.bede7.202502172026.tar.xz/src/osmo-upf/upf_gtp.c -> osmo-upf_0.3.0.202502182026.tar.xz/src/osmo-upf/upf_gtp.c
Changed
@@ -134,6 +134,7 @@ .gtpv1.ofd.fd = -1, }; INIT_LLIST_HEAD(&dev->tunnels); + hash_init(dev->tunnels_by_local_f_teid); osmo_sockaddr_str_from_str(&addr_conv, local_addr, PORT_GTP0_U); @@ -318,7 +319,8 @@ } struct upf_gtp_tunend { - struct llist_head entry; + struct llist_head entry; /* item in (struct upf_gtp_dev)->tunnels */ + struct hlist_node node_by_local_f_teid; /* item in g_upf->gtp.pdrs_by_local_f_teid */ struct upf_gtp_dev *dev; struct upf_tunend desc; @@ -349,6 +351,7 @@ { if (tun->active) upf_gtp_tunend_deactivate(tun); + hash_del(&tun->node_by_local_f_teid); llist_del(&tun->entry); return 0; } @@ -369,6 +372,7 @@ .dev = dev, .desc = *desc, }; + hash_add(dev->tunnels_by_local_f_teid, &tun->node_by_local_f_teid, tun->desc.access.local.teid); llist_add(&tun->entry, &dev->tunnels); talloc_set_destructor(tun, upf_gtp_tunend_destruct); return tun; @@ -425,7 +429,8 @@ { struct upf_gtp_tunend *tun; tunend_validate(tunend); - llist_for_each_entry(tun, &dev->tunnels, entry) { + + hash_for_each_possible(dev->tunnels_by_local_f_teid, tun, node_by_local_f_teid, tunend->access.local.teid) { if (upf_gtp_tunend_cmp(tunend, &tun->desc)) continue; return tun;
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
.