Osmocom Serving GPRS Support Node for 2G(GPRS) and 3G(UMTS) https://osmocom.org/projects/osmosgsn
Go to file
Pau Espin 05190c36bb Move sgsn_pdp_ctx to its own file pdpctx.{c,h}
This further shrinks the mess in gprs_sgsn.h, and allows to easily see
layer violations (like pdpctx.c requiring llc.h)

Change-Id: Iad4da06efee7d8514ff48423bdaebc0f26413cc1
2023-01-11 12:51:34 +01:00
contrib contrib/jenkins.sh: use enable-werror with IU too 2022-11-15 13:01:25 +01:00
debian Move gprs_gb_parse.[c,h] to tests/sgsn/ 2022-12-22 19:49:39 +01:00
doc osmo-gtphub.cfg: fix conflict with osmo-ggsn.cfg 2022-12-08 16:28:32 +01:00
include Move sgsn_pdp_ctx to its own file pdpctx.{c,h} 2023-01-11 12:51:34 +01:00
m4 Drop unneeded ax_check_compile_flag.m4 2022-01-11 18:13:46 +01:00
src Move sgsn_pdp_ctx to its own file pdpctx.{c,h} 2023-01-11 12:51:34 +01:00
tests Move sgsn_pdp_ctx to its own file pdpctx.{c,h} 2023-01-11 12:51:34 +01: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.md README: Major update 2022-06-20 10:16:56 +00:00
README.vty-tests update git URLs (git -> https; gitea) 2022-06-20 10:15:50 +00:00
TODO-RELEASE vty: Make new libgtp tdefs configurable through VTY 2022-11-04 14:27:30 +01:00
configure.ac configure.ac: do not require unused dlsym/dlopen 2022-08-16 23:31:22 +07: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


osmo-sgssn - Osmocom SGSN Implementation

This repository contains a C-language implementation of a GSM Serving GPRS Support Node (SGSN) for 2G (GSM) and 3G (UMTS). It is part of the Osmocom Open Source Mobile Communications project.

OsmoSGSN exposes

  • Gb towards PCUs (e.g. OsmoPCU): Various GbIP flavors + Gb/FR/E1
  • GTP towards a GGSN (e.g. OsmoGGSN);
  • IuPS over IP towards RNCs / HNBGW (e.g. osmo-hnbgw)
  • The Osmocom typical telnet VTY and CTRL interfaces.
  • The Osmocom typical statsd exporter.
  • GSUP (custom MAP-like protocol) towards osmo-hlr

OsmoSGSN implements

  • GPRS mobility management
  • GPRS session management


You can find the OsmoSGSN issue tracker and wiki online at https://osmocom.org/projects/osmosgsn and https://osmocom.org/projects/osmosgsn/wiki.

GIT Repository

You can clone from the official osmo-sgsn.git repository using

    git clone https://gitea.osmocom.org/cellular-infrastructure/osmo-sgsn

There is a web interface at https://gitea.osmocom.org/cellular-infrastructure/osmo-sgsn


User Manuals and VTY reference manuals are [optionally] built in PDF form as part of the build process.

Pre-rendered PDF version of the current "master" can be found at User Manual as well as the VTY Reference Manual

Mailing List

Discussions related to osmo-sgsn are happening on the osmocom-net-gprs@lists.osmocom.org mailing list, please see https://lists.osmocom.org/postorius/lists/osmocom-net-gprs.lists.osmocom.org/ for subscription options and the list archive.

Please observe the Osmocom Mailing List Rules when posting.


Our coding standards are described at https://osmocom.org/projects/cellular-infrastructure/wiki/Coding_standards

We us a gerrit based patch submission/review process for managing contributions. Please see https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit for more details

The current patch queue for osmo-sgsn can be seen at https://gerrit.osmocom.org/#/q/project:osmo-sgsn+status:open


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.