Osmocom Serving GPRS Support Node for 2G(GPRS) and 3G(UMTS)
https://osmocom.org/projects/osmosgsn
Oliver Smith
3aba7ad2ae
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 |
||
---|---|---|
contrib | ||
debian | ||
doc | ||
include | ||
m4 | ||
src | ||
tests | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
AUTHORS | ||
COPYING | ||
Makefile.am | ||
README | ||
README.vty-tests | ||
TODO-RELEASE | ||
configure.ac | ||
git-version-gen | ||
osmoappdesc.py |
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