Skip to content
Success

Changes

Summary

  1. Split most of iu_client.{c,h} into sccp.{c,h} and iu_rnc.{c,h} (details)
Commit dbd2fc4f661bb44916e16da90d5b67febe7391ab by Pau Espin Pedrol
Split most of iu_client.{c,h} into sccp.{c,h} and iu_rnc.{c,h}

* iu_rnc is easily spotted as an object class in the data domain which
  can be put into its own file, handling its specific logic and data.

* SCCP code can also be moved into own specific file, which eases
  self-containment of the layer logic and data.

* As a result, lots of RANAP Rx/Tx code in iu_client.{c,h} can also be
  moved to the already existing gprs_ranap.{c,h}.

All these changes improve a lot readibility of code and makes it a lot
easier to improve/extend the different layers/objects in future patches.

Change-Id: I4c792ae665720460b5a954b5c7cbfe5acbc37473
The file was modifiedsrc/sgsn/Makefile.am
The file was modifiedsrc/sgsn/gprs_ranap.c
The file was modifiedsrc/sgsn/gprs_gmm_attach.c
The file was addedinclude/osmocom/sgsn/iu_rnc.h
The file was addedsrc/sgsn/sccp.c
The file was addedsrc/sgsn/iu_rnc.c
The file was addedinclude/osmocom/sgsn/sccp.h
The file was modifiedinclude/osmocom/sgsn/gprs_ranap.h
The file was modifiedinclude/osmocom/sgsn/Makefile.am
The file was modifiedtests/gprs_routing_area/Makefile.am
The file was modifiedinclude/osmocom/sgsn/sgsn.h
The file was modifiedsrc/sgsn/sgsn_main.c
The file was modifiedtests/sgsn/Makefile.am
The file was modifiedinclude/osmocom/sgsn/iu_client.h
The file was modifiedsrc/sgsn/iu_client.c
The file was modifiedsrc/sgsn/sgsn.c