Osmocom Serving GPRS Support Node for 2G(GPRS) and 3G(UMTS) https://osmocom.org/projects/osmosgsn
Go to file
Oliver Smith 3aba7ad2ae gtphub: remove llist_first, llist_last macros
Use list_first_entry_or_null instead of llist_first, which has been
present in libosmocore since the 0.10.0 release.

Use llist_last_entry instead of llist_last (also present since
libosmocore 0.10.0). This macro does not have a check for an empty
list, however the only user is already checking for an empty list
before using the macro.

This solves a build error, as llist_last was defined in libosmocore
Icf455bf6ba9d60bd311af17c9e80febaa42cacc9 (should probably be reverted
for backwards compatibility with previous osmo-sgsn versions?):

gtphub.c:68:0: error: "llist_last" redefined [-Werror]
 #define llist_last(head, type, entry) \

In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/timer.h:46:0,
                 from /build/deps/install/stow/osmo-ggsn/include/gtp.h:17,
                 from gtphub.c:32:
/build/deps/install/stow/libosmocore/include/osmocom/core/linuxlist.h:245:0: note: this is the location of the previous definition
 #define llist_last(head) (head)->prev

Change-Id: Ia0496c24386cd13b1e9e604aa2d425d3fa28d352
2021-07-12 12:20:52 +02:00
contrib Bump version: 1.6.0.157-b05c1-dirty → 1.7.0 2021-02-23 19:39:45 +00:00
debian Bump version: 1.6.0.157-b05c1-dirty → 1.7.0 2021-02-23 19:39:45 +00:00
doc doc/manuals: update configuration.adoc to use new command syntax 2021-07-03 21:07:43 +02:00
include add support for multiple encryption algorithms and a5/4 2021-06-16 16:43:23 +02:00
m4 move openbsc/* to repos root 2017-08-27 17:40:52 +02:00
src gtphub: remove llist_first, llist_last macros 2021-07-12 12:20:52 +02:00
tests add support for multiple encryption algorithms and a5/4 2021-06-16 16:43:23 +02:00
.gitignore gbproxy: remove (moved to own repository) 2021-02-08 11:52:53 +00:00
.gitreview .gitreview: update repo url to new location 2017-08-08 17:28:24 +02:00
.mailmap add .mailmap file for mapping git author name/mail in shortlog 2016-08-08 17:40:28 +00:00
AUTHORS move openbsc/* to repos root 2017-08-27 17:40:52 +02:00
COPYING move openbsc/* to repos root 2017-08-27 17:40:52 +02:00
Makefile.am manuals: generate vty reference xml at build time 2021-02-23 15:52:54 +01:00
README rewrite README 2017-09-06 16:47:47 +02:00
README.vty-tests Remove obsolete ./configure option 2017-12-28 13:00:51 +01:00
TODO-RELEASE Support forwarding RIM messages over GTPCv1 EUTRAN<->GERAN 2021-05-19 11:45:05 +02:00
configure.ac Bump version: 1.6.0.157-b05c1-dirty → 1.7.0 2021-02-23 19:39:45 +00:00
git-version-gen git-version-gen: Don't check for .git directory 2018-07-25 07:03:14 +00:00
osmoappdesc.py gbproxy: remove (moved to own repository) 2021-02-08 11:52:53 +00:00

README

About OsmoSGSN
==============

OsmoSGSN originated from the OpenBSC project, as a separate program within
openbsc.git. In 2017, OpenBSC was split in separate repositories, and hence
OsmoSGSN was given its own separate git repository.

OsmoSGSN exposes
- GSUP towards OsmoHLR (or a MAP proxy);
- GTP towards a GGSN (e.g. OsmoGGSN);
- Gb towards a BSS (e.g. OsmoPCU);
- IuPS towards an RNC or HNB-GW (e.g. OsmoHNBGW) for 3G data;
- The Osmocom typical telnet VTY and CTRL interfaces.

Find OsmoSGSN issue tracker and wiki online at
https://osmocom.org/projects/osmosgsn
https://osmocom.org/projects/osmosgsn/wiki