Projects
osmocom:nightly
osmo-upf
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 93
View file
osmo-upf.spec
Changed
@@ -17,14 +17,14 @@ %define _lto_cflags %{nil} Name: osmo-upf -Requires: osmocom-nightly = 202211190002 -Version: 0.1.1.17.527f.202211190002 +Requires: osmocom-nightly = 202211200002 +Version: 0.1.1.20.2818.202211200002 Release: 0 Summary: OsmoUPF: Osmocom User Plane Function License: AGPL-3.0-or-later AND GPL-2.0-or-later Group: Hardware/Mobile URL: https://osmocom.org/projects/osmo-upf -Source: osmo-upf_0.1.1.17.527f.202211190002.tar.xz +Source: osmo-upf_0.1.1.20.2818.202211200002.tar.xz Source1: rpmlintrc BuildRequires: autoconf-archive BuildRequires: automake >= 1.9
View file
osmo-upf_0.1.1.17.527f.202211190002.dsc -> osmo-upf_0.1.1.20.2818.202211200002.dsc
Changed
@@ -2,7 +2,7 @@ Source: osmo-upf Binary: osmo-upf, osmo-upf-dbg, osmo-upf-doc Architecture: any all -Version: 0.1.1.17.527f.202211190002 +Version: 0.1.1.20.2818.202211200002 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/osmo-upf Standards-Version: 3.9.8 @@ -14,8 +14,8 @@ osmo-upf-dbg deb debug extra arch=any osmo-upf-doc deb doc optional arch=all Checksums-Sha1: - 09dad04653d141511a250292d939f2c095c133c7 61516 osmo-upf_0.1.1.17.527f.202211190002.tar.xz + 67ec6fed1fb65077d43c2b0b607cae0a8cbea22c 61504 osmo-upf_0.1.1.20.2818.202211200002.tar.xz Checksums-Sha256: - d2b4ca4d59ba43d32f1f3ab868ba765e7dcee0b699ef2be625b877692abbc008 61516 osmo-upf_0.1.1.17.527f.202211190002.tar.xz + b6180d38065fdb26a2b203c25a71b804d3343de6bd60d54193ea5adcc0b95bb8 61504 osmo-upf_0.1.1.20.2818.202211200002.tar.xz Files: - 6c02954c0eb8fbfa8da493ef2a450443 61516 osmo-upf_0.1.1.17.527f.202211190002.tar.xz + 1100b7754bd26aaf2a779d5e2db60a9f 61504 osmo-upf_0.1.1.20.2818.202211200002.tar.xz
View file
osmo-upf_0.1.1.17.527f.202211190002.tar.xz/.tarball-version -> osmo-upf_0.1.1.20.2818.202211200002.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -0.1.1.17-527f.202211190002 +0.1.1.20-2818.202211200002
View file
osmo-upf_0.1.1.17.527f.202211190002.tar.xz/contrib/osmo-upf.spec.in -> osmo-upf_0.1.1.20.2818.202211200002.tar.xz/contrib/osmo-upf.spec.in
Changed
@@ -17,7 +17,7 @@ %define _lto_cflags %{nil} Name: osmo-upf -Requires: osmocom-nightly = 202211190002 +Requires: osmocom-nightly = 202211200002 Version: @VERSION@ Release: 0 Summary: OsmoUPF: Osmocom User Plane Function
View file
osmo-upf_0.1.1.17.527f.202211190002.tar.xz/debian/changelog -> osmo-upf_0.1.1.20.2818.202211200002.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-upf (0.1.1.17.527f.202211190002) unstable; urgency=medium +osmo-upf (0.1.1.20.2818.202211200002) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Sat, 19 Nov 2022 00:03:56 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Sun, 20 Nov 2022 00:03:53 +0000 osmo-upf (0.1.1) unstable; urgency=medium
View file
osmo-upf_0.1.1.17.527f.202211190002.tar.xz/debian/control -> osmo-upf_0.1.1.20.2818.202211200002.tar.xz/debian/control
Changed
@@ -25,21 +25,21 @@ Package: osmo-upf Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202211190002), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202211200002), ${misc:Depends}, ${shlibs:Depends} Description: OsmoUPF: Osmocom User Plane Function Package: osmo-upf-dbg Section: debug Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 202211190002), osmo-upf (= ${binary:Version}), ${misc:Depends} +Depends: osmocom-nightly (= 202211200002), 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 (= 202211190002), ${misc:Depends} +Depends: osmocom-nightly (= 202211200002), ${misc:Depends} Description: ${misc:Package} PDF documentation Various manuals: user manual, VTY reference manual and/or protocol/interface manuals.
View file
osmo-upf_0.1.1.17.527f.202211190002.tar.xz/include/osmocom/upf/up_gtp_action.h -> osmo-upf_0.1.1.20.2818.202211200002.tar.xz/include/osmocom/upf/up_gtp_action.h
Changed
@@ -54,7 +54,7 @@ enum up_gtp_action_kind kind; union { /* En-/De-capsulate GTP: add/remove a GTP header and forward the GTP payload from/to plain IP. */ - struct upf_gtp_tun_desc tunend; + struct upf_gtp_tunend_desc tunend; /* Tunnel-map GTP: translate from one TEID to another and forward */ struct upf_nft_tunmap_desc tunmap;
View file
osmo-upf_0.1.1.17.527f.202211190002.tar.xz/include/osmocom/upf/upf_gtp.h -> osmo-upf_0.1.1.20.2818.202211200002.tar.xz/include/osmocom/upf/upf_gtp.h
Changed
@@ -60,14 +60,14 @@ struct llist_head tunnels; }; -struct upf_gtp_tun_desc { +struct upf_gtp_tunend_desc { uint32_t local_teid; uint32_t remote_teid; struct osmo_sockaddr ue_addr; struct osmo_sockaddr gtp_remote_addr; }; -int upf_gtp_tun_desc_cmp(const struct upf_gtp_tun_desc *a, const struct upf_gtp_tun_desc *b); +int upf_gtp_tunend_desc_cmp(const struct upf_gtp_tunend_desc *a, const struct upf_gtp_tunend_desc *b); int upf_gtp_genl_ensure_open(); void upf_gtp_genl_close(); @@ -77,9 +77,8 @@ struct upf_gtp_dev *upf_gtp_dev_find_by_name(const char *name); struct upf_gtp_dev *upf_gtp_dev_first(); -int upf_gtp_dev_tunnel_add(struct upf_gtp_dev *dev, const struct upf_gtp_tun_desc *t); -bool upf_gtp_dev_is_tunnel_active(struct upf_gtp_dev *dev, const struct upf_gtp_tun_desc *t); -int upf_gtp_dev_tunnel_del(struct upf_gtp_dev *dev, const struct upf_gtp_tun_desc *t); +int upf_gtp_dev_tunend_add(struct upf_gtp_dev *dev, const struct upf_gtp_tunend_desc *t); +int upf_gtp_dev_tunend_del(struct upf_gtp_dev *dev, const struct upf_gtp_tunend_desc *t); int upf_gtp_dev_to_str_buf(char *buf, size_t buflen, const struct upf_gtp_dev *dev); char *upf_gtp_dev_to_str_c(void *ctx, const struct upf_gtp_dev *dev);
View file
osmo-upf_0.1.1.17.527f.202211190002.tar.xz/src/osmo-upf/up_gtp_action.c -> osmo-upf_0.1.1.20.2818.202211200002.tar.xz/src/osmo-upf/up_gtp_action.c
Changed
@@ -99,9 +99,9 @@ } if (enable) - rc = upf_gtp_dev_tunnel_add(gtp_dev, &a->tunend); + rc = upf_gtp_dev_tunend_add(gtp_dev, &a->tunend); else - rc = upf_gtp_dev_tunnel_del(gtp_dev, &a->tunend); + rc = upf_gtp_dev_tunend_del(gtp_dev, &a->tunend); if (rc) { LOG_UP_GTP_ACTION(a, LOGL_ERROR, "Failed to %s GTP tunnel: %d %s\n", enable ? "enable" : "disable", rc, strerror(-rc));
View file
osmo-upf_0.1.1.17.527f.202211190002.tar.xz/src/osmo-upf/upf_gtp.c -> osmo-upf_0.1.1.20.2818.202211200002.tar.xz/src/osmo-upf/upf_gtp.c
Changed
@@ -39,7 +39,7 @@ #include <osmocom/upf/upf_gtpu_echo.h> #define LOG_GTP_TUN(TUN, LEVEL, FMT, ARGS...) \ - LOGP(DGTP, LEVEL, "%s: " FMT, upf_gtp_tun_to_str_c(OTC_SELECT, (TUN)), ##ARGS) + LOGP(DGTP, LEVEL, "%s: " FMT, upf_gtp_tunend_to_str_c(OTC_SELECT, (TUN)), ##ARGS) int upf_gtp_dev_to_str_buf(char *buf, size_t buflen, const struct upf_gtp_dev *dev) { @@ -287,15 +287,15 @@ return 0; } -struct upf_gtp_tun { +struct upf_gtp_tunend { struct llist_head entry; struct upf_gtp_dev *dev; - struct upf_gtp_tun_desc desc; + struct upf_gtp_tunend_desc desc; bool active; }; -static int upf_gtp_tun_to_str_buf(char *buf, size_t buflen, const struct upf_gtp_tun *tun) +static int upf_gtp_tunend_to_str_buf(char *buf, size_t buflen, const struct upf_gtp_tunend *tun) { struct osmo_strbuf sb = { .buf = buf, .len = buflen }; OSMO_STRBUF_PRINTF(sb, "%s:tun{TEID=l:0x%x,r:0x%x UE=", tun->dev->name, tun->desc.local_teid, @@ -307,35 +307,35 @@ return sb.chars_needed; } -static char *upf_gtp_tun_to_str_c(void *ctx, const struct upf_gtp_tun *tun) +static char *upf_gtp_tunend_to_str_c(void *ctx, const struct upf_gtp_tunend *tun) { - OSMO_NAME_C_IMPL(ctx, 64, "ERROR", upf_gtp_tun_to_str_buf, tun) + OSMO_NAME_C_IMPL(ctx, 64, "ERROR", upf_gtp_tunend_to_str_buf, tun) } -static int upf_gtp_tun_deactivate(struct upf_gtp_tun *tun); +static int upf_gtp_tunend_deactivate(struct upf_gtp_tunend *tun); -static int upf_gtp_tun_destruct(struct upf_gtp_tun *tun) +static int upf_gtp_tunend_destruct(struct upf_gtp_tunend *tun) { if (tun->active) - upf_gtp_tun_deactivate(tun); + upf_gtp_tunend_deactivate(tun); llist_del(&tun->entry); return 0; } -static struct upf_gtp_tun *upf_gtp_tun_alloc(struct upf_gtp_dev *dev, const struct upf_gtp_tun_desc *desc) +static struct upf_gtp_tunend *upf_gtp_tunend_alloc(struct upf_gtp_dev *dev, const struct upf_gtp_tunend_desc *desc) { - struct upf_gtp_tun *tun = talloc(dev, struct upf_gtp_tun); + struct upf_gtp_tunend *tun = talloc(dev, struct upf_gtp_tunend); OSMO_ASSERT(tun); - *tun = (struct upf_gtp_tun){ + *tun = (struct upf_gtp_tunend){ .dev = dev, .desc = *desc, }; llist_add(&tun->entry, &dev->tunnels); - talloc_set_destructor(tun, upf_gtp_tun_destruct); + talloc_set_destructor(tun, upf_gtp_tunend_destruct); return tun; } -static struct gtp_tunnel *upf_gtp_tun_to_gtp_tunnel(struct upf_gtp_tun *tun) +static struct gtp_tunnel *upf_gtp_tunend_to_gtp_tunnel(struct upf_gtp_tunend *tun) { struct gtp_tunnel *t; @@ -355,7 +355,7 @@ return t; } -int upf_gtp_tun_activate(struct upf_gtp_tun *tun) +int upf_gtp_tunend_activate(struct upf_gtp_tunend *tun) { int rc; struct gtp_tunnel *t; @@ -363,7 +363,7 @@ if (tun->active) return -EALREADY; - t = upf_gtp_tun_to_gtp_tunnel(tun); + t = upf_gtp_tunend_to_gtp_tunnel(tun); if (!t) return -ENOTSUP; @@ -381,37 +381,37 @@ return rc; } -static struct upf_gtp_tun *upf_gtp_dev_tunnel_find(struct upf_gtp_dev *dev, const struct upf_gtp_tun_desc *tun_desc) +static struct upf_gtp_tunend *upf_gtp_dev_tunend_find(struct upf_gtp_dev *dev, const struct upf_gtp_tunend_desc *tun_desc) { - struct upf_gtp_tun *tun; + struct upf_gtp_tunend *tun; llist_for_each_entry(tun, &dev->tunnels, entry) { - if (upf_gtp_tun_desc_cmp(tun_desc, &tun->desc)) + if (upf_gtp_tunend_desc_cmp(tun_desc, &tun->desc)) continue; return tun; } return NULL; } -int upf_gtp_dev_tunnel_add(struct upf_gtp_dev *dev, const struct upf_gtp_tun_desc *tun_desc) +int upf_gtp_dev_tunend_add(struct upf_gtp_dev *dev, const struct upf_gtp_tunend_desc *tun_desc) { - struct upf_gtp_tun *tun; - tun = upf_gtp_dev_tunnel_find(dev, tun_desc); + struct upf_gtp_tunend *tun; + tun = upf_gtp_dev_tunend_find(dev, tun_desc); if (!tun) - tun = upf_gtp_tun_alloc(dev, tun_desc); + tun = upf_gtp_tunend_alloc(dev, tun_desc); if (tun->active) return 0; - return upf_gtp_tun_activate(tun); + return upf_gtp_tunend_activate(tun); } -int upf_gtp_dev_tunnel_del(struct upf_gtp_dev *dev, const struct upf_gtp_tun_desc *tun_desc) +int upf_gtp_dev_tunend_del(struct upf_gtp_dev *dev, const struct upf_gtp_tunend_desc *tun_desc) { - struct upf_gtp_tun *tun; + struct upf_gtp_tunend *tun; int rc; - tun = upf_gtp_dev_tunnel_find(dev, tun_desc); + tun = upf_gtp_dev_tunend_find(dev, tun_desc); if (!tun) return 0; if (tun->active) { - rc = upf_gtp_tun_deactivate(tun); + rc = upf_gtp_tunend_deactivate(tun); if (rc) return rc; } @@ -419,7 +419,7 @@ return 0; } -static int upf_gtp_tun_deactivate(struct upf_gtp_tun *tun) +static int upf_gtp_tunend_deactivate(struct upf_gtp_tunend *tun) { int rc; struct gtp_tunnel *t; @@ -429,7 +429,7 @@ return -EINVAL; } - t = upf_gtp_tun_to_gtp_tunnel(tun); + t = upf_gtp_tunend_to_gtp_tunnel(tun); if (!t) return -EINVAL; @@ -445,9 +445,9 @@ static int upf_gtp_dev_destruct(struct upf_gtp_dev *dev) { - struct upf_gtp_tun *t; + struct upf_gtp_tunend *t; /* Destruct and clean up all active tunnels before deleting the device */ - while ((t = llist_first_entry_or_null(&dev->tunnels, struct upf_gtp_tun, entry))) + while ((t = llist_first_entry_or_null(&dev->tunnels, struct upf_gtp_tunend, entry))) talloc_free(t); llist_del(&dev->entry); /* osmo_fd_close() is a noop if ofd.fd == -1 */ @@ -458,7 +458,7 @@ return 0; } -int upf_gtp_tun_desc_cmp(const struct upf_gtp_tun_desc *a, const struct upf_gtp_tun_desc *b) +int upf_gtp_tunend_desc_cmp(const struct upf_gtp_tunend_desc *a, const struct upf_gtp_tunend_desc *b) { int r;
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
.