mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-cbc.git
				synced 2025-11-04 06:03:35 +00:00 
			
		
		
		
	Compare commits
	
		
			143 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					637874eaf9 | ||
| 
						 | 
					f6a2a6ba4f | ||
| 
						 | 
					bd50b41eeb | ||
| 
						 | 
					f18c9d6f9c | ||
| 
						 | 
					9fad2713c3 | ||
| 
						 | 
					b3743e9603 | ||
| 
						 | 
					538bc4c699 | ||
| 
						 | 
					da8b98cf88 | ||
| 
						 | 
					36a7759e39 | ||
| 
						 | 
					7ae4b6d61f | ||
| 
						 | 
					311673c365 | ||
| 
						 | 
					7fbd6aa472 | ||
| 
						 | 
					66221e60d6 | ||
| 
						 | 
					0422a10253 | ||
| 
						 | 
					292b2e895b | ||
| 
						 | 
					a7aca0333b | ||
| 
						 | 
					d04fe38e73 | ||
| 
						 | 
					eb82cbc249 | ||
| 
						 | 
					43439c785f | ||
| 
						 | 
					1d9d13ce6b | ||
| 
						 | 
					6e64d1079f | ||
| 
						 | 
					d5ea7f765e | ||
| 
						 | 
					8d70759ab7 | ||
| 
						 | 
					8f15c2c23d | ||
| 
						 | 
					d5c0b73f00 | ||
| 
						 | 
					65d3c505b7 | ||
| 
						 | 
					13152304f7 | ||
| 
						 | 
					40a6158e41 | ||
| 
						 | 
					d78f13c89a | ||
| 
						 | 
					28d3a53dc5 | ||
| 
						 | 
					caba7fc493 | ||
| 
						 | 
					cb4e11f984 | ||
| 
						 | 
					a76d15048d | ||
| 
						 | 
					20705a0877 | ||
| 
						 | 
					041ae3246d | ||
| 
						 | 
					e86af042fd | ||
| 
						 | 
					0b8a08b698 | ||
| 
						 | 
					d24c3dfba0 | ||
| 
						 | 
					c190939f0c | ||
| 
						 | 
					cb99991127 | ||
| 
						 | 
					e6e878a2fc | ||
| 
						 | 
					d8a537aca8 | ||
| 
						 | 
					4a9d22e5a0 | ||
| 
						 | 
					1429377005 | ||
| 
						 | 
					bc21b3ae81 | ||
| 
						 | 
					ab8b8402a4 | ||
| 
						 | 
					e416069cf6 | ||
| 
						 | 
					e67faef4ec | ||
| 
						 | 
					745a2d6600 | ||
| 
						 | 
					b093e6708d | ||
| 
						 | 
					66625de21c | ||
| 
						 | 
					6db8c13fea | ||
| 
						 | 
					3f9d78e2a3 | ||
| 
						 | 
					692243baf5 | ||
| 
						 | 
					9ce5d4bad7 | ||
| 
						 | 
					7beca6fda0 | ||
| 
						 | 
					4dd20eec56 | ||
| 
						 | 
					9144fd1fd8 | ||
| 
						 | 
					3c804efcc6 | ||
| 
						 | 
					5ae411980b | ||
| 
						 | 
					93a588ba60 | ||
| 
						 | 
					56d1ef3b52 | ||
| 
						 | 
					3ef5020007 | ||
| 
						 | 
					5044524f01 | ||
| 
						 | 
					3468e90ab3 | ||
| 
						 | 
					028b48b967 | ||
| 
						 | 
					01338add1d | ||
| 
						 | 
					a97e166ee7 | ||
| 
						 | 
					5661cef889 | ||
| 
						 | 
					d462e452e1 | ||
| 
						 | 
					b05a9a6615 | ||
| 
						 | 
					54f50a4857 | ||
| 
						 | 
					7a8a388edf | ||
| 
						 | 
					bc606f8ea1 | ||
| 
						 | 
					b4f7404b6c | ||
| 
						 | 
					678a9cb385 | ||
| 
						 | 
					85bc27d394 | ||
| 
						 | 
					053018abeb | ||
| 
						 | 
					351b2c8c2b | ||
| 
						 | 
					907c4013c4 | ||
| 
						 | 
					5f6dfe77d4 | ||
| 
						 | 
					d3be026b93 | ||
| 
						 | 
					0f17a212d1 | ||
| 
						 | 
					782d431068 | ||
| 
						 | 
					881d5bab4b | ||
| 
						 | 
					36be606dd4 | ||
| 
						 | 
					28ccced217 | ||
| 
						 | 
					a346b88b42 | ||
| 
						 | 
					f9d73a1cc1 | ||
| 
						 | 
					1486ac0191 | ||
| 
						 | 
					f4741401e2 | ||
| 
						 | 
					f955099737 | ||
| 
						 | 
					5c39ea182d | ||
| 
						 | 
					3f7eb33673 | ||
| 
						 | 
					bd20466a2e | ||
| 
						 | 
					dcf9014f1d | ||
| 
						 | 
					75f3c1da5a | ||
| 
						 | 
					3df34be9ce | ||
| 
						 | 
					384cff745e | ||
| 
						 | 
					c47c6a9e2e | ||
| 
						 | 
					6e59534d6b | ||
| 
						 | 
					ac2f4037bc | ||
| 
						 | 
					3f0839d1cb | ||
| 
						 | 
					88613b7d44 | ||
| 
						 | 
					3c846a7f36 | ||
| 
						 | 
					ca432adbcb | ||
| 
						 | 
					4b8175d189 | ||
| 
						 | 
					98d5b6143a | ||
| 
						 | 
					4b19583188 | ||
| 
						 | 
					cc599727c7 | ||
| 
						 | 
					a12affbc0f | ||
| 
						 | 
					2eb9c116d9 | ||
| 
						 | 
					8dc5648176 | ||
| 
						 | 
					18f144662e | ||
| 
						 | 
					9f2a1e3013 | ||
| 
						 | 
					b38bc5cb38 | ||
| 
						 | 
					b1ab55d887 | ||
| 
						 | 
					14b862099e | ||
| 
						 | 
					61f2f7123c | ||
| 
						 | 
					aeea8b1145 | ||
| 
						 | 
					5b25874c2b | ||
| 
						 | 
					b3ee9ca764 | ||
| 
						 | 
					6c7d06a50a | ||
| 
						 | 
					9514e3e4ba | ||
| 
						 | 
					fb6f123daf | ||
| 
						 | 
					2029fbaf6a | ||
| 
						 | 
					8b12076f97 | ||
| 
						 | 
					4db977919c | ||
| 
						 | 
					a7a5270814 | ||
| 
						 | 
					f492acf37f | ||
| 
						 | 
					6e3f0abd89 | ||
| 
						 | 
					cfb35a8c5b | ||
| 
						 | 
					78f4cc85a4 | ||
| 
						 | 
					cf3c47d6bc | ||
| 
						 | 
					35b230f2bf | ||
| 
						 | 
					88b5f3bb04 | ||
| 
						 | 
					3ae1a77bbc | ||
| 
						 | 
					1c3cfd2ccc | ||
| 
						 | 
					13385443a3 | ||
| 
						 | 
					493845d8e4 | ||
| 
						 | 
					d6a3728bce | ||
| 
						 | 
					e8ab2f3148 | ||
| 
						 | 
					e74594b247 | 
							
								
								
									
										2
									
								
								.checkpatch.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								.checkpatch.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
--exclude ^src/sbcap/(skel|gen)/.*\.(c|h)$
 | 
			
		||||
--exclude ^src/sbcap/.*\.asn$
 | 
			
		||||
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -20,6 +20,7 @@ depcomp
 | 
			
		||||
install-sh
 | 
			
		||||
missing
 | 
			
		||||
stamp-h1
 | 
			
		||||
configure~
 | 
			
		||||
 | 
			
		||||
# libtool
 | 
			
		||||
ltmain.sh
 | 
			
		||||
@@ -60,3 +61,4 @@ doc/manuals/build
 | 
			
		||||
doc/manuals/vty/cbc_vty_reference.xml
 | 
			
		||||
 | 
			
		||||
contrib/osmo-cbc.spec
 | 
			
		||||
libosmo-sbcap.pc
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								.gitreview
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								.gitreview
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
[gerrit]
 | 
			
		||||
host=gerrit.osmocom.org
 | 
			
		||||
project=osmo-cbc
 | 
			
		||||
 | 
			
		||||
@@ -1,12 +1,17 @@
 | 
			
		||||
AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
 | 
			
		||||
 | 
			
		||||
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include
 | 
			
		||||
SUBDIRS = src doc contrib tests
 | 
			
		||||
SUBDIRS = include src doc contrib tests
 | 
			
		||||
 | 
			
		||||
pkgconfigdir = $(libdir)/pkgconfig
 | 
			
		||||
pkgconfig_DATA = \
 | 
			
		||||
	libosmo-sbcap.pc \
 | 
			
		||||
	$(NULL)
 | 
			
		||||
 | 
			
		||||
EXTRA_DIST = .version \
 | 
			
		||||
	README.md \
 | 
			
		||||
	git-version-gen \
 | 
			
		||||
	contrib/osmo-cbc.spec.in \
 | 
			
		||||
	debian \
 | 
			
		||||
	cbc.schema.json \
 | 
			
		||||
	smscb.schema.json \
 | 
			
		||||
	$(NULL)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										33
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										33
									
								
								README.md
									
									
									
									
									
								
							@@ -28,9 +28,9 @@ GIT Repository
 | 
			
		||||
 | 
			
		||||
You can clone from the official osmo-cbc.git repository using
 | 
			
		||||
 | 
			
		||||
	git clone https://git.osmocom.org/osmo-cbc.git
 | 
			
		||||
	git clone https://gitea.osmocom.org/cellular-infrastructure/osmo-cbc
 | 
			
		||||
 | 
			
		||||
There is a cgit interface at https://git.osmocom.org/osmo-cbc/
 | 
			
		||||
There is a web interface at <https://gitea.osmocom.org/cellular-infrastructure/osmo-cbc>
 | 
			
		||||
 | 
			
		||||
Documentation
 | 
			
		||||
-------------
 | 
			
		||||
@@ -60,10 +60,37 @@ Contributing
 | 
			
		||||
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
 | 
			
		||||
We use 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-cbc can be seen at
 | 
			
		||||
https://gerrit.osmocom.org/#/q/project:osmo-cbc+status:open
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Generating asn1c code
 | 
			
		||||
---------------------
 | 
			
		||||
 | 
			
		||||
Upstream master as1nc from [vlm](https://github.com/vlm/asn1c) [doesn't support
 | 
			
		||||
APER encoding](https://github.com/vlm/asn1c/issues/452). Nevertheless, the
 | 
			
		||||
upstream fork maintained by a big contributor
 | 
			
		||||
[mouse07410](https://github.com/mouse07410/asn1c) does support it, and it is
 | 
			
		||||
used in osmo-cbc to generate the SBc-AP code from ASN.1 files present in
 | 
			
		||||
src/sbcap/asn1/.
 | 
			
		||||
 | 
			
		||||
In order to regenerate the code, one shall adjust the ASN1C_SKELETON_PATH and
 | 
			
		||||
ASN1C_BIN_PATH in configure.ac to point to the built & installed asn1c from
 | 
			
		||||
mouse07410 (usually `vlm_master` branch). Last generated code was built using
 | 
			
		||||
commit hash 08b293e8aa342d465d26805d1d66f3595b2ce261.
 | 
			
		||||
 | 
			
		||||
Then, do the usual `autoreconf -fi && ./configure`, using a buildir != srcdir
 | 
			
		||||
(important, in order to avoid ending up with tempotary files in srcdir and
 | 
			
		||||
making it difficult to stash the relevant changes).
 | 
			
		||||
 | 
			
		||||
Finally, run `make -C src/ regen`, which will regenerate the files and copy over
 | 
			
		||||
the skeletons, with git possibily showing changes in the following paths:
 | 
			
		||||
- include/osmocom/sbcap/
 | 
			
		||||
- src/sbcap/gen/
 | 
			
		||||
- src/sbcap/skel/
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										9
									
								
								TODO-RELEASE
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								TODO-RELEASE
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
# When cleaning up this file: bump API version in corresponding Makefile.am and rename corresponding debian/lib*.install
 | 
			
		||||
# according to https://osmocom.org/projects/cellular-infrastructure/wiki/Make_a_new_release
 | 
			
		||||
# In short: https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info
 | 
			
		||||
# LIBVERSION=c:r:a
 | 
			
		||||
# If the library source code has changed at all since the last update, then increment revision: c:r + 1:a.
 | 
			
		||||
# If any interfaces have been added, removed, or changed since the last update: c + 1:0:a.
 | 
			
		||||
# If any interfaces have been added since the last public release: c:r:a + 1.
 | 
			
		||||
# If any interfaces have been removed or changed since the last public release: c:r:0.
 | 
			
		||||
#library	what			description / commit summary line
 | 
			
		||||
@@ -42,7 +42,7 @@
 | 
			
		||||
				"num_of_bcast": { "$ref": "#/definitions/number_of_broadcasts" },
 | 
			
		||||
				"scope": { "$ref": "#/definitions/scope" },
 | 
			
		||||
				"warning_period_sec": { "$ref": "#/definitions/warning_period_sec" },
 | 
			
		||||
				"smscb": { "$ref": "smscb.schema.json#definitions/smscb_message" }
 | 
			
		||||
				"smscb_message": { "$ref": "smscb.schema.json#definitions/smscb_message" }
 | 
			
		||||
			},
 | 
			
		||||
			"required": [ "scope", "smscb" }
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										43
									
								
								configure.ac
									
									
									
									
									
								
							
							
						
						
									
										43
									
								
								configure.ac
									
									
									
									
									
								
							@@ -6,9 +6,11 @@ AC_INIT([osmo-cbc],
 | 
			
		||||
dnl *This* is the root dir, even if an install-sh exists in ../ or ../../
 | 
			
		||||
AC_CONFIG_AUX_DIR([.])
 | 
			
		||||
 | 
			
		||||
AM_INIT_AUTOMAKE([dist-bzip2])
 | 
			
		||||
AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects])
 | 
			
		||||
AC_CONFIG_TESTDIR(tests)
 | 
			
		||||
 | 
			
		||||
CFLAGS="$CFLAGS -std=gnu11"
 | 
			
		||||
 | 
			
		||||
dnl kernel style compile messages
 | 
			
		||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 | 
			
		||||
 | 
			
		||||
@@ -29,14 +31,35 @@ if test "x$PKG_CONFIG_INSTALLED" = "xno"; then
 | 
			
		||||
fi
 | 
			
		||||
PKG_PROG_PKG_CONFIG([0.20])
 | 
			
		||||
 | 
			
		||||
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.0.0)
 | 
			
		||||
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.0.0)
 | 
			
		||||
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.0.0)
 | 
			
		||||
PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.4.0)
 | 
			
		||||
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.10.0)
 | 
			
		||||
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.10.0)
 | 
			
		||||
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.10.0)
 | 
			
		||||
PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 1.5.0)
 | 
			
		||||
PKG_CHECK_MODULES(ULFIUS, libulfius)
 | 
			
		||||
PKG_CHECK_MODULES(JANSSON, jansson)
 | 
			
		||||
PKG_CHECK_MODULES(ORCANIA, liborcania)
 | 
			
		||||
 | 
			
		||||
# Define asn1c skeleton files directory (See "asn1c -S <dir>").
 | 
			
		||||
# Used during "make -C src/ regen" to copy header files from there
 | 
			
		||||
ASN1C_SKELETON_PATH="/usr/share/asn1c"
 | 
			
		||||
ASN1C_BIN_PATH="/usr/bin/asn1c"
 | 
			
		||||
ASN_MODULE_CFLAGS="-DASN_DISABLE_BER_SUPPORT -DASN_DISABLE_XER_SUPPORT -DASN_DISABLE_JER_SUPPORT -DASN_DISABLE_OER_SUPPORT -DASN_DISABLE_UPER_SUPPORT"
 | 
			
		||||
AC_SUBST([ASN1C_SKELETON_PATH])
 | 
			
		||||
AC_SUBST([ASN1C_BIN_PATH])
 | 
			
		||||
AC_SUBST([ASN_MODULE_CFLAGS])
 | 
			
		||||
 | 
			
		||||
AC_CHECK_HEADERS(netinet/sctp.h,,AC_MSG_ERROR(netinet/sctp.h not found))
 | 
			
		||||
old_LIBS=$LIBS
 | 
			
		||||
AC_SEARCH_LIBS([sctp_recvmsg], [sctp], [
 | 
			
		||||
	AC_DEFINE(HAVE_LIBSCTP, 1, [Define 1 to enable SCTP support])
 | 
			
		||||
	AC_SUBST(HAVE_LIBSCTP, [1])
 | 
			
		||||
	if test -n "$ac_lib"; then
 | 
			
		||||
		AC_SUBST(LIBSCTP_LIBS, [-l$ac_lib])
 | 
			
		||||
	fi
 | 
			
		||||
	], [
 | 
			
		||||
	AC_MSG_ERROR([sctp_recvmsg not found in searched libs])])
 | 
			
		||||
LIBS=$old_LIBS
 | 
			
		||||
 | 
			
		||||
AC_ARG_ENABLE(sanitize,
 | 
			
		||||
	[AS_HELP_STRING(
 | 
			
		||||
		[--enable-sanitize],
 | 
			
		||||
@@ -155,7 +178,7 @@ if test "x$enable_ext_tests" = "xyes" ; then
 | 
			
		||||
	AM_PATH_PYTHON
 | 
			
		||||
	AC_CHECK_PROG(OSMOTESTEXT_CHECK,osmo_verify_transcript_vty.py,yes)
 | 
			
		||||
	 if test "x$OSMOTESTEXT_CHECK" != "xyes" ; then
 | 
			
		||||
		AC_MSG_ERROR([Please install git://osmocom.org/python/osmo-python-tests to run the VTY/CTRL tests.])
 | 
			
		||||
		AC_MSG_ERROR([Please install https://gitea.osmocom.org/cellular-infrastructure/osmo-python-tests to run the VTY/CTRL tests.])
 | 
			
		||||
	fi
 | 
			
		||||
fi
 | 
			
		||||
AC_MSG_CHECKING([whether to enable VTY/CTRL tests])
 | 
			
		||||
@@ -167,11 +190,17 @@ AC_MSG_RESULT([CPPFLAGS="$CPPFLAGS"])
 | 
			
		||||
 | 
			
		||||
AC_OUTPUT(
 | 
			
		||||
    src/Makefile
 | 
			
		||||
    src/sbcap/Makefile
 | 
			
		||||
    include/Makefile
 | 
			
		||||
    include/osmocom/Makefile
 | 
			
		||||
    include/osmocom/cbc/Makefile
 | 
			
		||||
    include/osmocom/sbcap/Makefile
 | 
			
		||||
    contrib/Makefile
 | 
			
		||||
    contrib/osmo-cbc.spec
 | 
			
		||||
    tests/Makefile
 | 
			
		||||
    tests/sbcap/Makefile
 | 
			
		||||
    doc/Makefile
 | 
			
		||||
    doc/examples/Makefile
 | 
			
		||||
    doc/manuals/Makefile
 | 
			
		||||
    contrib/systemd/Makefile
 | 
			
		||||
    libosmo-sbcap.pc
 | 
			
		||||
    Makefile)
 | 
			
		||||
 
 | 
			
		||||
@@ -63,7 +63,7 @@ def do_create_cbs(args):
 | 
			
		||||
            },
 | 
			
		||||
            'payload': {
 | 
			
		||||
                'payload_decoded': {
 | 
			
		||||
                    'character_set': "gsm",
 | 
			
		||||
                    'character_set': args.character_set,
 | 
			
		||||
                    #'language': 'en',
 | 
			
		||||
                    'data_utf8': args.payload_data_utf8,
 | 
			
		||||
                    #'data_utf8': "Mahlzeit1 Mahlzeit2 Mahlzeit3 Mahlzeit4 Mahlzeit5 Mahlzeit6 Mahlzeit7 Mahlzeit8"
 | 
			
		||||
@@ -114,7 +114,7 @@ def main(argv):
 | 
			
		||||
 | 
			
		||||
    parser = argparse.ArgumentParser()
 | 
			
		||||
    parser.add_argument("-H", "--host", help="Host to connect to", default="localhost")
 | 
			
		||||
    parser.add_argument("-p", "--port", help="TCP port to connect to", default=12345)
 | 
			
		||||
    parser.add_argument("-p", "--port", help="TCP port to connect to", type=int, default=12345)
 | 
			
		||||
    parser.add_argument("-v", "--verbose", help="increase output verbosity", action='count', default=0)
 | 
			
		||||
 | 
			
		||||
    subparsers = parser.add_subparsers(required=True)
 | 
			
		||||
@@ -126,6 +126,7 @@ def main(argv):
 | 
			
		||||
    parser_c_cbs.add_argument("--repetition-period", type=int, help='Repetition Period', default=5)
 | 
			
		||||
    parser_c_cbs.add_argument("--num-of-bcast", type=int, help='Number of Broadcasts', default=999)
 | 
			
		||||
    parser_c_cbs.add_argument("--payload-data-utf8", type=str, help='Payload Data in UTF8', required=True)
 | 
			
		||||
    parser_c_cbs.add_argument("--character-set", type=str, help='Character Set', default="gsm", choices=["gsm","ucs2","8bit"])
 | 
			
		||||
    parser_c_cbs.set_defaults(func=do_create_cbs)
 | 
			
		||||
 | 
			
		||||
    parser_c_etws = subparsers.add_parser('create-etws', help='Create a new ETWS message')
 | 
			
		||||
 
 | 
			
		||||
@@ -51,11 +51,12 @@ autoreconf --install --force
 | 
			
		||||
./configure --enable-sanitize --enable-werror --enable-external-tests $CONFIG
 | 
			
		||||
$MAKE $PARALLEL_MAKE
 | 
			
		||||
DISTCHECK_CONFIGURE_FLAGS="--enable-external-tests $CONFIG" \
 | 
			
		||||
  $MAKE distcheck \
 | 
			
		||||
  $MAKE $PARALLEL_MAKE distcheck \
 | 
			
		||||
  || cat-testlogs.sh
 | 
			
		||||
 | 
			
		||||
if [ "$WITH_MANUALS" = "1" ] && [ "$PUBLISH" = "1" ]; then
 | 
			
		||||
	make -C "$base/doc/manuals" publish
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
$MAKE $PARALLEL_MAKE maintainer-clean
 | 
			
		||||
osmo-clean-workspace.sh
 | 
			
		||||
 
 | 
			
		||||
@@ -1,104 +0,0 @@
 | 
			
		||||
#
 | 
			
		||||
# spec file for package osmo-cbc
 | 
			
		||||
#
 | 
			
		||||
# Copyright (c) 2021, Harald Welte <laforge@gnumonks.org>
 | 
			
		||||
#
 | 
			
		||||
# All modifications and additions to the file contributed by third parties
 | 
			
		||||
# remain the property of their copyright owners, unless otherwise agreed
 | 
			
		||||
# upon. The license for this file, and modifications and additions to the
 | 
			
		||||
# file, is the same license as for the pristine package itself (unless the
 | 
			
		||||
# license for the pristine package is not an Open Source License, in which
 | 
			
		||||
# case the license is the MIT License). An "Open Source License" is a
 | 
			
		||||
# license that conforms to the Open Source Definition (Version 1.9)
 | 
			
		||||
# published by the Open Source Initiative.
 | 
			
		||||
 | 
			
		||||
## Disable LTO for now since it breaks compilation of the tests
 | 
			
		||||
## https://osmocom.org/issues/4113
 | 
			
		||||
%define _lto_cflags %{nil}
 | 
			
		||||
 | 
			
		||||
Name:           osmo-cbc
 | 
			
		||||
Version:        @VERSION@
 | 
			
		||||
Release:        0
 | 
			
		||||
Summary:        OsmoCBC: Osmocom's Cell Broadcast Centre for 3GPP mobile networks
 | 
			
		||||
License:        AGPL-3.0-or-later
 | 
			
		||||
Group:          Hardware/Mobile
 | 
			
		||||
URL:            https://osmocom.org/projects/osmo-cbc
 | 
			
		||||
Source:         %{name}-%{version}.tar.xz
 | 
			
		||||
BuildRequires:  automake >= 1.9
 | 
			
		||||
BuildRequires:  libtool >= 2
 | 
			
		||||
BuildRequires:  pkgconfig >= 0.20
 | 
			
		||||
%if 0%{?suse_version}
 | 
			
		||||
BuildRequires:  systemd-rpm-macros
 | 
			
		||||
%endif
 | 
			
		||||
BuildRequires:  pkgconfig(libcrypto) >= 0.9.5
 | 
			
		||||
BuildRequires:  pkgconfig(libosmo-netif) >= 0.6.0
 | 
			
		||||
BuildRequires:  pkgconfig(libosmo-sccp) >= 0.10.0
 | 
			
		||||
BuildRequires:  pkgconfig(libosmo-sigtran) >= 0.10.0
 | 
			
		||||
BuildRequires:  pkgconfig(libosmoabis) >= 0.6.0
 | 
			
		||||
BuildRequires:  pkgconfig(libosmocore) >= 1.2.0
 | 
			
		||||
BuildRequires:  pkgconfig(libosmoctrl) >= 1.2.0
 | 
			
		||||
BuildRequires:  pkgconfig(libosmogb)
 | 
			
		||||
BuildRequires:  pkgconfig(libosmogsm) >= 1.2.0
 | 
			
		||||
BuildRequires:  pkgconfig(libosmovty) >= 1.2.0
 | 
			
		||||
BuildRequires:  pkgconfig(talloc)
 | 
			
		||||
BuildRequires:  pkgconfig(libulfius)
 | 
			
		||||
%{?systemd_requires}
 | 
			
		||||
 | 
			
		||||
%description
 | 
			
		||||
OsmoCBC: Osmocom's Cell Broadcast Centre for 3GPP mobile networks.
 | 
			
		||||
 | 
			
		||||
%package utils
 | 
			
		||||
Summary:	CLI utility to interface osmo-cbc REST interface
 | 
			
		||||
License:	MIT
 | 
			
		||||
Group:		Productivity/Telephony/Utilities
 | 
			
		||||
 | 
			
		||||
%description utils
 | 
			
		||||
CLI utility to interface with the osmo-cbc REST interface (ECBE).
 | 
			
		||||
 | 
			
		||||
%prep
 | 
			
		||||
%setup -q
 | 
			
		||||
 | 
			
		||||
%build
 | 
			
		||||
echo "%{version}" >.tarball-version
 | 
			
		||||
autoreconf -fi
 | 
			
		||||
%configure \
 | 
			
		||||
  --docdir=%{_docdir}/%{name} \
 | 
			
		||||
  --with-systemdsystemunitdir=%{_unitdir}
 | 
			
		||||
make %{?_smp_mflags}
 | 
			
		||||
 | 
			
		||||
%install
 | 
			
		||||
%make_install
 | 
			
		||||
install -m 755 contrib/cbc-apitool.py %{buildroot}/usr/bin/cbc-apitool.py
 | 
			
		||||
 | 
			
		||||
%if 0%{?suse_version}
 | 
			
		||||
%preun
 | 
			
		||||
%service_del_preun %{name}.service
 | 
			
		||||
 | 
			
		||||
%postun
 | 
			
		||||
%service_del_postun %{name}.service
 | 
			
		||||
 | 
			
		||||
%pre
 | 
			
		||||
%service_add_pre %{name}.service
 | 
			
		||||
 | 
			
		||||
%post
 | 
			
		||||
%service_add_post %{name}.service
 | 
			
		||||
%endif
 | 
			
		||||
 | 
			
		||||
%check
 | 
			
		||||
make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
 | 
			
		||||
 | 
			
		||||
%files
 | 
			
		||||
%license COPYING
 | 
			
		||||
%doc README.md
 | 
			
		||||
%{_bindir}/osmo-cbc
 | 
			
		||||
%dir %{_docdir}/%{name}/examples
 | 
			
		||||
%dir %{_docdir}/%{name}/examples/osmo-cbc
 | 
			
		||||
%{_docdir}/%{name}/examples/osmo-cbc/osmo-cbc*.cfg
 | 
			
		||||
%dir %{_sysconfdir}/osmocom
 | 
			
		||||
%config(noreplace) %{_sysconfdir}/osmocom/osmo-cbc.cfg
 | 
			
		||||
%{_unitdir}/%{name}.service
 | 
			
		||||
 | 
			
		||||
%files utils
 | 
			
		||||
%{_bindir}/cbc-apitool.py
 | 
			
		||||
 | 
			
		||||
%changelog
 | 
			
		||||
@@ -1,9 +1,15 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Osmocom CBC (Cell Broadcasting Centre)
 | 
			
		||||
After=network-online.target
 | 
			
		||||
Wants=network-online.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=simple
 | 
			
		||||
StateDirectory=osmocom
 | 
			
		||||
WorkingDirectory=%S/osmocom
 | 
			
		||||
Restart=always
 | 
			
		||||
User=osmocom
 | 
			
		||||
Group=osmocom
 | 
			
		||||
ExecStart=/usr/bin/osmo-cbc -c /etc/osmocom/osmo-cbc.cfg
 | 
			
		||||
RestartSec=2
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										210
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										210
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							@@ -1,3 +1,213 @@
 | 
			
		||||
osmo-cbc (0.5.0) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
  [ Harald Welte ]
 | 
			
		||||
  * cbc-apitool: Make character set configurable
 | 
			
		||||
 | 
			
		||||
  [ Andreas Eversberg ]
 | 
			
		||||
  * Use uniform log format for default config files
 | 
			
		||||
 | 
			
		||||
  [ Vadim Yanitskiy ]
 | 
			
		||||
  * build: include debian/ into the release tarball
 | 
			
		||||
  * README.md: cosmetic: fix a typo
 | 
			
		||||
 | 
			
		||||
  [ Pau Espin Pedrol ]
 | 
			
		||||
  * SBcAP: Update as1nc skeleton and generated code
 | 
			
		||||
 | 
			
		||||
  [ Max ]
 | 
			
		||||
  * .deb/.rpm: add osmocom user during package install
 | 
			
		||||
 | 
			
		||||
  [ Oliver Smith ]
 | 
			
		||||
  * .deb/.rpm: various fixes related to non-root
 | 
			
		||||
  * contrib: remove rpm spec file
 | 
			
		||||
  * debian/postinst: add checks, be verbose
 | 
			
		||||
 | 
			
		||||
 -- Oliver Smith <osmith@sysmocom.de>  Thu, 25 Jul 2024 09:46:02 +0200
 | 
			
		||||
 | 
			
		||||
osmo-cbc (0.4.2) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
  [ Vadim Yanitskiy ]
 | 
			
		||||
  * {src,tests/sbcap}/Makefile.am: reorder libraries in LDADD
 | 
			
		||||
  * tests: use -no-install libtool flag to avoid ./lt-* scripts
 | 
			
		||||
 | 
			
		||||
  [ Oliver Smith ]
 | 
			
		||||
  * debian: set compat level to 10
 | 
			
		||||
  * systemd: depend on networking-online.target
 | 
			
		||||
 | 
			
		||||
  [ Pau Espin Pedrol ]
 | 
			
		||||
  * sbcap: Update asn1c skeleton files
 | 
			
		||||
  * README.md: Document generation of SBcAP code from ASN.1 files
 | 
			
		||||
  * Catch and forbid configuring peers before configuring main protocol node
 | 
			
		||||
 | 
			
		||||
 -- Pau Espin Pedrol <pespin@sysmocom.de>  Tue, 12 Sep 2023 17:08:37 +0200
 | 
			
		||||
 | 
			
		||||
osmo-cbc (0.4.1) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
  [ Vadim Yanitskiy ]
 | 
			
		||||
  * contrib/jenkins.sh: also execute maintainer-clean target
 | 
			
		||||
  * contrib/jenkins.sh: execute 'distcheck' with $PARALLEL_MAKE
 | 
			
		||||
  * contrib/jenkins.sh: fix 'publish' target
 | 
			
		||||
 | 
			
		||||
  [ Max ]
 | 
			
		||||
  * Set working directory in systemd service file
 | 
			
		||||
 | 
			
		||||
  [ arehbein ]
 | 
			
		||||
  * osmo-cbc: Transition to use of 'telnet_init_default'
 | 
			
		||||
 | 
			
		||||
 -- Pau Espin Pedrol <pespin@sysmocom.de>  Tue, 07 Feb 2023 17:39:54 +0100
 | 
			
		||||
 | 
			
		||||
osmo-cbc (0.4.0) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
  [ Pau Espin Pedrol ]
 | 
			
		||||
  * Configure libosmocore logging system as multithread
 | 
			
		||||
  * Move peer to DELETED state before signalling parent FSM with DELETE_(N)ACK
 | 
			
		||||
  * Fix typos in error messages
 | 
			
		||||
  * main: remove newline char in perror() call
 | 
			
		||||
  * cbsp_server: Exit process gracefully if binding socket fails
 | 
			
		||||
  * Move header files to include/osmocom/cbc/ dir
 | 
			
		||||
  * Improve error handling when forwarding ECBE msg to CBSP
 | 
			
		||||
  * cbsp: Clean up conn closed paths
 | 
			
		||||
  * rest_api: Fix cbs.data_user_len not set in 'payload_encoded'
 | 
			
		||||
  * Add sbcap library
 | 
			
		||||
  * Add unit tests for sbcap
 | 
			
		||||
  * sbcap: Update asn1c skeleton files
 | 
			
		||||
  * Add initial SBc-AP support to osmo-cbc
 | 
			
		||||
  * doc: user manual: fix typo
 | 
			
		||||
  * doc: Document SBc-AP support and config
 | 
			
		||||
  * Fix printf format in 32bit arch
 | 
			
		||||
  * vty: Fix call to OSMO_STRBUF_PRINTF
 | 
			
		||||
  * sbcap: Update asn1c skeleton files
 | 
			
		||||
  * Improve example osmo-cbc.cfg file
 | 
			
		||||
  * sbcap_server.c: Remove unneeded goto
 | 
			
		||||
  * sbcap_server: Log all sctp notif
 | 
			
		||||
  * sbcap_server: Fix double-free of rx msg if conn is destroyed
 | 
			
		||||
  * Split cbc_peer to its own .c and .h files
 | 
			
		||||
  * cbc_peer: Close SBcAP conn when removing active peer
 | 
			
		||||
  * Move function defined in rest_it_op.c to rest_it_op.h
 | 
			
		||||
  * Move vty stuff to its own header cbc_vty.h
 | 
			
		||||
  * Split cbc_message related code to its own .c and .h file
 | 
			
		||||
  * Get rid of internal.h
 | 
			
		||||
  * sbcap_server.h: Remove unused fields
 | 
			
		||||
  * cbsp_server.c: Drop unused code
 | 
			
		||||
  * Rename CBSP,SABP,SBcAP structs and APIs
 | 
			
		||||
  * Rename {cbsp,sbcap}_server(_fsm).h s/server/link/
 | 
			
		||||
  * Rename fields in cbc_{cbsp,sbcap}_mgr
 | 
			
		||||
  * Use cbc_{cbsp,sbcap}_link_close when possible
 | 
			
		||||
  * cbc_vty: Use value_string to define proto names used in vty
 | 
			
		||||
  * cbc_vty: print correct protocol when writing config
 | 
			
		||||
  * Refactor {cbsp,sbcap}_cbc_accept_cb
 | 
			
		||||
  * cbc_vty: write peer config nodes at the end
 | 
			
		||||
  * Make cbsp,sbcap mgr available in data model
 | 
			
		||||
  * Fix cbc_vty_go_parent() not being called
 | 
			
		||||
  * cbc_main: Fix setting default SBc-AP local address
 | 
			
		||||
  * vty: Define peer proto during 'peer' node cmd
 | 
			
		||||
  * Move struct cbc bring up code to its own file and functions
 | 
			
		||||
  * Split cbsp/sbcap server socket creation from struct allocation
 | 
			
		||||
  * cbc-apitool: Fix port stored in var as a string
 | 
			
		||||
  * cbc-apitool: print usage instead of crashing if no subcmd passed
 | 
			
		||||
  * sbcap: Fix encoding of Warning-Type
 | 
			
		||||
  * cosmetic: smscb_message_fsm.c: Fix typo in comment
 | 
			
		||||
  * Support CBSP/TCP and SBc-AP/SCTP client mode
 | 
			
		||||
  * cbc_vty: Fix missing indent char in dump_one_etws_msg
 | 
			
		||||
  * vty: Fix 'show message' not finding expired messages
 | 
			
		||||
  * vty: Add command to delete expired messages
 | 
			
		||||
  * vty: Print created and expired times for each message
 | 
			
		||||
  * sbcap_msg: Improve spec references for used IEs
 | 
			
		||||
  * vty: Fix typo in vty output
 | 
			
		||||
  * Rearrange cbc_message and cbsp message code
 | 
			
		||||
  * Rename functions generating CBSP/SBc-AP Write-Replace request
 | 
			
		||||
  * sbcap: Fix typo in sbcap_cause_vals
 | 
			
		||||
  * sbcap: Send Error Indication if decoding rx msg fails
 | 
			
		||||
  * sbcap: Drop unused events
 | 
			
		||||
  * sbcap: Improve logging of rx Error Indication
 | 
			
		||||
  * sbcap: Improve logging on non-implemented PWS Restart/Failure Ind
 | 
			
		||||
  * sbcap: Tx Error ind if Rx ProcedureCode is unknown
 | 
			
		||||
  * Move sbcap_as_find_ie() to libsbcap
 | 
			
		||||
  * sbcap: Fix typo in comment
 | 
			
		||||
  * sbcap: Log info about messages received and trasmitted
 | 
			
		||||
  * Move cbc_cell_id2str() and make it public
 | 
			
		||||
  * Move ASN1C enc/dec logging to its own category
 | 
			
		||||
  * sbcap: Request and handle Write Replace Warning Indication
 | 
			
		||||
  * sbcap: Store reported failed TAIs from WriteReplaceResponse in cbc_message_peer
 | 
			
		||||
  * sbcap: Improve handling of WriteReplaceWarnResponse
 | 
			
		||||
  * Introduce logging category smscb
 | 
			
		||||
  * Split event list for smscb_message_fsm and smscb_peer_fsm
 | 
			
		||||
  * Split smscb_peer_fsm into CBSP and SBcAP specific FSMs
 | 
			
		||||
  * cbc_main: Enable logging of fsm timeouts
 | 
			
		||||
  * Propagate error to caller when tx cbsp/sbcap Write-Replace-Req fails
 | 
			
		||||
  * sbcap: Fix NULL pointer dereference
 | 
			
		||||
  * cbsp/sbcap: Fix memleak in error condition (tx without link)
 | 
			
		||||
  * *_smscb_peer_fsm: Immediately NACK if Tx of msg failed
 | 
			
		||||
  * cbsp: Fix heap-use-after-free closing cli conn in connecting state
 | 
			
		||||
  * cbsp/sbcap: Set link fsm id with peer's name
 | 
			
		||||
  * cbsp/sbcap: Fail if trying to Tx on non-connected (connecting) link
 | 
			
		||||
  * sbcap: Add Concurrent-Warning-Message-Indicator IE to Write-Replace-Req
 | 
			
		||||
  * cbsp: Log storing of CellId info received from peers
 | 
			
		||||
  * cbsp: Store content of received Cell Id from Failed List
 | 
			
		||||
 | 
			
		||||
  [ Oliver Smith ]
 | 
			
		||||
  * gitreview: add new file
 | 
			
		||||
  * checkpatch.conf: ignore sbcap generated files
 | 
			
		||||
  * contrib/osmo-cbc.spec: add libosmo-sbcap0/-dev
 | 
			
		||||
  * debian: add subpackages libosmo-sbcap0/-dev
 | 
			
		||||
  * libosmo-sbcap.pc.in: new file
 | 
			
		||||
 | 
			
		||||
  [ Vadim Yanitskiy ]
 | 
			
		||||
  * tests/sbcap: fix wrong operator used in OSMO_ASSERT statement
 | 
			
		||||
  * cbc_vty: use install_element[_ve](), not install_lib_element[_ve]()
 | 
			
		||||
  * libosmo-sbcap: add -no-undefined to libosmo_sbcap_la_LDFLAGS
 | 
			
		||||
 | 
			
		||||
 -- Pau Espin Pedrol <pespin@sysmocom.de>  Mon, 08 Aug 2022 11:42:56 +0200
 | 
			
		||||
 | 
			
		||||
osmo-cbc (0.3.0) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
  [ Vadim Yanitskiy ]
 | 
			
		||||
  * doc/examples: make osmo-cbc.cfg file more informative
 | 
			
		||||
  * VTY: cosmetic: use VTY_IPV46_CMD in the command string
 | 
			
		||||
  * VTY: fix incomplete 'remote-ip' command description
 | 
			
		||||
 | 
			
		||||
  [ Harald Welte ]
 | 
			
		||||
  * CBSP: Set Channel Indication IE in KILL for CBS
 | 
			
		||||
  * CBSP: Append/store results in KILL COMPLETE + KILL FAIL
 | 
			
		||||
  * cbc: Don't crash if peer->remote_host is NULL
 | 
			
		||||
  * update git URLs (git -> https; gitea)
 | 
			
		||||
 | 
			
		||||
  [ Pau Espin Pedrol ]
 | 
			
		||||
  * vty. Fix several typos and missing param descriptions
 | 
			
		||||
  * src/Makefile: Reformat files one per line
 | 
			
		||||
  * cbsp_server.h: Move function to the proper section
 | 
			
		||||
  * Rework cbsp_cbc_create() params
 | 
			
		||||
  * cbsp_server: Reorder logged message
 | 
			
		||||
  * .gitignore: add configure~
 | 
			
		||||
 | 
			
		||||
 -- Pau Espin Pedrol <pespin@sysmocom.de>  Wed, 29 Jun 2022 12:00:03 +0200
 | 
			
		||||
 | 
			
		||||
osmo-cbc (0.2.3) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
  [ Harald Welte ]
 | 
			
		||||
  * varaible for atoi() result shouild be signed integer
 | 
			
		||||
 | 
			
		||||
 -- Pau Espin Pedrol <pespin@sysmocom.de>  Tue, 16 Nov 2021 18:05:21 +0100
 | 
			
		||||
 | 
			
		||||
osmo-cbc (0.2.2) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
  * rest_api.c: Add missing \n in log line after error message
 | 
			
		||||
  * bring JSON schema in sync with reality
 | 
			
		||||
  * fix encoding of CBSP cell identifiers
 | 
			
		||||
  * Update dependencies to current libosmocore & co
 | 
			
		||||
 | 
			
		||||
 -- Harald Welte <laforge@osmocom.org>  Tue, 23 Feb 2021 20:40:44 +0100
 | 
			
		||||
 | 
			
		||||
osmo-cbc (0.2.1) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
  [ Harald Welte ]
 | 
			
		||||
  * VTY: don't save dynamically-allocated "unknown" peers
 | 
			
		||||
  * cbc-apitool: compatibility with python < 3.7
 | 
			
		||||
 | 
			
		||||
  [ Oliver Smith ]
 | 
			
		||||
  * configure.ac: set -std=gnu11
 | 
			
		||||
 | 
			
		||||
 -- Harald Welte <laforge@osmocom.org>  Tue, 16 Feb 2021 22:39:23 +0100
 | 
			
		||||
 | 
			
		||||
osmo-cbc (0.2.0) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
  [ Harald Welte ]
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								debian/compat
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								debian/compat
									
									
									
									
										vendored
									
									
								
							@@ -1 +1 @@
 | 
			
		||||
9
 | 
			
		||||
10
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										28
									
								
								debian/control
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								debian/control
									
									
									
									
										vendored
									
									
								
							@@ -2,7 +2,7 @@ Source: osmo-cbc
 | 
			
		||||
Section: net
 | 
			
		||||
Priority: extra
 | 
			
		||||
Maintainer: Osmocom team <openbsc@lists.osmocom.org>
 | 
			
		||||
Build-Depends: debhelper (>=9),
 | 
			
		||||
Build-Depends: debhelper (>= 10),
 | 
			
		||||
               dh-autoreconf,
 | 
			
		||||
               autotools-dev,
 | 
			
		||||
               autoconf,
 | 
			
		||||
@@ -11,14 +11,15 @@ Build-Depends: debhelper (>=9),
 | 
			
		||||
               pkg-config,
 | 
			
		||||
               python3-minimal,
 | 
			
		||||
               libtalloc-dev,
 | 
			
		||||
               libosmocore-dev,
 | 
			
		||||
               libosmo-netif-dev,
 | 
			
		||||
               libosmocore-dev (>= 1.10.0),
 | 
			
		||||
               libosmo-netif-dev (>= 1.5.0),
 | 
			
		||||
               libulfius-dev,
 | 
			
		||||
               libjansson-dev,
 | 
			
		||||
               osmo-gsm-manuals-dev
 | 
			
		||||
               libsctp-dev,
 | 
			
		||||
               osmo-gsm-manuals-dev (>= 1.6.0)
 | 
			
		||||
Standards-Version: 3.9.8
 | 
			
		||||
Vcs-Git: git://git.osmocom.org/osmo-cbc.git
 | 
			
		||||
Vcs-Browser: https://git.osmocom.org/osmo-cbc/
 | 
			
		||||
Vcs-Git: https://gitea.osmocom.org/cellular-infrastructure/osmo-cbc
 | 
			
		||||
Vcs-Browser: https://gitea.osmocom.org/cellular-infrastructure/osmo-cbc
 | 
			
		||||
Homepage: https://projects.osmocom.org/projects/osmo-cbc
 | 
			
		||||
 | 
			
		||||
Package: osmo-cbc
 | 
			
		||||
@@ -48,3 +49,18 @@ Depends: ${misc:Depends}
 | 
			
		||||
Description: ${misc:Package} PDF documentation
 | 
			
		||||
 Various manuals: user manual, VTY reference manual and/or
 | 
			
		||||
 protocol/interface manuals.
 | 
			
		||||
 | 
			
		||||
Package: libosmo-sbcap2
 | 
			
		||||
Section: libs
 | 
			
		||||
Architecture: any
 | 
			
		||||
Multi-Arch: same
 | 
			
		||||
Pre-Depends: ${misc:Pre-Depends}
 | 
			
		||||
Depends: ${misc:Depends}, ${shlibs:Depends}
 | 
			
		||||
Description: libosmo-sbcap: Osmocom's library to encode/decode SBc-AP messages
 | 
			
		||||
 | 
			
		||||
Package: libosmo-sbcap-dev
 | 
			
		||||
Section: libdevel
 | 
			
		||||
Architecture: any
 | 
			
		||||
Multi-Arch: same
 | 
			
		||||
Depends: libosmo-sbcap2 (= ${binary:Version}), ${misc:Depends}
 | 
			
		||||
Description: libosmo-sbcap: Osmocom's library to encode/decode SBc-AP messages
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								debian/libosmo-sbcap-dev.install
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								debian/libosmo-sbcap-dev.install
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
usr/include/osmocom/sbcap
 | 
			
		||||
usr/lib/*/libosmo-sbcap.so
 | 
			
		||||
usr/lib/*/libosmo-sbcap.a
 | 
			
		||||
usr/lib/*/pkgconfig/libosmo-sbcap.pc
 | 
			
		||||
							
								
								
									
										1
									
								
								debian/libosmo-sbcap2.install
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								debian/libosmo-sbcap2.install
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
usr/lib/*/libosmo-sbcap.so.*
 | 
			
		||||
							
								
								
									
										38
									
								
								debian/postinst
									
									
									
									
										vendored
									
									
										Executable file
									
								
							
							
						
						
									
										38
									
								
								debian/postinst
									
									
									
									
										vendored
									
									
										Executable file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
#!/bin/sh -e
 | 
			
		||||
case "$1" in
 | 
			
		||||
	configure)
 | 
			
		||||
		# Create the osmocom group and user (if it doesn't exist yet)
 | 
			
		||||
		if ! getent group osmocom >/dev/null; then
 | 
			
		||||
			groupadd --system osmocom
 | 
			
		||||
		fi
 | 
			
		||||
		if ! getent passwd osmocom >/dev/null; then
 | 
			
		||||
			useradd \
 | 
			
		||||
				--system \
 | 
			
		||||
				--gid osmocom \
 | 
			
		||||
				--home-dir /var/lib/osmocom \
 | 
			
		||||
				--shell /sbin/nologin \
 | 
			
		||||
				--comment "Open Source Mobile Communications" \
 | 
			
		||||
				osmocom
 | 
			
		||||
		fi
 | 
			
		||||
 | 
			
		||||
		# Fix permissions of previous (root-owned) install (OS#4107)
 | 
			
		||||
		if dpkg --compare-versions "$2" le "0.5.0"; then
 | 
			
		||||
			if [ -e /etc/osmocom/osmo-cbc.cfg ]; then
 | 
			
		||||
				chown -v osmocom:osmocom /etc/osmocom/osmo-cbc.cfg
 | 
			
		||||
				chmod -v 0660 /etc/osmocom/osmo-cbc.cfg
 | 
			
		||||
			fi
 | 
			
		||||
 | 
			
		||||
			if [ -d /etc/osmocom ]; then
 | 
			
		||||
				chown -v root:osmocom /etc/osmocom
 | 
			
		||||
				chmod -v 2775 /etc/osmocom
 | 
			
		||||
			fi
 | 
			
		||||
 | 
			
		||||
			mkdir -p /var/lib/osmocom
 | 
			
		||||
			chown -R -v osmocom:osmocom /var/lib/osmocom
 | 
			
		||||
		fi
 | 
			
		||||
		;;
 | 
			
		||||
esac
 | 
			
		||||
 | 
			
		||||
# dh_installdeb(1) will replace this with shell code automatically
 | 
			
		||||
# generated by other debhelper scripts.
 | 
			
		||||
#DEBHELPER#
 | 
			
		||||
@@ -1,3 +1,34 @@
 | 
			
		||||
 | 
			
		||||
log stderr
 | 
			
		||||
 logging level cbsp debug
 | 
			
		||||
 logging color 1
 | 
			
		||||
 logging print category-hex 0
 | 
			
		||||
 logging print category 1
 | 
			
		||||
 logging timestamp 0
 | 
			
		||||
 logging print file basename last
 | 
			
		||||
 logging print level 1
 | 
			
		||||
 logging level main notice
 | 
			
		||||
 logging level smscb notice
 | 
			
		||||
 logging level cbsp notice
 | 
			
		||||
 logging level sbcap notice
 | 
			
		||||
 logging level asn1c notice
 | 
			
		||||
 logging level rest notice
 | 
			
		||||
cbc
 | 
			
		||||
 unknown-peers reject
 | 
			
		||||
 ecbe
 | 
			
		||||
  local-ip 127.0.0.1
 | 
			
		||||
  local-port 12345
 | 
			
		||||
 cbsp
 | 
			
		||||
  local-ip 127.0.0.1
 | 
			
		||||
  local-port 48049
 | 
			
		||||
 sbcap
 | 
			
		||||
  local-ip 127.0.0.1
 | 
			
		||||
  local-ip ::1
 | 
			
		||||
  local-port 29168
 | 
			
		||||
 peer cbsp example-bsc
 | 
			
		||||
  mode server
 | 
			
		||||
  remote-ip 127.0.0.2
 | 
			
		||||
  remote-port 48049
 | 
			
		||||
 peer sbcap example-mme
 | 
			
		||||
  mode client
 | 
			
		||||
  remote-ip 127.0.0.2
 | 
			
		||||
  remote-ip ::2
 | 
			
		||||
  remote-port 29168
 | 
			
		||||
 
 | 
			
		||||
@@ -50,6 +50,8 @@ You can create a new CBS message using `cbc-apitool create-cbs`.
 | 
			
		||||
*--payload-data-utf8 PAYLOAD_DATA_UTF8*::
 | 
			
		||||
        Payload data (typically text message) in UTF8 encoding.  Will be
 | 
			
		||||
        transcoded to 7bit GSM alphabet internally.
 | 
			
		||||
*--character-set {gsm,8bit,ucs2}*::
 | 
			
		||||
        Character set to be used for the message.  Default: gsm
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
==== `create-etws` Options
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
[[configuration]]
 | 
			
		||||
== Configuration
 | 
			
		||||
 | 
			
		||||
=== CBSP / Peer Configuration
 | 
			
		||||
=== CBSP Peer Configuration
 | 
			
		||||
 | 
			
		||||
CBSP is the BSC-CBC interface within the 3GPP architecture.  It serves
 | 
			
		||||
to communicate CSB and ETWS messages from the CBC to the BSC, who then
 | 
			
		||||
@@ -43,15 +43,15 @@ cbc
 | 
			
		||||
  remote-port 46133
 | 
			
		||||
  remote-ip 1.2.3.4
 | 
			
		||||
 peer my-bsc-2
 | 
			
		||||
  remote-port 46133
 | 
			
		||||
  remote-ip 1.2.3.4
 | 
			
		||||
  remote-port 46134
 | 
			
		||||
  remote-ip 1.2.3.5
 | 
			
		||||
----
 | 
			
		||||
 | 
			
		||||
For more details on the available configuration commands, please check the OsmoCBC VTY Reference.
 | 
			
		||||
 | 
			
		||||
==== Configuring the IP/Port for CBSP to bind to
 | 
			
		||||
 | 
			
		||||
It can be configure to which IP and TCP port the CBSP protocol binds to.
 | 
			
		||||
It can be configured to which IP and TCP port the CBSP protocol binds to.
 | 
			
		||||
 | 
			
		||||
The default is to bind to the 3GPP standard port number 48049 for CBSP at the
 | 
			
		||||
loopback IP address 127.0.0.1.
 | 
			
		||||
@@ -64,6 +64,71 @@ cbc
 | 
			
		||||
  local-port 48049
 | 
			
		||||
----
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
=== SBc-AP Peer Configuration
 | 
			
		||||
 | 
			
		||||
SBc-AP is the MME-CBC interface within the 3GPP architecture.  It serves
 | 
			
		||||
to communicate CSB and ETWS messages from the CBC to the MME, who then
 | 
			
		||||
subsequently distributes it among the (matching) cells (eNodeBs) within the MME.
 | 
			
		||||
 | 
			
		||||
[[config-sbcap]]
 | 
			
		||||
==== Configuring the SBc-AP connections
 | 
			
		||||
 | 
			
		||||
An MME typically operates as an SCTP server, and the CBC connects as SCTP
 | 
			
		||||
client.  This would require the CBC to have out-of-band knowledge of all the
 | 
			
		||||
MMEs in the network (and their IP addresses).
 | 
			
		||||
 | 
			
		||||
In order to comply with the specifications, OsmoCBC supports this mode
 | 
			
		||||
of operation as SBc-AP SCTP client.  However, to make network operation and
 | 
			
		||||
configuration more simple, it also can operate in SCTP server mode,
 | 
			
		||||
accepting incoming connections from the MMEs.  This way the MMEs need to
 | 
			
		||||
know the CBC IP address, but not vice-versa.
 | 
			
		||||
 | 
			
		||||
The default port number for the SBc-AP server is 29168, according to the SBc-AP
 | 
			
		||||
specification. It uses SCTP payload protocol identifier 24.
 | 
			
		||||
 | 
			
		||||
In order to make use of SCTP muti-homing capabilitites, simply configure several
 | 
			
		||||
IP addresses when configuring SBc-AP.
 | 
			
		||||
 | 
			
		||||
.Example: Configure SCTP server mode and allow arbitrary MMEs to connect
 | 
			
		||||
----
 | 
			
		||||
cbc
 | 
			
		||||
 unknown-peers accept
 | 
			
		||||
----
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
.Example: Configure SCTP client mode and define each BSC
 | 
			
		||||
----
 | 
			
		||||
cbc
 | 
			
		||||
 peer my-mme-1
 | 
			
		||||
  protocol sbcap
 | 
			
		||||
  remote-port 334455
 | 
			
		||||
  remote-ip 1.2.3.4
 | 
			
		||||
  remote-ip 1.2.3.5
 | 
			
		||||
 peer my-mme-2
 | 
			
		||||
  protocol sbcap
 | 
			
		||||
  remote-port 334456
 | 
			
		||||
  remote-ip 1.2.3.10
 | 
			
		||||
----
 | 
			
		||||
 | 
			
		||||
For more details on the available configuration commands, please check the OsmoCBC VTY Reference.
 | 
			
		||||
 | 
			
		||||
==== Configuring the IP/Port for SBc-AP to bind to
 | 
			
		||||
 | 
			
		||||
It can be configured to which IP and SCTP port the SBc-AP protocol binds to.
 | 
			
		||||
 | 
			
		||||
The default is to bind to the 3GPP standard port number 29168 for SBc-AP at the
 | 
			
		||||
loopback IP address 127.0.0.1 and ::1.
 | 
			
		||||
 | 
			
		||||
.Example: Configure SBc-AP to bind to (127.0.0.1,::1):48049
 | 
			
		||||
----
 | 
			
		||||
cbc
 | 
			
		||||
 sbcap
 | 
			
		||||
  local-ip 127.0.0.1
 | 
			
		||||
  local-ip ::1
 | 
			
		||||
  local-port 48049
 | 
			
		||||
----
 | 
			
		||||
 | 
			
		||||
[[config-ecbe]]
 | 
			
		||||
=== ECBE (REST Interface) Configuration
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@ It acts as a gateway between external applications / users, such as government
 | 
			
		||||
authorities for civil protection, and the various components within the 3GPP
 | 
			
		||||
network to actually deliver those broadcast and/or emergency messages.
 | 
			
		||||
 | 
			
		||||
.Role of the CBC inside the 3GPP network architecture
 | 
			
		||||
.Role of the CBC inside the 3GPP network architecture (3GPP TS 23.041 §3)
 | 
			
		||||
[graphviz]
 | 
			
		||||
----
 | 
			
		||||
include::../images/cbc-in-network.dot[]
 | 
			
		||||
@@ -23,6 +23,7 @@ OsmoCBC is the Osmocom implementation of a Cellular Broadcast Centre (CBC). It
 | 
			
		||||
implements:
 | 
			
		||||
 | 
			
		||||
- the BSC-CBC interface using the CBSP protocol
 | 
			
		||||
- The MME-CBC interface using the SBc-AP protocol
 | 
			
		||||
- a HTTP/JSON/RESTful interface for external applications
 | 
			
		||||
- a telnet-based command line interface for configuration and introspection called VTY
 | 
			
		||||
 | 
			
		||||
@@ -30,12 +31,10 @@ OsmoCBC provides mainly the following functionality:
 | 
			
		||||
 | 
			
		||||
- establishing communication with the various Radio Access Network elements such as BSCs within the network
 | 
			
		||||
- receiving requests to start or remove CBS and ETWS messages from external applications
 | 
			
		||||
- distributing the CBS and/or ETWS messages
 | 
			
		||||
has connection with the various RANs of the 3GPP cellular network
 | 
			
		||||
- distributing the CBS and/or ETWS messages to the various RANs of the 3GPP cellular network
 | 
			
		||||
 | 
			
		||||
Future versions of OsmoCBC are expected to contain the RNC-CBC interface
 | 
			
		||||
with the SABP protocol, as well as the MME-CBC interface using the SBcAP
 | 
			
		||||
protocol.  Should you be interested in contributing to this effort,
 | 
			
		||||
Future versions of OsmoCBC are expected to contain the RNC-CBC interface with
 | 
			
		||||
the SABP protocol.  Should you be interested in contributing to this effort,
 | 
			
		||||
please contact the author of this document.
 | 
			
		||||
 | 
			
		||||
=== CBSP implementation
 | 
			
		||||
@@ -57,6 +56,20 @@ simply only accepts incoming CBSP connections.
 | 
			
		||||
 | 
			
		||||
For more information, see <<config-cbsp>> on how CBSP is configured.
 | 
			
		||||
 | 
			
		||||
=== SBc-AP implementation
 | 
			
		||||
 | 
			
		||||
SBc-AP (SBc Application Part) is the  interface between the Mobility Management
 | 
			
		||||
Entity (MME) and the Cell Broadcast Centre (CBC) in 4G networks. It is also the
 | 
			
		||||
interface between the Public Warning System – Inter Working Function (PWS-IWF)
 | 
			
		||||
and the CBC in 5G networks. It is specified in 3GPP TS 29.168.
 | 
			
		||||
 | 
			
		||||
Similarly to what's done with CBSP, OsmoCBC also supports operating SBc-AP as an
 | 
			
		||||
SCTP client or an SCTP server. In the first case, OsmoCBC must be passed a list
 | 
			
		||||
of MMEs to connect to, while in the second one it will only accept incoming SCTP
 | 
			
		||||
connections.
 | 
			
		||||
 | 
			
		||||
For more information, see <<config-sbcap>> on how SBc-AP is configured.
 | 
			
		||||
 | 
			
		||||
=== ECBE REST interface
 | 
			
		||||
 | 
			
		||||
3GPP does not specify the external interface by which competent
 | 
			
		||||
 
 | 
			
		||||
@@ -5,13 +5,17 @@ digraph G {
 | 
			
		||||
  CBC -> BSC [label="CBSP"];
 | 
			
		||||
  CBC -> RNC [label="SABP"];
 | 
			
		||||
  CBC -> MME [label="SBc-AP"];
 | 
			
		||||
  CBC -> PWSIWF [label="SBc-AP"];
 | 
			
		||||
 | 
			
		||||
  PWSIWF -> AMF [label="N50"];
 | 
			
		||||
 | 
			
		||||
  BSC -> BTS [label="A-bis RSL"];
 | 
			
		||||
  RNC -> NodeB [label="Iub"];
 | 
			
		||||
  MME -> eNodeB [label="S1-AP"];
 | 
			
		||||
  AMF -> gNodeB [label="N2"];
 | 
			
		||||
 | 
			
		||||
  BTS -> UE [label="CBCH"];
 | 
			
		||||
  NodeB -> UE [label="BMC/CTCH"];
 | 
			
		||||
  eNodeB -> UE [label="SIB10/11/12"];
 | 
			
		||||
 | 
			
		||||
  gNodeB -> UE [label="Uu"];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								include/Makefile.am
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								include/Makefile.am
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
SUBDIRS = osmocom
 | 
			
		||||
							
								
								
									
										1
									
								
								include/osmocom/Makefile.am
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								include/osmocom/Makefile.am
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
SUBDIRS = cbc sbcap
 | 
			
		||||
							
								
								
									
										17
									
								
								include/osmocom/cbc/Makefile.am
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								include/osmocom/cbc/Makefile.am
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
noinst_HEADERS = \
 | 
			
		||||
	cbc_data.h \
 | 
			
		||||
	cbc_peer.h \
 | 
			
		||||
	cbc_message.h \
 | 
			
		||||
	cbc_vty.h \
 | 
			
		||||
	cbsp_link.h \
 | 
			
		||||
	cbsp_link_fsm.h \
 | 
			
		||||
	cbsp_msg.h \
 | 
			
		||||
	charset.h \
 | 
			
		||||
	debug.h \
 | 
			
		||||
	sbcap_msg.h \
 | 
			
		||||
	sbcap_link.h \
 | 
			
		||||
	sbcap_link_fsm.h \
 | 
			
		||||
	rest_it_op.h \
 | 
			
		||||
	smscb_message_fsm.h \
 | 
			
		||||
	smscb_peer_fsm.h \
 | 
			
		||||
	$(NULL)
 | 
			
		||||
							
								
								
									
										95
									
								
								include/osmocom/cbc/cbc_data.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										95
									
								
								include/osmocom/cbc/cbc_data.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,95 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <stdbool.h>
 | 
			
		||||
#include <osmocom/core/linuxlist.h>
 | 
			
		||||
#include <osmocom/core/it_q.h>
 | 
			
		||||
#include <osmocom/gsm/protocol/gsm_48_049.h>
 | 
			
		||||
#include <osmocom/gsm/gsm23003.h>
 | 
			
		||||
 | 
			
		||||
#define CBC_MAX_LOC_ADDRS 8
 | 
			
		||||
 | 
			
		||||
enum cbc_cell_id_type {
 | 
			
		||||
	CBC_CELL_ID_NONE,
 | 
			
		||||
	CBC_CELL_ID_BSS,
 | 
			
		||||
	CBC_CELL_ID_CGI,
 | 
			
		||||
	CBC_CELL_ID_LAC_CI,
 | 
			
		||||
	CBC_CELL_ID_LAI,
 | 
			
		||||
	CBC_CELL_ID_LAC,
 | 
			
		||||
	CBC_CELL_ID_CI,
 | 
			
		||||
	CBC_CELL_ID_ECGI,
 | 
			
		||||
	CBC_CELL_ID_TAI,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct cbc_cell_id {
 | 
			
		||||
	struct llist_head list;
 | 
			
		||||
	enum cbc_cell_id_type id_discr;
 | 
			
		||||
	union {
 | 
			
		||||
		struct osmo_cell_global_id cgi;
 | 
			
		||||
		struct osmo_lac_and_ci_id lac_and_ci;
 | 
			
		||||
		struct osmo_location_area_id lai;
 | 
			
		||||
		uint16_t lac;
 | 
			
		||||
		uint16_t ci;
 | 
			
		||||
		struct osmo_eutran_cell_global_id ecgi;
 | 
			
		||||
		struct osmo_tracking_area_id tai;
 | 
			
		||||
	} u;
 | 
			
		||||
	/* only in failure list */
 | 
			
		||||
	struct {
 | 
			
		||||
		int cause;
 | 
			
		||||
	} fail;
 | 
			
		||||
	/* only in num_compl list */
 | 
			
		||||
	struct {
 | 
			
		||||
		uint32_t num_compl;
 | 
			
		||||
		uint32_t num_bcast_info;
 | 
			
		||||
	} num_compl;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const char *cbc_cell_id2str(const struct cbc_cell_id *cid);
 | 
			
		||||
 | 
			
		||||
/*********************************************************************************
 | 
			
		||||
 * CBC itself
 | 
			
		||||
 *********************************************************************************/
 | 
			
		||||
struct cbc_cbsp_mgr;
 | 
			
		||||
struct cbc_sbcap_mgr;
 | 
			
		||||
 | 
			
		||||
struct cbc {
 | 
			
		||||
	struct {
 | 
			
		||||
		bool permit_unknown_peers;
 | 
			
		||||
		struct {
 | 
			
		||||
			char *local_host;
 | 
			
		||||
			int local_port;
 | 
			
		||||
			bool configured;
 | 
			
		||||
		} cbsp;
 | 
			
		||||
		struct {
 | 
			
		||||
			char *local_host[CBC_MAX_LOC_ADDRS];
 | 
			
		||||
			unsigned int num_local_host;
 | 
			
		||||
			int local_port;
 | 
			
		||||
			bool configured;
 | 
			
		||||
		} sbcap;
 | 
			
		||||
		struct {
 | 
			
		||||
			char *local_host;
 | 
			
		||||
			int local_port;
 | 
			
		||||
		} ecbe;
 | 
			
		||||
	} config;
 | 
			
		||||
 | 
			
		||||
	struct {
 | 
			
		||||
		struct cbc_cbsp_mgr *mgr;
 | 
			
		||||
	} cbsp;
 | 
			
		||||
	struct {
 | 
			
		||||
		struct cbc_sbcap_mgr *mgr;
 | 
			
		||||
	} sbcap;
 | 
			
		||||
 | 
			
		||||
	struct llist_head messages;	/* cbc_message.list */
 | 
			
		||||
	struct llist_head expired_messages;	/* cbc_message.list */
 | 
			
		||||
	struct llist_head peers;	/* cbc_peer.list */
 | 
			
		||||
	struct {
 | 
			
		||||
		struct osmo_it_q *rest2main;
 | 
			
		||||
	} it_q;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
extern struct cbc *g_cbc;
 | 
			
		||||
struct cbc *cbc_alloc(void *ctx);
 | 
			
		||||
int cbc_start(struct cbc *cbc);
 | 
			
		||||
 | 
			
		||||
/* rest_api.c */
 | 
			
		||||
int rest_api_init(void *ctx, const char *bind_addr, uint16_t port);
 | 
			
		||||
void rest_api_fin(void);
 | 
			
		||||
@@ -7,66 +7,6 @@
 | 
			
		||||
#include <osmocom/gsm/protocol/gsm_48_049.h>
 | 
			
		||||
#include <osmocom/gsm/gsm23003.h>
 | 
			
		||||
 | 
			
		||||
struct osmo_cbsp_cbc_client;
 | 
			
		||||
struct osmo_sabp_cbc_client;
 | 
			
		||||
struct rest_it_op;
 | 
			
		||||
 | 
			
		||||
/*********************************************************************************
 | 
			
		||||
 * CBC Peer
 | 
			
		||||
 *********************************************************************************/
 | 
			
		||||
 | 
			
		||||
enum cbc_peer_protocol {
 | 
			
		||||
	CBC_PEER_PROTO_CBSP,
 | 
			
		||||
	CBC_PEER_PROTO_SABP,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct cbc_peer {
 | 
			
		||||
	struct llist_head list;		/* linked to cbc.peers */
 | 
			
		||||
	const char *name;
 | 
			
		||||
 | 
			
		||||
	char *remote_host;	/* remote IP address in string format */
 | 
			
		||||
	int remote_port;		/* remote port number or -1 for random */
 | 
			
		||||
 | 
			
		||||
	enum cbc_peer_protocol proto;
 | 
			
		||||
	union {
 | 
			
		||||
		struct osmo_cbsp_cbc_client *cbsp;
 | 
			
		||||
		struct osmo_sabp_cbc_client *sabp;
 | 
			
		||||
	} client;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
extern const struct value_string cbc_peer_proto_name[];
 | 
			
		||||
 | 
			
		||||
enum cbc_cell_id_type {
 | 
			
		||||
	CBC_CELL_ID_NONE,
 | 
			
		||||
	CBC_CELL_ID_BSS,
 | 
			
		||||
	CBC_CELL_ID_CGI,
 | 
			
		||||
	CBC_CELL_ID_LAC_CI,
 | 
			
		||||
	CBC_CELL_ID_LAI,
 | 
			
		||||
	CBC_CELL_ID_LAC,
 | 
			
		||||
	CBC_CELL_ID_CI,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct cbc_cell_id {
 | 
			
		||||
	struct llist_head list;
 | 
			
		||||
	enum cbc_cell_id_type id_discr;
 | 
			
		||||
	union {
 | 
			
		||||
		struct osmo_cell_global_id cgi;
 | 
			
		||||
		struct osmo_lac_and_ci_id lac_and_ci;
 | 
			
		||||
		struct osmo_location_area_id lai;
 | 
			
		||||
		uint16_t lac;
 | 
			
		||||
		uint16_t ci;
 | 
			
		||||
	} u;
 | 
			
		||||
	/* only in failure list */
 | 
			
		||||
	struct {
 | 
			
		||||
		int cause;
 | 
			
		||||
	} fail;
 | 
			
		||||
	/* only in num_compl list */
 | 
			
		||||
	struct {
 | 
			
		||||
		uint32_t num_compl;
 | 
			
		||||
		uint32_t num_bcast_info;
 | 
			
		||||
	} num_compl;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/*********************************************************************************
 | 
			
		||||
 * CBC Message
 | 
			
		||||
@@ -158,42 +98,15 @@ struct cbc_message {
 | 
			
		||||
	} time;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
/*********************************************************************************
 | 
			
		||||
 * CBC itself
 | 
			
		||||
 *********************************************************************************/
 | 
			
		||||
 | 
			
		||||
struct cbc {
 | 
			
		||||
	struct {
 | 
			
		||||
		bool permit_unknown_peers;
 | 
			
		||||
		struct {
 | 
			
		||||
			char *local_host;
 | 
			
		||||
			int local_port;
 | 
			
		||||
		} cbsp;
 | 
			
		||||
		struct {
 | 
			
		||||
			char *local_host;
 | 
			
		||||
			int local_port;
 | 
			
		||||
		} ecbe;
 | 
			
		||||
	} config;
 | 
			
		||||
 | 
			
		||||
	struct llist_head messages;	/* cbc_message.list */
 | 
			
		||||
	struct llist_head expired_messages;	/* cbc_message.list */
 | 
			
		||||
	struct llist_head peers;	/* cbc_peer.list */
 | 
			
		||||
	struct {
 | 
			
		||||
		struct osmo_it_q *rest2main;
 | 
			
		||||
	} it_q;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
extern struct cbc *g_cbc;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
struct cbc_message *cbc_message_alloc(void *ctx, const struct cbc_message *cbcmsg);
 | 
			
		||||
void cbc_message_free(struct cbc_message *cbcmsg);
 | 
			
		||||
int cbc_message_new(const struct cbc_message *cbcmsg, struct rest_it_op *op);
 | 
			
		||||
void cbc_message_delete(struct cbc_message *cbcmsg, struct rest_it_op *op);
 | 
			
		||||
struct cbc_message *cbc_message_by_id(uint16_t message_id);
 | 
			
		||||
struct cbc_message *cbc_message_expired_by_id(uint16_t message_id);
 | 
			
		||||
int peer_new_cbc_message(struct cbc_peer *peer, struct cbc_message *cbcmsg);
 | 
			
		||||
 | 
			
		||||
int cbc_message_del_peer(struct cbc_message *cbcmsg, struct cbc_peer *peer);
 | 
			
		||||
int cbc_message_add_peer(struct cbc_message *cbcmsg, struct cbc_peer *peer);
 | 
			
		||||
struct cbc_message_peer *smscb_peer_fsm_alloc(struct cbc_peer *peer, struct cbc_message *cbcmsg);
 | 
			
		||||
struct cbc_message_peer *cbc_message_peer_get(struct cbc_message *cbcmsg, struct cbc_peer *peer);
 | 
			
		||||
struct cbc_peer *cbc_peer_by_name(const char *name);
 | 
			
		||||
struct cbc_peer *cbc_peer_by_addr_proto(const char *remote_host, uint16_t remote_port,
 | 
			
		||||
					enum cbc_peer_protocol proto);
 | 
			
		||||
struct cbc_peer *cbc_peer_create(const char *name, enum cbc_peer_protocol proto);
 | 
			
		||||
void cbc_peer_remove(struct cbc_peer *peer);
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										58
									
								
								include/osmocom/cbc/cbc_peer.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								include/osmocom/cbc/cbc_peer.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,58 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <stdbool.h>
 | 
			
		||||
#include <osmocom/core/linuxlist.h>
 | 
			
		||||
 | 
			
		||||
struct cbc_cbsp_link;
 | 
			
		||||
struct cbc_sabp_link;
 | 
			
		||||
struct cbc_sbcap_link;
 | 
			
		||||
 | 
			
		||||
#define CBC_MAX_REM_ADDRS 8
 | 
			
		||||
 | 
			
		||||
/*********************************************************************************
 | 
			
		||||
 * CBC Peer
 | 
			
		||||
 *********************************************************************************/
 | 
			
		||||
 | 
			
		||||
enum cbc_peer_protocol {
 | 
			
		||||
	CBC_PEER_PROTO_CBSP,
 | 
			
		||||
	CBC_PEER_PROTO_SABP,
 | 
			
		||||
	CBC_PEER_PROTO_SBcAP
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
enum cbc_peer_link_mode {
 | 
			
		||||
	CBC_PEER_LINK_MODE_DISABLED = 0,
 | 
			
		||||
	CBC_PEER_LINK_MODE_SERVER,
 | 
			
		||||
	CBC_PEER_LINK_MODE_CLIENT,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
extern const struct value_string cbc_peer_link_mode_names[];
 | 
			
		||||
static inline const char *cbc_peer_link_mode_name(enum cbc_peer_link_mode val)
 | 
			
		||||
{ return get_value_string(cbc_peer_link_mode_names, val); }
 | 
			
		||||
 | 
			
		||||
struct cbc_peer {
 | 
			
		||||
	struct llist_head list;		/* linked to cbc.peers */
 | 
			
		||||
	const char *name;
 | 
			
		||||
 | 
			
		||||
	char *remote_host[CBC_MAX_REM_ADDRS];	/* remote IP address in string format */
 | 
			
		||||
	unsigned int num_remote_host;	/* number of addresses present in remote_host */
 | 
			
		||||
	int remote_port;		/* remote port number or -1 for random */
 | 
			
		||||
	bool unknown_dynamic_peer;	/* dynamic/unknown peer; not saved in VTY */
 | 
			
		||||
 | 
			
		||||
	enum cbc_peer_protocol proto;
 | 
			
		||||
	union {
 | 
			
		||||
		struct cbc_cbsp_link *cbsp;
 | 
			
		||||
		struct cbc_sabp_link *sabp;
 | 
			
		||||
		struct cbc_sbcap_link *sbcap;
 | 
			
		||||
	} link;
 | 
			
		||||
	enum cbc_peer_link_mode link_mode;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
extern const struct value_string cbc_peer_proto_name[];
 | 
			
		||||
 | 
			
		||||
struct cbc_peer *cbc_peer_create(const char *name, enum cbc_peer_protocol proto);
 | 
			
		||||
void cbc_peer_remove(struct cbc_peer *peer);
 | 
			
		||||
 | 
			
		||||
struct cbc_peer *cbc_peer_by_name(const char *name);
 | 
			
		||||
struct cbc_peer *cbc_peer_by_addr_proto(const char *remote_host, uint16_t remote_port,
 | 
			
		||||
					enum cbc_peer_protocol proto);
 | 
			
		||||
int cbc_peer_apply_cfg_chg(struct cbc_peer *peer);
 | 
			
		||||
							
								
								
									
										10
									
								
								include/osmocom/cbc/cbc_vty.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								include/osmocom/cbc/cbc_vty.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
enum cbc_vty_node {
 | 
			
		||||
	CBC_NODE = _LAST_OSMOVTY_NODE + 1,
 | 
			
		||||
	PEER_NODE,
 | 
			
		||||
	CBSP_NODE,
 | 
			
		||||
	SBcAP_NODE,
 | 
			
		||||
	ECBE_NODE,
 | 
			
		||||
};
 | 
			
		||||
void cbc_vty_init(void);
 | 
			
		||||
							
								
								
									
										52
									
								
								include/osmocom/cbc/cbsp_link.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								include/osmocom/cbc/cbsp_link.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,52 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
#include <osmocom/core/linuxlist.h>
 | 
			
		||||
#include <osmocom/gsm/cbsp.h>
 | 
			
		||||
#include <osmocom/netif/stream.h>
 | 
			
		||||
 | 
			
		||||
#include <osmocom/cbc/cbc_data.h>
 | 
			
		||||
 | 
			
		||||
#define LOGPCC(link, level, fmt, args...) \
 | 
			
		||||
	LOGP(DCBSP, level, "%s: " fmt, cbc_cbsp_link_name(link), ## args)
 | 
			
		||||
 | 
			
		||||
struct cbc_cbsp_link;
 | 
			
		||||
struct osmo_fsm_inst;
 | 
			
		||||
struct cbc_peer;
 | 
			
		||||
 | 
			
		||||
/* Holder of all CBSP conn related information: */
 | 
			
		||||
struct cbc_cbsp_mgr {
 | 
			
		||||
	/* libosmo-netif stream server */
 | 
			
		||||
	struct osmo_stream_srv_link *srv_link;
 | 
			
		||||
 | 
			
		||||
	/* BSCs / links connected to this CBC */
 | 
			
		||||
	struct llist_head links;
 | 
			
		||||
 | 
			
		||||
	/* receive call-back; called for every received message */
 | 
			
		||||
	int (*rx_cb)(struct cbc_cbsp_link *link, struct osmo_cbsp_decoded *dec);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct cbc_cbsp_mgr *cbc_cbsp_mgr_alloc(void *ctx);
 | 
			
		||||
int cbc_cbsp_mgr_open_srv(struct cbc_cbsp_mgr *mgr);
 | 
			
		||||
 | 
			
		||||
/* a CBSP link with a single (remote) peer connected to us */
 | 
			
		||||
struct cbc_cbsp_link {
 | 
			
		||||
	/* entry in osmo_cbsp_cbc.links */
 | 
			
		||||
	struct llist_head list;
 | 
			
		||||
	/* partially received CBSP message (rx completion pending) */
 | 
			
		||||
	struct msgb *rx_msg;
 | 
			
		||||
	struct osmo_fsm_inst *fi;
 | 
			
		||||
	struct cbc_peer *peer;
 | 
			
		||||
	bool is_client;
 | 
			
		||||
	union {
 | 
			
		||||
		struct osmo_stream_srv *srv_conn;
 | 
			
		||||
		struct osmo_stream_cli *cli_conn;
 | 
			
		||||
		void *conn; /* used when we just care about the pointer */
 | 
			
		||||
	};
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct cbc_cbsp_link *cbc_cbsp_link_alloc(struct cbc_cbsp_mgr *cbc, struct cbc_peer *peer);
 | 
			
		||||
void cbc_cbsp_link_free(struct cbc_cbsp_link *link);
 | 
			
		||||
const char *cbc_cbsp_link_name(const struct cbc_cbsp_link *link);
 | 
			
		||||
int cbc_cbsp_link_open_cli(struct cbc_cbsp_link *link);
 | 
			
		||||
int cbc_cbsp_link_tx(struct cbc_cbsp_link *link, struct osmo_cbsp_decoded *cbsp);
 | 
			
		||||
void cbc_cbsp_link_close(struct cbc_cbsp_link *link);
 | 
			
		||||
int cbc_cbsp_link_rx_cb(struct cbc_cbsp_link *link, struct osmo_cbsp_decoded *dec);
 | 
			
		||||
							
								
								
									
										15
									
								
								include/osmocom/cbc/cbsp_link_fsm.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								include/osmocom/cbc/cbsp_link_fsm.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <osmocom/core/fsm.h>
 | 
			
		||||
 | 
			
		||||
extern struct osmo_fsm cbsp_link_fsm;
 | 
			
		||||
 | 
			
		||||
enum cbsp_link_event {
 | 
			
		||||
	CBSP_LINK_E_RX_RST_COMPL,	/* reset complete received */
 | 
			
		||||
	CBSP_LINK_E_RX_RST_FAIL,		/* reset failure received */
 | 
			
		||||
	CBSP_LINK_E_RX_KA_COMPL,		/* keep-alive complete received */
 | 
			
		||||
	CBSP_LINK_E_RX_RESTART,		/* restart received */
 | 
			
		||||
	CBSP_LINK_E_CMD_RESET,		/* RESET command from CBC */
 | 
			
		||||
	CBSP_LINK_E_CMD_CLOSE,		/* CLOSE command from CBC */
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										5
									
								
								include/osmocom/cbc/cbsp_msg.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								include/osmocom/cbc/cbsp_msg.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
#include <osmocom/gsm/cbsp.h>
 | 
			
		||||
 | 
			
		||||
struct cbc_message;
 | 
			
		||||
struct osmo_cbsp_decoded *cbsp_gen_write_replace_req(void *ctx, const struct cbc_message *cbcmsg);
 | 
			
		||||
							
								
								
									
										10
									
								
								include/osmocom/cbc/debug.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								include/osmocom/cbc/debug.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
enum {
 | 
			
		||||
	DMAIN,
 | 
			
		||||
	DSMSCB,
 | 
			
		||||
	DCBSP,
 | 
			
		||||
	DSBcAP,
 | 
			
		||||
	DASN1C,
 | 
			
		||||
	DREST,
 | 
			
		||||
};
 | 
			
		||||
@@ -7,7 +7,7 @@
 | 
			
		||||
#include <osmocom/core/linuxlist.h>
 | 
			
		||||
#include <osmocom/core/it_q.h>
 | 
			
		||||
 | 
			
		||||
#include "cbc_data.h"
 | 
			
		||||
#include <osmocom/cbc/cbc_message.h>
 | 
			
		||||
 | 
			
		||||
enum rest_it_operation {
 | 
			
		||||
	REST_IT_OP_NONE,
 | 
			
		||||
@@ -50,3 +50,4 @@ struct rest_it_op {
 | 
			
		||||
int rest_it_op_send_and_wait(struct rest_it_op *op);
 | 
			
		||||
void rest_it_op_set_http_result(struct rest_it_op *op, uint32_t code, const char *body);
 | 
			
		||||
void rest_it_op_complete(struct rest_it_op *op);
 | 
			
		||||
void rest2main_read_cb(struct osmo_it_q *q, struct llist_head *item);
 | 
			
		||||
							
								
								
									
										52
									
								
								include/osmocom/cbc/sbcap_link.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								include/osmocom/cbc/sbcap_link.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,52 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
#include <osmocom/core/linuxlist.h>
 | 
			
		||||
#include <osmocom/netif/stream.h>
 | 
			
		||||
 | 
			
		||||
#include <osmocom/sbcap/sbcap_common.h>
 | 
			
		||||
 | 
			
		||||
#include "cbc_data.h"
 | 
			
		||||
 | 
			
		||||
#define SBcAP_SCTP_PORT 29168
 | 
			
		||||
typedef struct SBcAP_SBC_AP_PDU SBcAP_SBC_AP_PDU_t;
 | 
			
		||||
#define LOGPSBCAPC(link, level, fmt, args...) \
 | 
			
		||||
	LOGP(DSBcAP, level, "%s: " fmt, cbc_sbcap_link_name(link), ## args)
 | 
			
		||||
 | 
			
		||||
struct cbc_sbcap_link;
 | 
			
		||||
struct osmo_fsm_inst;
 | 
			
		||||
struct cbc_peer;
 | 
			
		||||
 | 
			
		||||
/* Holder of all SBc-AP conn related information: */
 | 
			
		||||
struct cbc_sbcap_mgr {
 | 
			
		||||
	/* libosmo-netif stream server */
 | 
			
		||||
	struct osmo_stream_srv_link *srv_link;
 | 
			
		||||
 | 
			
		||||
	/* MMEs / links connected to this CBC */
 | 
			
		||||
	struct llist_head links;
 | 
			
		||||
 | 
			
		||||
	/* receive call-back; called for every received message */
 | 
			
		||||
	int (*rx_cb)(struct cbc_sbcap_link *link, SBcAP_SBC_AP_PDU_t *pdu);
 | 
			
		||||
};
 | 
			
		||||
struct cbc_sbcap_mgr *cbc_sbcap_mgr_alloc(void *ctx);
 | 
			
		||||
int cbc_sbcap_mgr_open_srv(struct cbc_sbcap_mgr *mgr);
 | 
			
		||||
 | 
			
		||||
/* an SBc-AP link with a single (remote) peer connected to us */
 | 
			
		||||
struct cbc_sbcap_link {
 | 
			
		||||
	/* entry in osmo_sbcap_cbc.links */
 | 
			
		||||
	struct llist_head list;
 | 
			
		||||
	struct osmo_fsm_inst *fi;
 | 
			
		||||
	struct cbc_peer *peer;
 | 
			
		||||
	bool is_client;
 | 
			
		||||
	union {
 | 
			
		||||
		struct osmo_stream_srv *srv_conn;
 | 
			
		||||
		struct osmo_stream_cli *cli_conn;
 | 
			
		||||
		void *conn; /* used when we just care about the pointer */
 | 
			
		||||
	};
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct cbc_sbcap_link *cbc_sbcap_link_alloc(struct cbc_sbcap_mgr *cbc, struct cbc_peer *peer);
 | 
			
		||||
void cbc_sbcap_link_free(struct cbc_sbcap_link *link);
 | 
			
		||||
const char *cbc_sbcap_link_name(const struct cbc_sbcap_link *link);
 | 
			
		||||
int cbc_sbcap_link_open_cli(struct cbc_sbcap_link *link);
 | 
			
		||||
int cbc_sbcap_link_tx(struct cbc_sbcap_link *link, SBcAP_SBC_AP_PDU_t *pdu);
 | 
			
		||||
void cbc_sbcap_link_close(struct cbc_sbcap_link *link);
 | 
			
		||||
int cbc_sbcap_link_rx_cb(struct cbc_sbcap_link *link, SBcAP_SBC_AP_PDU_t *pdu);
 | 
			
		||||
							
								
								
									
										12
									
								
								include/osmocom/cbc/sbcap_link_fsm.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								include/osmocom/cbc/sbcap_link_fsm.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <osmocom/core/fsm.h>
 | 
			
		||||
 | 
			
		||||
extern struct osmo_fsm sbcap_link_fsm;
 | 
			
		||||
 | 
			
		||||
enum sbcap_link_event {
 | 
			
		||||
	SBcAP_LINK_E_RX_RESTART,	/* SBc-AP PWS Restart Ind received */
 | 
			
		||||
	SBcAP_LINK_E_CMD_RESET,		/* RESET command from CBC */
 | 
			
		||||
	SBcAP_LINK_E_CMD_CLOSE,		/* CLOSE command from CBC */
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										17
									
								
								include/osmocom/cbc/sbcap_msg.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								include/osmocom/cbc/sbcap_msg.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
#include <osmocom/core/linuxlist.h>
 | 
			
		||||
#include <osmocom/netif/stream.h>
 | 
			
		||||
#include <osmocom/sbcap/sbcap_common.h>
 | 
			
		||||
 | 
			
		||||
#include "cbc_data.h"
 | 
			
		||||
 | 
			
		||||
struct cbc_message;
 | 
			
		||||
typedef struct SBcAP_SBC_AP_PDU SBcAP_SBC_AP_PDU_t;
 | 
			
		||||
 | 
			
		||||
SBcAP_SBC_AP_PDU_t *sbcap_gen_write_replace_warning_req(void *ctx, const struct cbc_message *cbcmsg);
 | 
			
		||||
SBcAP_SBC_AP_PDU_t *sbcap_gen_stop_warning_req(void *ctx, const struct cbc_message *cbcmsg);
 | 
			
		||||
SBcAP_SBC_AP_PDU_t *sbcap_gen_error_ind(void *ctx, SBcAP_Cause_t cause, SBcAP_SBC_AP_PDU_t *rx_pdu);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
void cci_from_sbcap_bcast_cell_id(struct cbc_cell_id *cci, const SBcAP_CellId_Broadcast_List_Item_t *it);
 | 
			
		||||
void cci_from_sbcap_tai(struct cbc_cell_id *cci, const SBcAP_TAI_t *tai);
 | 
			
		||||
							
								
								
									
										53
									
								
								include/osmocom/cbc/smscb_message_fsm.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								include/osmocom/cbc/smscb_message_fsm.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,53 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <osmocom/core/fsm.h>
 | 
			
		||||
 | 
			
		||||
enum smscb_message_fsm_event {
 | 
			
		||||
	SMSCB_MSG_E_CHILD_DIED,
 | 
			
		||||
	/* create a message (from REST) */
 | 
			
		||||
	SMSCB_MSG_E_CREATE,
 | 
			
		||||
	/* replace a message (from REST) */
 | 
			
		||||
	SMSCB_MSG_E_REPLACE,
 | 
			
		||||
	/* get status of a message (from REST) */
 | 
			
		||||
	SMSCB_MSG_E_STATUS,
 | 
			
		||||
	/* delete a message (from REST) */
 | 
			
		||||
	SMSCB_MSG_E_DELETE,
 | 
			
		||||
	/* peer confirms write */
 | 
			
		||||
	SMSCB_MSG_E_WRITE_ACK,
 | 
			
		||||
	SMSCB_MSG_E_WRITE_NACK,
 | 
			
		||||
	/* peer confirms replace */
 | 
			
		||||
	SMSCB_MSG_E_REPLACE_ACK,
 | 
			
		||||
	SMSCB_MSG_E_REPLACE_NACK,
 | 
			
		||||
	/* peer confirms delete */
 | 
			
		||||
	SMSCB_MSG_E_DELETE_ACK,
 | 
			
		||||
	SMSCB_MSG_E_DELETE_NACK,
 | 
			
		||||
	/* peer confirms status query */
 | 
			
		||||
	SMSCB_MSG_E_STATUS_ACK,
 | 
			
		||||
	SMSCB_MSG_E_STATUS_NACK
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
enum smscb_fsm_state {
 | 
			
		||||
	/* initial state after creation  */
 | 
			
		||||
	SMSCB_S_INIT,
 | 
			
		||||
	/* peer (BSC) have been notified of this SMSCB; we're waiting for ACK */
 | 
			
		||||
	SMSCB_S_WAIT_WRITE_ACK,
 | 
			
		||||
	/* peer (BSC) have confirmed it, message is active */
 | 
			
		||||
	SMSCB_S_ACTIVE,
 | 
			
		||||
	/* we have modified the message and sent REPLACE to peer; we're waiting for ACK */
 | 
			
		||||
	SMSCB_S_WAIT_REPLACE_ACK,
 | 
			
		||||
	/* we have modified the message and sent REPLACE to peer; we're waiting for ACK */
 | 
			
		||||
	SMSCB_S_WAIT_STATUS_ACK,
 | 
			
		||||
	/* we have deleted the message and sent KILL to peer; wait for ACK */
 | 
			
		||||
	SMSCB_S_WAIT_DELETE_ACK,
 | 
			
		||||
	SMSCB_S_DELETED,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
enum smscb_p_fsm_timer {
 | 
			
		||||
	T_WAIT_WRITE_ACK,
 | 
			
		||||
	T_WAIT_REPLACE_ACK,
 | 
			
		||||
	T_WAIT_STATUS_ACK,
 | 
			
		||||
	T_WAIT_DELETE_ACK,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
extern const struct value_string smscb_message_fsm_event_names[];
 | 
			
		||||
							
								
								
									
										40
									
								
								include/osmocom/cbc/smscb_peer_fsm.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								include/osmocom/cbc/smscb_peer_fsm.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,40 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include <stdint.h>
 | 
			
		||||
#include <osmocom/core/fsm.h>
 | 
			
		||||
 | 
			
		||||
enum smscb_peer_fsm_event {
 | 
			
		||||
	/* create a message (from REST) */
 | 
			
		||||
	SMSCB_PEER_E_CREATE,
 | 
			
		||||
	/* replace a message (from REST) */
 | 
			
		||||
	SMSCB_PEER_E_REPLACE,
 | 
			
		||||
	/* get status of a message (from REST) */
 | 
			
		||||
	SMSCB_PEER_E_STATUS,
 | 
			
		||||
	/* delete a message (from REST) */
 | 
			
		||||
	SMSCB_PEER_E_DELETE,
 | 
			
		||||
	/* CBSP peer confirms write */
 | 
			
		||||
	SMSCB_PEER_E_CBSP_WRITE_ACK,
 | 
			
		||||
	SMSCB_PEER_E_CBSP_WRITE_NACK,
 | 
			
		||||
	/* CBSP peer confirms replace */
 | 
			
		||||
	SMSCB_PEER_E_CBSP_REPLACE_ACK,
 | 
			
		||||
	SMSCB_PEER_E_CBSP_REPLACE_NACK,
 | 
			
		||||
	/* CBSP peer confirms delete */
 | 
			
		||||
	SMSCB_PEER_E_CBSP_DELETE_ACK,
 | 
			
		||||
	SMSCB_PEER_E_CBSP_DELETE_NACK,
 | 
			
		||||
	/* CBSP peer confirms status query */
 | 
			
		||||
	SMSCB_PEER_E_CBSP_STATUS_ACK,
 | 
			
		||||
	SMSCB_PEER_E_CBSP_STATUS_NACK,
 | 
			
		||||
	/* SBc-AP peer confirms write */
 | 
			
		||||
	SMSCB_PEER_E_SBCAP_WRITE_ACK,
 | 
			
		||||
	SMSCB_PEER_E_SBCAP_WRITE_NACK,
 | 
			
		||||
	/* SBc-AP peer confirms delete */
 | 
			
		||||
	SMSCB_PEER_E_SBCAP_DELETE_ACK,
 | 
			
		||||
	SMSCB_PEER_E_SBCAP_DELETE_NACK,
 | 
			
		||||
	/* SBc-AP peer sends Write Replace Warning Indication to us */
 | 
			
		||||
	SMSCB_PEER_E_SBCAP_WRITE_IND,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
extern const struct value_string smscb_peer_fsm_event_names[];
 | 
			
		||||
 | 
			
		||||
extern struct osmo_fsm cbsp_smscb_peer_fsm;
 | 
			
		||||
extern struct osmo_fsm sbcap_smscb_peer_fsm;
 | 
			
		||||
							
								
								
									
										120
									
								
								include/osmocom/sbcap/Makefile.am
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								include/osmocom/sbcap/Makefile.am
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,120 @@
 | 
			
		||||
sbcap_HEADERS = \
 | 
			
		||||
	sbcap_common.h \
 | 
			
		||||
	sbcap_internal.h \
 | 
			
		||||
	SBcAP_Broadcast-Cancelled-Area-List-5GS.h \
 | 
			
		||||
	SBcAP_Broadcast-Cancelled-Area-List.h \
 | 
			
		||||
	SBcAP_Broadcast-Empty-Area-List-5GS.h \
 | 
			
		||||
	SBcAP_Broadcast-Empty-Area-List.h \
 | 
			
		||||
	SBcAP_Broadcast-Scheduled-Area-List-5GS.h \
 | 
			
		||||
	SBcAP_Broadcast-Scheduled-Area-List.h \
 | 
			
		||||
	SBcAP_CancelledCellinEAI.h \
 | 
			
		||||
	SBcAP_CancelledCellinEAI-Item.h \
 | 
			
		||||
	SBcAP_CancelledCellinTAI-5GS.h \
 | 
			
		||||
	SBcAP_CancelledCellinTAI.h \
 | 
			
		||||
	SBcAP_CancelledCellinTAI-Item.h \
 | 
			
		||||
	SBcAP_Cause.h \
 | 
			
		||||
	SBcAP_CellId-Broadcast-List-5GS.h \
 | 
			
		||||
	SBcAP_CellId-Broadcast-List.h \
 | 
			
		||||
	SBcAP_CellId-Broadcast-List-Item.h \
 | 
			
		||||
	SBcAP_CellID-Cancelled-Item.h \
 | 
			
		||||
	SBcAP_CellID-Cancelled-List-5GS.h \
 | 
			
		||||
	SBcAP_CellID-Cancelled-List.h \
 | 
			
		||||
	SBcAP_CellIdentity.h \
 | 
			
		||||
	SBcAP_Concurrent-Warning-Message-Indicator.h \
 | 
			
		||||
	SBcAP_Criticality-Diagnostics.h \
 | 
			
		||||
	SBcAP_CriticalityDiagnostics-IE-List.h \
 | 
			
		||||
	SBcAP_Criticality.h \
 | 
			
		||||
	SBcAP_Data-Coding-Scheme.h \
 | 
			
		||||
	SBcAP_ECGIList.h \
 | 
			
		||||
	SBcAP_EmergencyAreaID-Broadcast-List.h \
 | 
			
		||||
	SBcAP_EmergencyAreaID-Broadcast-List-Item.h \
 | 
			
		||||
	SBcAP_EmergencyAreaID-Cancelled-Item.h \
 | 
			
		||||
	SBcAP_EmergencyAreaID-Cancelled-List.h \
 | 
			
		||||
	SBcAP_Emergency-Area-ID.h \
 | 
			
		||||
	SBcAP_Emergency-Area-ID-List.h \
 | 
			
		||||
	SBcAP_ENB-ID.h \
 | 
			
		||||
	SBcAP_Error-Indication.h \
 | 
			
		||||
	SBcAP_EUTRAN-CGI.h \
 | 
			
		||||
	SBcAP_Extended-Repetition-Period.h \
 | 
			
		||||
	SBcAP_EXTERNAL.h \
 | 
			
		||||
	SBcAP_Failed-Cell-List.h \
 | 
			
		||||
	SBcAP_Failed-Cell-List-NR.h \
 | 
			
		||||
	SBcAP_Global-ENB-ID.h \
 | 
			
		||||
	SBcAP_Global-GNB-ID.h \
 | 
			
		||||
	SBcAP_Global-NgENB-ID.h \
 | 
			
		||||
	SBcAP_Global-RAN-Node-ID.h \
 | 
			
		||||
	SBcAP_GNB-ID.h \
 | 
			
		||||
	SBcAP_InitiatingMessage.h \
 | 
			
		||||
	SBcAP_List-of-5GS-Cells-for-Failure.h \
 | 
			
		||||
	SBcAP_List-of-5GS-TAI-for-Restart.h \
 | 
			
		||||
	SBcAP_List-of-5GS-TAIs.h \
 | 
			
		||||
	SBcAP_List-of-EAIs-Restart.h \
 | 
			
		||||
	SBcAP_List-of-TAIs.h \
 | 
			
		||||
	SBcAP_List-of-TAIs-Restart.h \
 | 
			
		||||
	SBcAP_Message-Identifier.h \
 | 
			
		||||
	SBcAP_NgENB-ID.h \
 | 
			
		||||
	SBcAP_NRCellIdentity.h \
 | 
			
		||||
	SBcAP_NR-CGI.h \
 | 
			
		||||
	SBcAP_NR-CGIList.h \
 | 
			
		||||
	SBcAP_NumberOfBroadcasts.h \
 | 
			
		||||
	SBcAP_Number-of-Broadcasts-Requested.h \
 | 
			
		||||
	SBcAP_Omc-Id.h \
 | 
			
		||||
	SBcAP_PLMNidentity.h \
 | 
			
		||||
	SBcAP_Presence.h \
 | 
			
		||||
	SBcAP_ProcedureCode.h \
 | 
			
		||||
	SBcAP_ProtocolExtensionContainer.h \
 | 
			
		||||
	SBcAP_ProtocolExtensionField.h \
 | 
			
		||||
	SBcAP_ProtocolExtensionID.h \
 | 
			
		||||
	SBcAP_ProtocolIE-Container.h \
 | 
			
		||||
	SBcAP_ProtocolIE-ContainerList.h \
 | 
			
		||||
	SBcAP_ProtocolIE-Field.h \
 | 
			
		||||
	SBcAP_ProtocolIE-ID.h \
 | 
			
		||||
	SBcAP_PWS-Failure-Indication.h \
 | 
			
		||||
	SBcAP_PWS-Restart-Indication.h \
 | 
			
		||||
	SBcAP_RAT-Selector-5GS.h \
 | 
			
		||||
	SBcAP_Repetition-Period.h \
 | 
			
		||||
	SBcAP_Restarted-Cell-List.h \
 | 
			
		||||
	SBcAP_Restarted-Cell-List-NR.h \
 | 
			
		||||
	SBcAP_SBC-AP-PDU.h \
 | 
			
		||||
	SBcAP_ScheduledCellinEAI.h \
 | 
			
		||||
	SBcAP_ScheduledCellinEAI-Item.h \
 | 
			
		||||
	SBcAP_ScheduledCellinTAI-5GS.h \
 | 
			
		||||
	SBcAP_ScheduledCellinTAI.h \
 | 
			
		||||
	SBcAP_ScheduledCellinTAI-Item.h \
 | 
			
		||||
	SBcAP_Send-Stop-Warning-Indication.h \
 | 
			
		||||
	SBcAP_Send-Write-Replace-Warning-Indication.h \
 | 
			
		||||
	SBcAP_Serial-Number.h \
 | 
			
		||||
	SBcAP_Stop-All-Indicator.h \
 | 
			
		||||
	SBcAP_Stop-Warning-Indication.h \
 | 
			
		||||
	SBcAP_Stop-Warning-Request.h \
 | 
			
		||||
	SBcAP_Stop-Warning-Response.h \
 | 
			
		||||
	SBcAP_SuccessfulOutcome.h \
 | 
			
		||||
	SBcAP_TAC-5GS.h \
 | 
			
		||||
	SBcAP_TAC.h \
 | 
			
		||||
	SBcAP_TAI-5GS.h \
 | 
			
		||||
	SBcAP_TAI-Broadcast-List-5GS.h \
 | 
			
		||||
	SBcAP_TAI-Broadcast-List.h \
 | 
			
		||||
	SBcAP_TAI-Broadcast-List-Item.h \
 | 
			
		||||
	SBcAP_TAI-Cancelled-List-5GS.h \
 | 
			
		||||
	SBcAP_TAI-Cancelled-List.h \
 | 
			
		||||
	SBcAP_TAI-Cancelled-List-Item.h \
 | 
			
		||||
	SBcAP_TAI.h \
 | 
			
		||||
	SBcAP_TAI-List-for-Warning.h \
 | 
			
		||||
	SBcAP_TBCD-STRING.h \
 | 
			
		||||
	SBcAP_TriggeringMessage.h \
 | 
			
		||||
	SBcAP_TypeOfError.h \
 | 
			
		||||
	SBcAP_Unknown-5GS-Tracking-Area-List.h \
 | 
			
		||||
	SBcAP_Unknown-Tracking-Area-List.h \
 | 
			
		||||
	SBcAP_UnsuccessfulOutcome.h \
 | 
			
		||||
	SBcAP_Warning-Area-Coordinates.h \
 | 
			
		||||
	SBcAP_Warning-Area-List-5GS.h \
 | 
			
		||||
	SBcAP_Warning-Area-List.h \
 | 
			
		||||
	SBcAP_Warning-Message-Content.h \
 | 
			
		||||
	SBcAP_Warning-Security-Information.h \
 | 
			
		||||
	SBcAP_Warning-Type.h \
 | 
			
		||||
	SBcAP_Write-Replace-Warning-Indication.h \
 | 
			
		||||
	SBcAP_Write-Replace-Warning-Request.h \
 | 
			
		||||
	SBcAP_Write-Replace-Warning-Response.h \
 | 
			
		||||
	$(NULL)
 | 
			
		||||
 | 
			
		||||
sbcapdir = $(includedir)/osmocom/sbcap
 | 
			
		||||
@@ -0,0 +1,57 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Broadcast_Cancelled_Area_List_5GS_H_
 | 
			
		||||
#define	_SBcAP_Broadcast_Cancelled_Area_List_5GS_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_CellID_Cancelled_List_5GS;
 | 
			
		||||
struct SBcAP_TAI_Cancelled_List_5GS;
 | 
			
		||||
struct SBcAP_EmergencyAreaID_Cancelled_List;
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Broadcast-Cancelled-Area-List-5GS */
 | 
			
		||||
typedef struct SBcAP_Broadcast_Cancelled_Area_List_5GS {
 | 
			
		||||
	struct SBcAP_CellID_Cancelled_List_5GS	*cellID_Cancelled_List_5GS;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_TAI_Cancelled_List_5GS	*tAI_Cancelled_List_5GS;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_EmergencyAreaID_Cancelled_List	*emergencyAreaID_Cancelled_List;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Broadcast_Cancelled_Area_List_5GS_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Broadcast_Cancelled_Area_List_5GS;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_Broadcast_Cancelled_Area_List_5GS_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Broadcast_Cancelled_Area_List_5GS_1[4];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_CellID-Cancelled-List-5GS.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_TAI-Cancelled-List-5GS.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_EmergencyAreaID-Cancelled-List.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Broadcast_Cancelled_Area_List_5GS_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										58
									
								
								include/osmocom/sbcap/SBcAP_Broadcast-Cancelled-Area-List.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								include/osmocom/sbcap/SBcAP_Broadcast-Cancelled-Area-List.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,58 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Broadcast_Cancelled_Area_List_H_
 | 
			
		||||
#define	_SBcAP_Broadcast_Cancelled_Area_List_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_CellID_Cancelled_List;
 | 
			
		||||
struct SBcAP_TAI_Cancelled_List;
 | 
			
		||||
struct SBcAP_EmergencyAreaID_Cancelled_List;
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Broadcast-Cancelled-Area-List */
 | 
			
		||||
typedef struct SBcAP_Broadcast_Cancelled_Area_List {
 | 
			
		||||
	struct SBcAP_CellID_Cancelled_List	*cellID_Cancelled_List;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_TAI_Cancelled_List	*tAI_Cancelled_List;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_EmergencyAreaID_Cancelled_List	*emergencyAreaID_Cancelled_List;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Broadcast_Cancelled_Area_List_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Broadcast_Cancelled_Area_List;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_Broadcast_Cancelled_Area_List_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Broadcast_Cancelled_Area_List_1[4];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_CellID-Cancelled-List.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_TAI-Cancelled-List.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_EmergencyAreaID-Cancelled-List.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Broadcast_Cancelled_Area_List_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										47
									
								
								include/osmocom/sbcap/SBcAP_Broadcast-Empty-Area-List-5GS.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								include/osmocom/sbcap/SBcAP_Broadcast-Empty-Area-List-5GS.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Broadcast_Empty_Area_List_5GS_H_
 | 
			
		||||
#define	_SBcAP_Broadcast_Empty_Area_List_5GS_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_Global_RAN_Node_ID;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Broadcast-Empty-Area-List-5GS */
 | 
			
		||||
typedef struct SBcAP_Broadcast_Empty_Area_List_5GS {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_Global_RAN_Node_ID) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Broadcast_Empty_Area_List_5GS_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Broadcast_Empty_Area_List_5GS;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_Broadcast_Empty_Area_List_5GS_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Broadcast_Empty_Area_List_5GS_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Broadcast_Empty_Area_List_5GS_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Global-RAN-Node-ID.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Broadcast_Empty_Area_List_5GS_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										47
									
								
								include/osmocom/sbcap/SBcAP_Broadcast-Empty-Area-List.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								include/osmocom/sbcap/SBcAP_Broadcast-Empty-Area-List.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Broadcast_Empty_Area_List_H_
 | 
			
		||||
#define	_SBcAP_Broadcast_Empty_Area_List_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_Global_ENB_ID;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Broadcast-Empty-Area-List */
 | 
			
		||||
typedef struct SBcAP_Broadcast_Empty_Area_List {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_Global_ENB_ID) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Broadcast_Empty_Area_List_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Broadcast_Empty_Area_List;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_Broadcast_Empty_Area_List_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Broadcast_Empty_Area_List_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Broadcast_Empty_Area_List_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Global-ENB-ID.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Broadcast_Empty_Area_List_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
@@ -0,0 +1,57 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Broadcast_Scheduled_Area_List_5GS_H_
 | 
			
		||||
#define	_SBcAP_Broadcast_Scheduled_Area_List_5GS_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_CellId_Broadcast_List_5GS;
 | 
			
		||||
struct SBcAP_TAI_Broadcast_List_5GS;
 | 
			
		||||
struct SBcAP_EmergencyAreaID_Broadcast_List;
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Broadcast-Scheduled-Area-List-5GS */
 | 
			
		||||
typedef struct SBcAP_Broadcast_Scheduled_Area_List_5GS {
 | 
			
		||||
	struct SBcAP_CellId_Broadcast_List_5GS	*cellId_Broadcast_List_5GS;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_TAI_Broadcast_List_5GS	*tAI_Broadcast_List_5GS;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_EmergencyAreaID_Broadcast_List	*emergencyAreaID_Broadcast_List;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Broadcast_Scheduled_Area_List_5GS_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Broadcast_Scheduled_Area_List_5GS;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_Broadcast_Scheduled_Area_List_5GS_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Broadcast_Scheduled_Area_List_5GS_1[4];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_CellId-Broadcast-List-5GS.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_TAI-Broadcast-List-5GS.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_EmergencyAreaID-Broadcast-List.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Broadcast_Scheduled_Area_List_5GS_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										58
									
								
								include/osmocom/sbcap/SBcAP_Broadcast-Scheduled-Area-List.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								include/osmocom/sbcap/SBcAP_Broadcast-Scheduled-Area-List.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,58 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Broadcast_Scheduled_Area_List_H_
 | 
			
		||||
#define	_SBcAP_Broadcast_Scheduled_Area_List_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_CellId_Broadcast_List;
 | 
			
		||||
struct SBcAP_TAI_Broadcast_List;
 | 
			
		||||
struct SBcAP_EmergencyAreaID_Broadcast_List;
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Broadcast-Scheduled-Area-List */
 | 
			
		||||
typedef struct SBcAP_Broadcast_Scheduled_Area_List {
 | 
			
		||||
	struct SBcAP_CellId_Broadcast_List	*cellId_Broadcast_List;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_TAI_Broadcast_List	*tAI_Broadcast_List;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_EmergencyAreaID_Broadcast_List	*emergencyAreaID_Broadcast_List;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Broadcast_Scheduled_Area_List_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Broadcast_Scheduled_Area_List;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_Broadcast_Scheduled_Area_List_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Broadcast_Scheduled_Area_List_1[4];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_CellId-Broadcast-List.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_TAI-Broadcast-List.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_EmergencyAreaID-Broadcast-List.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Broadcast_Scheduled_Area_List_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										53
									
								
								include/osmocom/sbcap/SBcAP_CancelledCellinEAI-Item.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								include/osmocom/sbcap/SBcAP_CancelledCellinEAI-Item.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,53 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_CancelledCellinEAI_Item_H_
 | 
			
		||||
#define	_SBcAP_CancelledCellinEAI_Item_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_EUTRAN-CGI.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_NumberOfBroadcasts.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_CancelledCellinEAI-Item */
 | 
			
		||||
typedef struct SBcAP_CancelledCellinEAI_Item {
 | 
			
		||||
	SBcAP_EUTRAN_CGI_t	 eCGI;
 | 
			
		||||
	SBcAP_NumberOfBroadcasts_t	 numberOfBroadcasts;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_CancelledCellinEAI_Item_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CancelledCellinEAI_Item;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_CancelledCellinEAI_Item_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_CancelledCellinEAI_Item_1[3];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_CancelledCellinEAI_Item_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										47
									
								
								include/osmocom/sbcap/SBcAP_CancelledCellinEAI.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								include/osmocom/sbcap/SBcAP_CancelledCellinEAI.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_CancelledCellinEAI_H_
 | 
			
		||||
#define	_SBcAP_CancelledCellinEAI_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_CancelledCellinEAI_Item;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_CancelledCellinEAI */
 | 
			
		||||
typedef struct SBcAP_CancelledCellinEAI {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_CancelledCellinEAI_Item) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_CancelledCellinEAI_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CancelledCellinEAI;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CancelledCellinEAI_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_CancelledCellinEAI_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_CancelledCellinEAI_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_CancelledCellinEAI-Item.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_CancelledCellinEAI_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										64
									
								
								include/osmocom/sbcap/SBcAP_CancelledCellinTAI-5GS.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										64
									
								
								include/osmocom/sbcap/SBcAP_CancelledCellinTAI-5GS.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,64 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_CancelledCellinTAI_5GS_H_
 | 
			
		||||
#define	_SBcAP_CancelledCellinTAI_5GS_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_NR-CGI.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_NumberOfBroadcasts.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* Forward definitions */
 | 
			
		||||
typedef struct SBcAP_CancelledCellinTAI_5GS__Member {
 | 
			
		||||
	SBcAP_NR_CGI_t	 nR_CGI;
 | 
			
		||||
	SBcAP_NumberOfBroadcasts_t	 numberOfBroadcasts;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} CancelledCellinTAI_5GS__Member;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_CancelledCellinTAI-5GS */
 | 
			
		||||
typedef struct SBcAP_CancelledCellinTAI_5GS {
 | 
			
		||||
	A_SEQUENCE_OF(CancelledCellinTAI_5GS__Member) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_CancelledCellinTAI_5GS_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CancelledCellinTAI_5GS;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CancelledCellinTAI_5GS_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_CancelledCellinTAI_5GS_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_CancelledCellinTAI_5GS_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_CancelledCellinTAI_5GS_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										53
									
								
								include/osmocom/sbcap/SBcAP_CancelledCellinTAI-Item.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								include/osmocom/sbcap/SBcAP_CancelledCellinTAI-Item.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,53 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_CancelledCellinTAI_Item_H_
 | 
			
		||||
#define	_SBcAP_CancelledCellinTAI_Item_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_EUTRAN-CGI.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_NumberOfBroadcasts.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_CancelledCellinTAI-Item */
 | 
			
		||||
typedef struct SBcAP_CancelledCellinTAI_Item {
 | 
			
		||||
	SBcAP_EUTRAN_CGI_t	 eCGI;
 | 
			
		||||
	SBcAP_NumberOfBroadcasts_t	 numberOfBroadcasts;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_CancelledCellinTAI_Item_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CancelledCellinTAI_Item;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_CancelledCellinTAI_Item_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_CancelledCellinTAI_Item_1[3];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_CancelledCellinTAI_Item_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										47
									
								
								include/osmocom/sbcap/SBcAP_CancelledCellinTAI.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								include/osmocom/sbcap/SBcAP_CancelledCellinTAI.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_CancelledCellinTAI_H_
 | 
			
		||||
#define	_SBcAP_CancelledCellinTAI_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_CancelledCellinTAI_Item;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_CancelledCellinTAI */
 | 
			
		||||
typedef struct SBcAP_CancelledCellinTAI {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_CancelledCellinTAI_Item) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_CancelledCellinTAI_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CancelledCellinTAI;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CancelledCellinTAI_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_CancelledCellinTAI_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_CancelledCellinTAI_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_CancelledCellinTAI-Item.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_CancelledCellinTAI_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										61
									
								
								include/osmocom/sbcap/SBcAP_Cause.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										61
									
								
								include/osmocom/sbcap/SBcAP_Cause.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,61 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Cause_H_
 | 
			
		||||
#define	_SBcAP_Cause_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <NativeInteger.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Dependencies */
 | 
			
		||||
typedef enum SBcAP_Cause {
 | 
			
		||||
	SBcAP_Cause_message_accepted	= 0,
 | 
			
		||||
	SBcAP_Cause_parameter_not_recognised	= 1,
 | 
			
		||||
	SBcAP_Cause_parameter_value_invalid	= 2,
 | 
			
		||||
	SBcAP_Cause_valid_message_not_identified	= 3,
 | 
			
		||||
	SBcAP_Cause_tracking_area_not_valid	= 4,
 | 
			
		||||
	SBcAP_Cause_unrecognised_message	= 5,
 | 
			
		||||
	SBcAP_Cause_missing_mandatory_element	= 6,
 | 
			
		||||
	SBcAP_Cause_mME_capacity_exceeded	= 7,
 | 
			
		||||
	SBcAP_Cause_mME_memory_exceeded	= 8,
 | 
			
		||||
	SBcAP_Cause_warning_broadcast_not_supported	= 9,
 | 
			
		||||
	SBcAP_Cause_warning_broadcast_not_operational	= 10,
 | 
			
		||||
	SBcAP_Cause_message_reference_already_used	= 11,
 | 
			
		||||
	SBcAP_Cause_unspecifed_error	= 12,
 | 
			
		||||
	SBcAP_Cause_transfer_syntax_error	= 13,
 | 
			
		||||
	SBcAP_Cause_semantic_error	= 14,
 | 
			
		||||
	SBcAP_Cause_message_not_compatible_with_receiver_state	= 15,
 | 
			
		||||
	SBcAP_Cause_abstract_syntax_error_reject	= 16,
 | 
			
		||||
	SBcAP_Cause_abstract_syntax_error_ignore_and_notify	= 17,
 | 
			
		||||
	SBcAP_Cause_abstract_syntax_error_falsely_constructed_message	= 18
 | 
			
		||||
} e_SBcAP_Cause;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Cause */
 | 
			
		||||
typedef long	 SBcAP_Cause_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Cause_constr_1;
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Cause;
 | 
			
		||||
asn_struct_free_f SBcAP_Cause_free;
 | 
			
		||||
asn_struct_print_f SBcAP_Cause_print;
 | 
			
		||||
asn_constr_check_f SBcAP_Cause_constraint;
 | 
			
		||||
per_type_decoder_f SBcAP_Cause_decode_aper;
 | 
			
		||||
per_type_encoder_f SBcAP_Cause_encode_aper;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Cause_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										53
									
								
								include/osmocom/sbcap/SBcAP_CellID-Cancelled-Item.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								include/osmocom/sbcap/SBcAP_CellID-Cancelled-Item.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,53 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_CellID_Cancelled_Item_H_
 | 
			
		||||
#define	_SBcAP_CellID_Cancelled_Item_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_EUTRAN-CGI.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_NumberOfBroadcasts.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_CellID-Cancelled-Item */
 | 
			
		||||
typedef struct SBcAP_CellID_Cancelled_Item {
 | 
			
		||||
	SBcAP_EUTRAN_CGI_t	 eCGI;
 | 
			
		||||
	SBcAP_NumberOfBroadcasts_t	 numberOfBroadcasts;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_CellID_Cancelled_Item_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CellID_Cancelled_Item;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_CellID_Cancelled_Item_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_CellID_Cancelled_Item_1[3];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_CellID_Cancelled_Item_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										64
									
								
								include/osmocom/sbcap/SBcAP_CellID-Cancelled-List-5GS.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										64
									
								
								include/osmocom/sbcap/SBcAP_CellID-Cancelled-List-5GS.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,64 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_CellID_Cancelled_List_5GS_H_
 | 
			
		||||
#define	_SBcAP_CellID_Cancelled_List_5GS_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_NR-CGI.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_NumberOfBroadcasts.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* Forward definitions */
 | 
			
		||||
typedef struct SBcAP_CellID_Cancelled_List_5GS__Member {
 | 
			
		||||
	SBcAP_NR_CGI_t	 nR_CGI;
 | 
			
		||||
	SBcAP_NumberOfBroadcasts_t	 numberOfBroadcasts;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} CellID_Cancelled_List_5GS__Member;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_CellID-Cancelled-List-5GS */
 | 
			
		||||
typedef struct SBcAP_CellID_Cancelled_List_5GS {
 | 
			
		||||
	A_SEQUENCE_OF(CellID_Cancelled_List_5GS__Member) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_CellID_Cancelled_List_5GS_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CellID_Cancelled_List_5GS;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CellID_Cancelled_List_5GS_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_CellID_Cancelled_List_5GS_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_CellID_Cancelled_List_5GS_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_CellID_Cancelled_List_5GS_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										47
									
								
								include/osmocom/sbcap/SBcAP_CellID-Cancelled-List.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								include/osmocom/sbcap/SBcAP_CellID-Cancelled-List.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_CellID_Cancelled_List_H_
 | 
			
		||||
#define	_SBcAP_CellID_Cancelled_List_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_CellID_Cancelled_Item;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_CellID-Cancelled-List */
 | 
			
		||||
typedef struct SBcAP_CellID_Cancelled_List {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_CellID_Cancelled_Item) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_CellID_Cancelled_List_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CellID_Cancelled_List;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CellID_Cancelled_List_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_CellID_Cancelled_List_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_CellID_Cancelled_List_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_CellID-Cancelled-Item.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_CellID_Cancelled_List_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										62
									
								
								include/osmocom/sbcap/SBcAP_CellId-Broadcast-List-5GS.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										62
									
								
								include/osmocom/sbcap/SBcAP_CellId-Broadcast-List-5GS.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,62 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_CellId_Broadcast_List_5GS_H_
 | 
			
		||||
#define	_SBcAP_CellId_Broadcast_List_5GS_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_NR-CGI.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* Forward definitions */
 | 
			
		||||
typedef struct SBcAP_CellId_Broadcast_List_5GS__Member {
 | 
			
		||||
	SBcAP_NR_CGI_t	 nR_CGI;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} CellId_Broadcast_List_5GS__Member;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_CellId-Broadcast-List-5GS */
 | 
			
		||||
typedef struct SBcAP_CellId_Broadcast_List_5GS {
 | 
			
		||||
	A_SEQUENCE_OF(CellId_Broadcast_List_5GS__Member) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_CellId_Broadcast_List_5GS_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CellId_Broadcast_List_5GS;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CellId_Broadcast_List_5GS_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_CellId_Broadcast_List_5GS_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_CellId_Broadcast_List_5GS_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_CellId_Broadcast_List_5GS_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										51
									
								
								include/osmocom/sbcap/SBcAP_CellId-Broadcast-List-Item.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								include/osmocom/sbcap/SBcAP_CellId-Broadcast-List-Item.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,51 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_CellId_Broadcast_List_Item_H_
 | 
			
		||||
#define	_SBcAP_CellId_Broadcast_List_Item_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_EUTRAN-CGI.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_CellId-Broadcast-List-Item */
 | 
			
		||||
typedef struct SBcAP_CellId_Broadcast_List_Item {
 | 
			
		||||
	SBcAP_EUTRAN_CGI_t	 eCGI;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_CellId_Broadcast_List_Item_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CellId_Broadcast_List_Item;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_CellId_Broadcast_List_Item_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_CellId_Broadcast_List_Item_1[2];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_CellId_Broadcast_List_Item_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										47
									
								
								include/osmocom/sbcap/SBcAP_CellId-Broadcast-List.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								include/osmocom/sbcap/SBcAP_CellId-Broadcast-List.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_CellId_Broadcast_List_H_
 | 
			
		||||
#define	_SBcAP_CellId_Broadcast_List_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_CellId_Broadcast_List_Item;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_CellId-Broadcast-List */
 | 
			
		||||
typedef struct SBcAP_CellId_Broadcast_List {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_CellId_Broadcast_List_Item) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_CellId_Broadcast_List_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CellId_Broadcast_List;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CellId_Broadcast_List_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_CellId_Broadcast_List_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_CellId_Broadcast_List_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_CellId-Broadcast-List-Item.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_CellId_Broadcast_List_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										38
									
								
								include/osmocom/sbcap/SBcAP_CellIdentity.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								include/osmocom/sbcap/SBcAP_CellIdentity.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_CellIdentity_H_
 | 
			
		||||
#define	_SBcAP_CellIdentity_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <BIT_STRING.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* SBcAP_CellIdentity */
 | 
			
		||||
typedef BIT_STRING_t	 SBcAP_CellIdentity_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_CellIdentity_constr_1;
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CellIdentity;
 | 
			
		||||
asn_struct_free_f SBcAP_CellIdentity_free;
 | 
			
		||||
asn_struct_print_f SBcAP_CellIdentity_print;
 | 
			
		||||
asn_constr_check_f SBcAP_CellIdentity_constraint;
 | 
			
		||||
per_type_decoder_f SBcAP_CellIdentity_decode_aper;
 | 
			
		||||
per_type_encoder_f SBcAP_CellIdentity_encode_aper;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_CellIdentity_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
@@ -0,0 +1,44 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Concurrent_Warning_Message_Indicator_H_
 | 
			
		||||
#define	_SBcAP_Concurrent_Warning_Message_Indicator_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <NativeEnumerated.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Dependencies */
 | 
			
		||||
typedef enum SBcAP_Concurrent_Warning_Message_Indicator {
 | 
			
		||||
	SBcAP_Concurrent_Warning_Message_Indicator_true	= 0
 | 
			
		||||
} e_SBcAP_Concurrent_Warning_Message_Indicator;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Concurrent-Warning-Message-Indicator */
 | 
			
		||||
typedef long	 SBcAP_Concurrent_Warning_Message_Indicator_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Concurrent_Warning_Message_Indicator_constr_1;
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Concurrent_Warning_Message_Indicator;
 | 
			
		||||
extern const asn_INTEGER_specifics_t asn_SPC_SBcAP_Concurrent_Warning_Message_Indicator_specs_1;
 | 
			
		||||
asn_struct_free_f SBcAP_Concurrent_Warning_Message_Indicator_free;
 | 
			
		||||
asn_struct_print_f SBcAP_Concurrent_Warning_Message_Indicator_print;
 | 
			
		||||
asn_constr_check_f SBcAP_Concurrent_Warning_Message_Indicator_constraint;
 | 
			
		||||
per_type_decoder_f SBcAP_Concurrent_Warning_Message_Indicator_decode_aper;
 | 
			
		||||
per_type_encoder_f SBcAP_Concurrent_Warning_Message_Indicator_encode_aper;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Concurrent_Warning_Message_Indicator_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										58
									
								
								include/osmocom/sbcap/SBcAP_Criticality-Diagnostics.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								include/osmocom/sbcap/SBcAP_Criticality-Diagnostics.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,58 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Criticality_Diagnostics_H_
 | 
			
		||||
#define	_SBcAP_Criticality_Diagnostics_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProcedureCode.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_TriggeringMessage.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Criticality.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_CriticalityDiagnostics_IE_List;
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Criticality-Diagnostics */
 | 
			
		||||
typedef struct SBcAP_Criticality_Diagnostics {
 | 
			
		||||
	SBcAP_ProcedureCode_t	*procedureCode;	/* OPTIONAL */
 | 
			
		||||
	SBcAP_TriggeringMessage_t	*triggeringMessage;	/* OPTIONAL */
 | 
			
		||||
	SBcAP_Criticality_t	*procedureCriticality;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_CriticalityDiagnostics_IE_List	*iE_CriticalityDiagnostics;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Criticality_Diagnostics_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Criticality_Diagnostics;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_Criticality_Diagnostics_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Criticality_Diagnostics_1[5];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_CriticalityDiagnostics-IE-List.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Criticality_Diagnostics_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										46
									
								
								include/osmocom/sbcap/SBcAP_Criticality.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								include/osmocom/sbcap/SBcAP_Criticality.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,46 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-CommonDataTypes"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_CommonDataTypes.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Criticality_H_
 | 
			
		||||
#define	_SBcAP_Criticality_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <NativeEnumerated.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Dependencies */
 | 
			
		||||
typedef enum SBcAP_Criticality {
 | 
			
		||||
	SBcAP_Criticality_reject	= 0,
 | 
			
		||||
	SBcAP_Criticality_ignore	= 1,
 | 
			
		||||
	SBcAP_Criticality_notify	= 2
 | 
			
		||||
} e_SBcAP_Criticality;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Criticality */
 | 
			
		||||
typedef long	 SBcAP_Criticality_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Criticality_constr_1;
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Criticality;
 | 
			
		||||
extern const asn_INTEGER_specifics_t asn_SPC_SBcAP_Criticality_specs_1;
 | 
			
		||||
asn_struct_free_f SBcAP_Criticality_free;
 | 
			
		||||
asn_struct_print_f SBcAP_Criticality_print;
 | 
			
		||||
asn_constr_check_f SBcAP_Criticality_constraint;
 | 
			
		||||
per_type_decoder_f SBcAP_Criticality_decode_aper;
 | 
			
		||||
per_type_encoder_f SBcAP_Criticality_encode_aper;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Criticality_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										66
									
								
								include/osmocom/sbcap/SBcAP_CriticalityDiagnostics-IE-List.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										66
									
								
								include/osmocom/sbcap/SBcAP_CriticalityDiagnostics-IE-List.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,66 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_CriticalityDiagnostics_IE_List_H_
 | 
			
		||||
#define	_SBcAP_CriticalityDiagnostics_IE_List_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Criticality.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolIE-ID.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_TypeOfError.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* Forward definitions */
 | 
			
		||||
typedef struct SBcAP_CriticalityDiagnostics_IE_List__Member {
 | 
			
		||||
	SBcAP_Criticality_t	 iECriticality;
 | 
			
		||||
	SBcAP_ProtocolIE_ID_t	 iE_ID;
 | 
			
		||||
	SBcAP_TypeOfError_t	 typeOfError;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} CriticalityDiagnostics_IE_List__Member;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_CriticalityDiagnostics-IE-List */
 | 
			
		||||
typedef struct SBcAP_CriticalityDiagnostics_IE_List {
 | 
			
		||||
	A_SEQUENCE_OF(CriticalityDiagnostics_IE_List__Member) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_CriticalityDiagnostics_IE_List_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_CriticalityDiagnostics_IE_List;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_CriticalityDiagnostics_IE_List_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_CriticalityDiagnostics_IE_List_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_CriticalityDiagnostics_IE_List_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_CriticalityDiagnostics_IE_List_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										38
									
								
								include/osmocom/sbcap/SBcAP_Data-Coding-Scheme.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								include/osmocom/sbcap/SBcAP_Data-Coding-Scheme.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Data_Coding_Scheme_H_
 | 
			
		||||
#define	_SBcAP_Data_Coding_Scheme_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <BIT_STRING.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Data-Coding-Scheme */
 | 
			
		||||
typedef BIT_STRING_t	 SBcAP_Data_Coding_Scheme_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Data_Coding_Scheme_constr_1;
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Data_Coding_Scheme;
 | 
			
		||||
asn_struct_free_f SBcAP_Data_Coding_Scheme_free;
 | 
			
		||||
asn_struct_print_f SBcAP_Data_Coding_Scheme_print;
 | 
			
		||||
asn_constr_check_f SBcAP_Data_Coding_Scheme_constraint;
 | 
			
		||||
per_type_decoder_f SBcAP_Data_Coding_Scheme_decode_aper;
 | 
			
		||||
per_type_encoder_f SBcAP_Data_Coding_Scheme_encode_aper;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Data_Coding_Scheme_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										47
									
								
								include/osmocom/sbcap/SBcAP_ECGIList.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								include/osmocom/sbcap/SBcAP_ECGIList.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_ECGIList_H_
 | 
			
		||||
#define	_SBcAP_ECGIList_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_EUTRAN_CGI;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_ECGIList */
 | 
			
		||||
typedef struct SBcAP_ECGIList {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_EUTRAN_CGI) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_ECGIList_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_ECGIList;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_ECGIList_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_ECGIList_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_ECGIList_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_EUTRAN-CGI.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_ECGIList_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										61
									
								
								include/osmocom/sbcap/SBcAP_ENB-ID.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										61
									
								
								include/osmocom/sbcap/SBcAP_ENB-ID.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,61 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_ENB_ID_H_
 | 
			
		||||
#define	_SBcAP_ENB_ID_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <BIT_STRING.h>
 | 
			
		||||
#include <constr_CHOICE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Dependencies */
 | 
			
		||||
typedef enum SBcAP_ENB_ID_PR {
 | 
			
		||||
	SBcAP_ENB_ID_PR_NOTHING,	/* No components present */
 | 
			
		||||
	SBcAP_ENB_ID_PR_macroENB_ID,
 | 
			
		||||
	SBcAP_ENB_ID_PR_homeENB_ID,
 | 
			
		||||
	/* Extensions may appear below */
 | 
			
		||||
	SBcAP_ENB_ID_PR_short_macroENB_ID,
 | 
			
		||||
	SBcAP_ENB_ID_PR_long_macroENB_ID
 | 
			
		||||
} SBcAP_ENB_ID_PR;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_ENB-ID */
 | 
			
		||||
typedef struct SBcAP_ENB_ID {
 | 
			
		||||
	SBcAP_ENB_ID_PR present;
 | 
			
		||||
	union SBcAP_ENB_ID_u {
 | 
			
		||||
		BIT_STRING_t	 macroENB_ID;
 | 
			
		||||
		BIT_STRING_t	 homeENB_ID;
 | 
			
		||||
		/*
 | 
			
		||||
		 * This type is extensible,
 | 
			
		||||
		 * possible extensions are below.
 | 
			
		||||
		 */
 | 
			
		||||
		BIT_STRING_t	 short_macroENB_ID;
 | 
			
		||||
		BIT_STRING_t	 long_macroENB_ID;
 | 
			
		||||
	} choice;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_ENB_ID_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_ENB_ID;
 | 
			
		||||
extern asn_CHOICE_specifics_t asn_SPC_SBcAP_ENB_ID_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_ENB_ID_1[4];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_ENB_ID_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_ENB_ID_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										52
									
								
								include/osmocom/sbcap/SBcAP_EUTRAN-CGI.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								include/osmocom/sbcap/SBcAP_EUTRAN-CGI.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,52 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_EUTRAN_CGI_H_
 | 
			
		||||
#define	_SBcAP_EUTRAN_CGI_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_PLMNidentity.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_CellIdentity.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_EUTRAN-CGI */
 | 
			
		||||
typedef struct SBcAP_EUTRAN_CGI {
 | 
			
		||||
	SBcAP_PLMNidentity_t	 pLMNidentity;
 | 
			
		||||
	SBcAP_CellIdentity_t	 cell_ID;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_EUTRAN_CGI_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_EUTRAN_CGI;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_EUTRAN_CGI_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_EUTRAN_CGI_1[3];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_EUTRAN_CGI_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										65
									
								
								include/osmocom/sbcap/SBcAP_EXTERNAL.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										65
									
								
								include/osmocom/sbcap/SBcAP_EXTERNAL.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,65 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "ASN1C-UsefulInformationObjectClasses"
 | 
			
		||||
 * 	found in "/home/pespin/dev/sysmocom/build/new/out/share/asn1c/standard-modules/ASN1C-UsefulInformationObjectClasses.asn1"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_EXTERNAL_H_
 | 
			
		||||
#define	_SBcAP_EXTERNAL_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <OBJECT_IDENTIFIER.h>
 | 
			
		||||
#include <NativeInteger.h>
 | 
			
		||||
#include <ObjectDescriptor.h>
 | 
			
		||||
#include <ANY.h>
 | 
			
		||||
#include <OCTET_STRING.h>
 | 
			
		||||
#include <BIT_STRING.h>
 | 
			
		||||
#include <constr_CHOICE.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Dependencies */
 | 
			
		||||
typedef enum SBcAP_EXTERNAL__encoding_PR {
 | 
			
		||||
	SBcAP_EXTERNAL__encoding_PR_NOTHING,	/* No components present */
 | 
			
		||||
	SBcAP_EXTERNAL__encoding_PR_single_ASN1_type,
 | 
			
		||||
	SBcAP_EXTERNAL__encoding_PR_octet_aligned,
 | 
			
		||||
	SBcAP_EXTERNAL__encoding_PR_arbitrary
 | 
			
		||||
} SBcAP_EXTERNAL__encoding_PR;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_EXTERNAL */
 | 
			
		||||
typedef struct SBcAP_EXTERNAL {
 | 
			
		||||
	OBJECT_IDENTIFIER_t	*direct_reference;	/* OPTIONAL */
 | 
			
		||||
	long	*indirect_reference;	/* OPTIONAL */
 | 
			
		||||
	ObjectDescriptor_t	*data_value_descriptor;	/* OPTIONAL */
 | 
			
		||||
	struct SBcAP_EXTERNAL__encoding {
 | 
			
		||||
		SBcAP_EXTERNAL__encoding_PR present;
 | 
			
		||||
		union SBcAP_EXTERNAL__SBcAP_encoding_u {
 | 
			
		||||
			ANY_t	 single_ASN1_type;
 | 
			
		||||
			OCTET_STRING_t	 octet_aligned;
 | 
			
		||||
			BIT_STRING_t	 arbitrary;
 | 
			
		||||
		} choice;
 | 
			
		||||
		
 | 
			
		||||
		/* Context for parsing across buffer boundaries */
 | 
			
		||||
		asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
	} encoding;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_EXTERNAL_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_EXTERNAL;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_EXTERNAL_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										42
									
								
								include/osmocom/sbcap/SBcAP_Emergency-Area-ID-List.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								include/osmocom/sbcap/SBcAP_Emergency-Area-ID-List.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Emergency_Area_ID_List_H_
 | 
			
		||||
#define	_SBcAP_Emergency_Area_ID_List_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Emergency-Area-ID.h>
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Emergency-Area-ID-List */
 | 
			
		||||
typedef struct SBcAP_Emergency_Area_ID_List {
 | 
			
		||||
	A_SEQUENCE_OF(SBcAP_Emergency_Area_ID_t) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Emergency_Area_ID_List_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Emergency_Area_ID_List;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_Emergency_Area_ID_List_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Emergency_Area_ID_List_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Emergency_Area_ID_List_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Emergency_Area_ID_List_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										38
									
								
								include/osmocom/sbcap/SBcAP_Emergency-Area-ID.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								include/osmocom/sbcap/SBcAP_Emergency-Area-ID.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Emergency_Area_ID_H_
 | 
			
		||||
#define	_SBcAP_Emergency_Area_ID_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <OCTET_STRING.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Emergency-Area-ID */
 | 
			
		||||
typedef OCTET_STRING_t	 SBcAP_Emergency_Area_ID_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Emergency_Area_ID_constr_1;
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Emergency_Area_ID;
 | 
			
		||||
asn_struct_free_f SBcAP_Emergency_Area_ID_free;
 | 
			
		||||
asn_struct_print_f SBcAP_Emergency_Area_ID_print;
 | 
			
		||||
asn_constr_check_f SBcAP_Emergency_Area_ID_constraint;
 | 
			
		||||
per_type_decoder_f SBcAP_Emergency_Area_ID_decode_aper;
 | 
			
		||||
per_type_encoder_f SBcAP_Emergency_Area_ID_encode_aper;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Emergency_Area_ID_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
@@ -0,0 +1,53 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_EmergencyAreaID_Broadcast_List_Item_H_
 | 
			
		||||
#define	_SBcAP_EmergencyAreaID_Broadcast_List_Item_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Emergency-Area-ID.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ScheduledCellinEAI.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_EmergencyAreaID-Broadcast-List-Item */
 | 
			
		||||
typedef struct SBcAP_EmergencyAreaID_Broadcast_List_Item {
 | 
			
		||||
	SBcAP_Emergency_Area_ID_t	 emergencyAreaID;
 | 
			
		||||
	SBcAP_ScheduledCellinEAI_t	 scheduledCellinEAI;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_EmergencyAreaID_Broadcast_List_Item_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_EmergencyAreaID_Broadcast_List_Item;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_EmergencyAreaID_Broadcast_List_Item_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_EmergencyAreaID_Broadcast_List_Item_1[3];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_EmergencyAreaID_Broadcast_List_Item_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										47
									
								
								include/osmocom/sbcap/SBcAP_EmergencyAreaID-Broadcast-List.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								include/osmocom/sbcap/SBcAP_EmergencyAreaID-Broadcast-List.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_EmergencyAreaID_Broadcast_List_H_
 | 
			
		||||
#define	_SBcAP_EmergencyAreaID_Broadcast_List_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_EmergencyAreaID_Broadcast_List_Item;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_EmergencyAreaID-Broadcast-List */
 | 
			
		||||
typedef struct SBcAP_EmergencyAreaID_Broadcast_List {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_EmergencyAreaID_Broadcast_List_Item) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_EmergencyAreaID_Broadcast_List_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_EmergencyAreaID_Broadcast_List;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_EmergencyAreaID_Broadcast_List_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_EmergencyAreaID_Broadcast_List_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_EmergencyAreaID_Broadcast_List_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_EmergencyAreaID-Broadcast-List-Item.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_EmergencyAreaID_Broadcast_List_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										53
									
								
								include/osmocom/sbcap/SBcAP_EmergencyAreaID-Cancelled-Item.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								include/osmocom/sbcap/SBcAP_EmergencyAreaID-Cancelled-Item.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,53 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_EmergencyAreaID_Cancelled_Item_H_
 | 
			
		||||
#define	_SBcAP_EmergencyAreaID_Cancelled_Item_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Emergency-Area-ID.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_CancelledCellinEAI.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_EmergencyAreaID-Cancelled-Item */
 | 
			
		||||
typedef struct SBcAP_EmergencyAreaID_Cancelled_Item {
 | 
			
		||||
	SBcAP_Emergency_Area_ID_t	 emergencyAreaID;
 | 
			
		||||
	SBcAP_CancelledCellinEAI_t	 cancelledCellinEAI;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_EmergencyAreaID_Cancelled_Item_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_EmergencyAreaID_Cancelled_Item;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_EmergencyAreaID_Cancelled_Item_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_EmergencyAreaID_Cancelled_Item_1[3];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_EmergencyAreaID_Cancelled_Item_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										47
									
								
								include/osmocom/sbcap/SBcAP_EmergencyAreaID-Cancelled-List.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								include/osmocom/sbcap/SBcAP_EmergencyAreaID-Cancelled-List.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_EmergencyAreaID_Cancelled_List_H_
 | 
			
		||||
#define	_SBcAP_EmergencyAreaID_Cancelled_List_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_EmergencyAreaID_Cancelled_Item;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_EmergencyAreaID-Cancelled-List */
 | 
			
		||||
typedef struct SBcAP_EmergencyAreaID_Cancelled_List {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_EmergencyAreaID_Cancelled_Item) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_EmergencyAreaID_Cancelled_List_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_EmergencyAreaID_Cancelled_List;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_EmergencyAreaID_Cancelled_List_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_EmergencyAreaID_Cancelled_List_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_EmergencyAreaID_Cancelled_List_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_EmergencyAreaID-Cancelled-Item.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_EmergencyAreaID_Cancelled_List_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										44
									
								
								include/osmocom/sbcap/SBcAP_Error-Indication.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								include/osmocom/sbcap/SBcAP_Error-Indication.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-PDU-Contents"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_PDU_Contents.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Error_Indication_H_
 | 
			
		||||
#define	_SBcAP_Error_Indication_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolIE-Container.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Error-Indication */
 | 
			
		||||
typedef struct SBcAP_Error_Indication {
 | 
			
		||||
	SBcAP_ProtocolIE_Container_86P8_t	 protocolIEs;
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Error_Indication_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Error_Indication;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_Error_Indication_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Error_Indication_1[1];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Error_Indication_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										38
									
								
								include/osmocom/sbcap/SBcAP_Extended-Repetition-Period.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								include/osmocom/sbcap/SBcAP_Extended-Repetition-Period.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Extended_Repetition_Period_H_
 | 
			
		||||
#define	_SBcAP_Extended_Repetition_Period_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <NativeInteger.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Extended-Repetition-Period */
 | 
			
		||||
typedef long	 SBcAP_Extended_Repetition_Period_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Extended_Repetition_Period_constr_1;
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Extended_Repetition_Period;
 | 
			
		||||
asn_struct_free_f SBcAP_Extended_Repetition_Period_free;
 | 
			
		||||
asn_struct_print_f SBcAP_Extended_Repetition_Period_print;
 | 
			
		||||
asn_constr_check_f SBcAP_Extended_Repetition_Period_constraint;
 | 
			
		||||
per_type_decoder_f SBcAP_Extended_Repetition_Period_decode_aper;
 | 
			
		||||
per_type_encoder_f SBcAP_Extended_Repetition_Period_encode_aper;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Extended_Repetition_Period_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										47
									
								
								include/osmocom/sbcap/SBcAP_Failed-Cell-List-NR.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								include/osmocom/sbcap/SBcAP_Failed-Cell-List-NR.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Failed_Cell_List_NR_H_
 | 
			
		||||
#define	_SBcAP_Failed_Cell_List_NR_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_NR_CGI;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Failed-Cell-List-NR */
 | 
			
		||||
typedef struct SBcAP_Failed_Cell_List_NR {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_NR_CGI) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Failed_Cell_List_NR_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Failed_Cell_List_NR;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_Failed_Cell_List_NR_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Failed_Cell_List_NR_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Failed_Cell_List_NR_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_NR-CGI.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Failed_Cell_List_NR_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										47
									
								
								include/osmocom/sbcap/SBcAP_Failed-Cell-List.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								include/osmocom/sbcap/SBcAP_Failed-Cell-List.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Failed_Cell_List_H_
 | 
			
		||||
#define	_SBcAP_Failed_Cell_List_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_EUTRAN_CGI;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Failed-Cell-List */
 | 
			
		||||
typedef struct SBcAP_Failed_Cell_List {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_EUTRAN_CGI) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Failed_Cell_List_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Failed_Cell_List;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_Failed_Cell_List_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Failed_Cell_List_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Failed_Cell_List_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_EUTRAN-CGI.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Failed_Cell_List_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										56
									
								
								include/osmocom/sbcap/SBcAP_GNB-ID.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								include/osmocom/sbcap/SBcAP_GNB-ID.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,56 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_GNB_ID_H_
 | 
			
		||||
#define	_SBcAP_GNB_ID_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <BIT_STRING.h>
 | 
			
		||||
#include <constr_CHOICE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Dependencies */
 | 
			
		||||
typedef enum SBcAP_GNB_ID_PR {
 | 
			
		||||
	SBcAP_GNB_ID_PR_NOTHING,	/* No components present */
 | 
			
		||||
	SBcAP_GNB_ID_PR_gNB_ID
 | 
			
		||||
	/* Extensions may appear below */
 | 
			
		||||
	
 | 
			
		||||
} SBcAP_GNB_ID_PR;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_GNB-ID */
 | 
			
		||||
typedef struct SBcAP_GNB_ID {
 | 
			
		||||
	SBcAP_GNB_ID_PR present;
 | 
			
		||||
	union SBcAP_GNB_ID_u {
 | 
			
		||||
		BIT_STRING_t	 gNB_ID;
 | 
			
		||||
		/*
 | 
			
		||||
		 * This type is extensible,
 | 
			
		||||
		 * possible extensions are below.
 | 
			
		||||
		 */
 | 
			
		||||
	} choice;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_GNB_ID_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_GNB_ID;
 | 
			
		||||
extern asn_CHOICE_specifics_t asn_SPC_SBcAP_GNB_ID_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_GNB_ID_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_GNB_ID_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_GNB_ID_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										53
									
								
								include/osmocom/sbcap/SBcAP_Global-ENB-ID.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								include/osmocom/sbcap/SBcAP_Global-ENB-ID.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,53 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Global_ENB_ID_H_
 | 
			
		||||
#define	_SBcAP_Global_ENB_ID_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_PLMNidentity.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ENB-ID.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Global-ENB-ID */
 | 
			
		||||
typedef struct SBcAP_Global_ENB_ID {
 | 
			
		||||
	SBcAP_PLMNidentity_t	 pLMNidentity;
 | 
			
		||||
	SBcAP_ENB_ID_t	 eNB_ID;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Global_ENB_ID_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Global_ENB_ID;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_Global_ENB_ID_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Global_ENB_ID_1[3];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProtocolExtensionContainer.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Global_ENB_ID_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										52
									
								
								include/osmocom/sbcap/SBcAP_Global-GNB-ID.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								include/osmocom/sbcap/SBcAP_Global-GNB-ID.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,52 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Global_GNB_ID_H_
 | 
			
		||||
#define	_SBcAP_Global_GNB_ID_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_PLMNidentity.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_GNB-ID.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Global-GNB-ID */
 | 
			
		||||
typedef struct SBcAP_Global_GNB_ID {
 | 
			
		||||
	SBcAP_PLMNidentity_t	 pLMNidentity;
 | 
			
		||||
	SBcAP_GNB_ID_t	 gNB_ID;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Global_GNB_ID_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Global_GNB_ID;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_Global_GNB_ID_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Global_GNB_ID_1[3];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Global_GNB_ID_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										52
									
								
								include/osmocom/sbcap/SBcAP_Global-NgENB-ID.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								include/osmocom/sbcap/SBcAP_Global-NgENB-ID.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,52 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Global_NgENB_ID_H_
 | 
			
		||||
#define	_SBcAP_Global_NgENB_ID_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_PLMNidentity.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ENB-ID.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Global-NgENB-ID */
 | 
			
		||||
typedef struct SBcAP_Global_NgENB_ID {
 | 
			
		||||
	SBcAP_PLMNidentity_t	 pLMNidentity;
 | 
			
		||||
	SBcAP_ENB_ID_t	 ngENB_ID;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Global_NgENB_ID_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Global_NgENB_ID;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_Global_NgENB_ID_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Global_NgENB_ID_1[3];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Global_NgENB_ID_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										59
									
								
								include/osmocom/sbcap/SBcAP_Global-RAN-Node-ID.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										59
									
								
								include/osmocom/sbcap/SBcAP_Global-RAN-Node-ID.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,59 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Global_RAN_Node_ID_H_
 | 
			
		||||
#define	_SBcAP_Global_RAN_Node_ID_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Global-GNB-ID.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Global-NgENB-ID.h>
 | 
			
		||||
#include <constr_CHOICE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Dependencies */
 | 
			
		||||
typedef enum SBcAP_Global_RAN_Node_ID_PR {
 | 
			
		||||
	SBcAP_Global_RAN_Node_ID_PR_NOTHING,	/* No components present */
 | 
			
		||||
	SBcAP_Global_RAN_Node_ID_PR_global_GNB_ID,
 | 
			
		||||
	SBcAP_Global_RAN_Node_ID_PR_global_NgENB_ID
 | 
			
		||||
	/* Extensions may appear below */
 | 
			
		||||
	
 | 
			
		||||
} SBcAP_Global_RAN_Node_ID_PR;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Global-RAN-Node-ID */
 | 
			
		||||
typedef struct SBcAP_Global_RAN_Node_ID {
 | 
			
		||||
	SBcAP_Global_RAN_Node_ID_PR present;
 | 
			
		||||
	union SBcAP_Global_RAN_Node_ID_u {
 | 
			
		||||
		SBcAP_Global_GNB_ID_t	 global_GNB_ID;
 | 
			
		||||
		SBcAP_Global_NgENB_ID_t	 global_NgENB_ID;
 | 
			
		||||
		/*
 | 
			
		||||
		 * This type is extensible,
 | 
			
		||||
		 * possible extensions are below.
 | 
			
		||||
		 */
 | 
			
		||||
	} choice;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_Global_RAN_Node_ID_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Global_RAN_Node_ID;
 | 
			
		||||
extern asn_CHOICE_specifics_t asn_SPC_SBcAP_Global_RAN_Node_ID_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_Global_RAN_Node_ID_1[2];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Global_RAN_Node_ID_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Global_RAN_Node_ID_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										82
									
								
								include/osmocom/sbcap/SBcAP_InitiatingMessage.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										82
									
								
								include/osmocom/sbcap/SBcAP_InitiatingMessage.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,82 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-PDU-Descriptions"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_PDU_Descriptions.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_InitiatingMessage_H_
 | 
			
		||||
#define	_SBcAP_InitiatingMessage_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_ProcedureCode.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Criticality.h>
 | 
			
		||||
#include <ANY.h>
 | 
			
		||||
#include <asn_ioc.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Write-Replace-Warning-Request.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Write-Replace-Warning-Response.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Stop-Warning-Request.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Stop-Warning-Response.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Error-Indication.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Write-Replace-Warning-Indication.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Stop-Warning-Indication.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_PWS-Restart-Indication.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_PWS-Failure-Indication.h>
 | 
			
		||||
#include <OPEN_TYPE.h>
 | 
			
		||||
#include <constr_CHOICE.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Dependencies */
 | 
			
		||||
typedef enum SBcAP_InitiatingMessage__value_PR {
 | 
			
		||||
	SBcAP_InitiatingMessage__value_PR_NOTHING,	/* No components present */
 | 
			
		||||
	SBcAP_InitiatingMessage__value_PR_Write_Replace_Warning_Request,
 | 
			
		||||
	SBcAP_InitiatingMessage__value_PR_Stop_Warning_Request,
 | 
			
		||||
	SBcAP_InitiatingMessage__value_PR_Error_Indication,
 | 
			
		||||
	SBcAP_InitiatingMessage__value_PR_Write_Replace_Warning_Indication,
 | 
			
		||||
	SBcAP_InitiatingMessage__value_PR_Stop_Warning_Indication,
 | 
			
		||||
	SBcAP_InitiatingMessage__value_PR_PWS_Restart_Indication,
 | 
			
		||||
	SBcAP_InitiatingMessage__value_PR_PWS_Failure_Indication
 | 
			
		||||
} SBcAP_InitiatingMessage__value_PR;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_InitiatingMessage */
 | 
			
		||||
typedef struct SBcAP_InitiatingMessage {
 | 
			
		||||
	SBcAP_ProcedureCode_t	 procedureCode;
 | 
			
		||||
	SBcAP_Criticality_t	 criticality;
 | 
			
		||||
	struct SBcAP_InitiatingMessage__value {
 | 
			
		||||
		SBcAP_InitiatingMessage__value_PR present;
 | 
			
		||||
		union SBcAP_InitiatingMessage__SBcAP_value_u {
 | 
			
		||||
			SBcAP_Write_Replace_Warning_Request_t	 Write_Replace_Warning_Request;
 | 
			
		||||
			SBcAP_Stop_Warning_Request_t	 Stop_Warning_Request;
 | 
			
		||||
			SBcAP_Error_Indication_t	 Error_Indication;
 | 
			
		||||
			SBcAP_Write_Replace_Warning_Indication_t	 Write_Replace_Warning_Indication;
 | 
			
		||||
			SBcAP_Stop_Warning_Indication_t	 Stop_Warning_Indication;
 | 
			
		||||
			SBcAP_PWS_Restart_Indication_t	 PWS_Restart_Indication;
 | 
			
		||||
			SBcAP_PWS_Failure_Indication_t	 PWS_Failure_Indication;
 | 
			
		||||
		} choice;
 | 
			
		||||
		
 | 
			
		||||
		/* Context for parsing across buffer boundaries */
 | 
			
		||||
		asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
	} value;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_InitiatingMessage_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_InitiatingMessage;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_InitiatingMessage_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_InitiatingMessage_1[3];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_InitiatingMessage_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										44
									
								
								include/osmocom/sbcap/SBcAP_List-of-5GS-Cells-for-Failure.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								include/osmocom/sbcap/SBcAP_List-of-5GS-Cells-for-Failure.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_List_of_5GS_Cells_for_Failure_H_
 | 
			
		||||
#define	_SBcAP_List_of_5GS_Cells_for_Failure_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_NR_CGI;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_List-of-5GS-Cells-for-Failure */
 | 
			
		||||
typedef struct SBcAP_List_of_5GS_Cells_for_Failure {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_NR_CGI) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_List_of_5GS_Cells_for_Failure_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_List_of_5GS_Cells_for_Failure;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_NR-CGI.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_List_of_5GS_Cells_for_Failure_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										47
									
								
								include/osmocom/sbcap/SBcAP_List-of-5GS-TAI-for-Restart.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								include/osmocom/sbcap/SBcAP_List-of-5GS-TAI-for-Restart.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_List_of_5GS_TAI_for_Restart_H_
 | 
			
		||||
#define	_SBcAP_List_of_5GS_TAI_for_Restart_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_TAI_5GS;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_List-of-5GS-TAI-for-Restart */
 | 
			
		||||
typedef struct SBcAP_List_of_5GS_TAI_for_Restart {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_TAI_5GS) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_List_of_5GS_TAI_for_Restart_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_List_of_5GS_TAI_for_Restart;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_List_of_5GS_TAI_for_Restart_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_List_of_5GS_TAI_for_Restart_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_List_of_5GS_TAI_for_Restart_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_TAI-5GS.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_List_of_5GS_TAI_for_Restart_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										47
									
								
								include/osmocom/sbcap/SBcAP_List-of-5GS-TAIs.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								include/osmocom/sbcap/SBcAP_List-of-5GS-TAIs.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_List_of_5GS_TAIs_H_
 | 
			
		||||
#define	_SBcAP_List_of_5GS_TAIs_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_TAI_5GS;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_List-of-5GS-TAIs */
 | 
			
		||||
typedef struct SBcAP_List_of_5GS_TAIs {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_TAI_5GS) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_List_of_5GS_TAIs_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_List_of_5GS_TAIs;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_List_of_5GS_TAIs_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_List_of_5GS_TAIs_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_List_of_5GS_TAIs_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_TAI-5GS.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_List_of_5GS_TAIs_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										42
									
								
								include/osmocom/sbcap/SBcAP_List-of-EAIs-Restart.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								include/osmocom/sbcap/SBcAP_List-of-EAIs-Restart.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_List_of_EAIs_Restart_H_
 | 
			
		||||
#define	_SBcAP_List_of_EAIs_Restart_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_Emergency-Area-ID.h>
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* SBcAP_List-of-EAIs-Restart */
 | 
			
		||||
typedef struct SBcAP_List_of_EAIs_Restart {
 | 
			
		||||
	A_SEQUENCE_OF(SBcAP_Emergency_Area_ID_t) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_List_of_EAIs_Restart_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_List_of_EAIs_Restart;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_List_of_EAIs_Restart_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_List_of_EAIs_Restart_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_List_of_EAIs_Restart_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_List_of_EAIs_Restart_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										51
									
								
								include/osmocom/sbcap/SBcAP_List-of-TAIs-Restart.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								include/osmocom/sbcap/SBcAP_List-of-TAIs-Restart.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,51 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_List_of_TAIs_Restart_H_
 | 
			
		||||
#define	_SBcAP_List_of_TAIs_Restart_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_TAI.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward definitions */
 | 
			
		||||
typedef struct SBcAP_List_of_TAIs_Restart__Member {
 | 
			
		||||
	SBcAP_TAI_t	 tai;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} List_of_TAIs_Restart__Member;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_List-of-TAIs-Restart */
 | 
			
		||||
typedef struct SBcAP_List_of_TAIs_Restart {
 | 
			
		||||
	A_SEQUENCE_OF(List_of_TAIs_Restart__Member) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_List_of_TAIs_Restart_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_List_of_TAIs_Restart;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_List_of_TAIs_Restart_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_List_of_TAIs_Restart_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_List_of_TAIs_Restart_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_List_of_TAIs_Restart_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										51
									
								
								include/osmocom/sbcap/SBcAP_List-of-TAIs.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								include/osmocom/sbcap/SBcAP_List-of-TAIs.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,51 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_List_of_TAIs_H_
 | 
			
		||||
#define	_SBcAP_List_of_TAIs_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_TAI.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward definitions */
 | 
			
		||||
typedef struct SBcAP_List_of_TAIs__Member {
 | 
			
		||||
	SBcAP_TAI_t	 tai;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} List_of_TAIs__Member;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_List-of-TAIs */
 | 
			
		||||
typedef struct SBcAP_List_of_TAIs {
 | 
			
		||||
	A_SEQUENCE_OF(List_of_TAIs__Member) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_List_of_TAIs_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_List_of_TAIs;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_List_of_TAIs_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_List_of_TAIs_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_List_of_TAIs_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_List_of_TAIs_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										38
									
								
								include/osmocom/sbcap/SBcAP_Message-Identifier.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								include/osmocom/sbcap/SBcAP_Message-Identifier.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Message_Identifier_H_
 | 
			
		||||
#define	_SBcAP_Message_Identifier_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <BIT_STRING.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Message-Identifier */
 | 
			
		||||
typedef BIT_STRING_t	 SBcAP_Message_Identifier_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Message_Identifier_constr_1;
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Message_Identifier;
 | 
			
		||||
asn_struct_free_f SBcAP_Message_Identifier_free;
 | 
			
		||||
asn_struct_print_f SBcAP_Message_Identifier_print;
 | 
			
		||||
asn_constr_check_f SBcAP_Message_Identifier_constraint;
 | 
			
		||||
per_type_decoder_f SBcAP_Message_Identifier_decode_aper;
 | 
			
		||||
per_type_encoder_f SBcAP_Message_Identifier_encode_aper;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Message_Identifier_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										52
									
								
								include/osmocom/sbcap/SBcAP_NR-CGI.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								include/osmocom/sbcap/SBcAP_NR-CGI.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,52 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_NR_CGI_H_
 | 
			
		||||
#define	_SBcAP_NR_CGI_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_PLMNidentity.h>
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_NRCellIdentity.h>
 | 
			
		||||
#include <constr_SEQUENCE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_ProtocolExtensionContainer;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_NR-CGI */
 | 
			
		||||
typedef struct SBcAP_NR_CGI {
 | 
			
		||||
	SBcAP_PLMNidentity_t	 pLMNidentity;
 | 
			
		||||
	SBcAP_NRCellIdentity_t	 nRCellIdentity;
 | 
			
		||||
	struct SBcAP_ProtocolExtensionContainer	*iE_Extensions;	/* OPTIONAL */
 | 
			
		||||
	/*
 | 
			
		||||
	 * This type is extensible,
 | 
			
		||||
	 * possible extensions are below.
 | 
			
		||||
	 */
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_NR_CGI_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_NR_CGI;
 | 
			
		||||
extern asn_SEQUENCE_specifics_t asn_SPC_SBcAP_NR_CGI_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_NR_CGI_1[3];
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_NR_CGI_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										47
									
								
								include/osmocom/sbcap/SBcAP_NR-CGIList.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								include/osmocom/sbcap/SBcAP_NR-CGIList.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_NR_CGIList_H_
 | 
			
		||||
#define	_SBcAP_NR_CGIList_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <asn_SEQUENCE_OF.h>
 | 
			
		||||
#include <constr_SEQUENCE_OF.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Forward declarations */
 | 
			
		||||
struct SBcAP_NR_CGI;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_NR-CGIList */
 | 
			
		||||
typedef struct SBcAP_NR_CGIList {
 | 
			
		||||
	A_SEQUENCE_OF(struct SBcAP_NR_CGI) list;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_NR_CGIList_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_NR_CGIList;
 | 
			
		||||
extern asn_SET_OF_specifics_t asn_SPC_SBcAP_NR_CGIList_specs_1;
 | 
			
		||||
extern asn_TYPE_member_t asn_MBR_SBcAP_NR_CGIList_1[1];
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_NR_CGIList_constr_1;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Referred external types */
 | 
			
		||||
#include <osmocom/sbcap/SBcAP_NR-CGI.h>
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_NR_CGIList_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										38
									
								
								include/osmocom/sbcap/SBcAP_NRCellIdentity.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								include/osmocom/sbcap/SBcAP_NRCellIdentity.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_NRCellIdentity_H_
 | 
			
		||||
#define	_SBcAP_NRCellIdentity_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <BIT_STRING.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* SBcAP_NRCellIdentity */
 | 
			
		||||
typedef BIT_STRING_t	 SBcAP_NRCellIdentity_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_NRCellIdentity_constr_1;
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_NRCellIdentity;
 | 
			
		||||
asn_struct_free_f SBcAP_NRCellIdentity_free;
 | 
			
		||||
asn_struct_print_f SBcAP_NRCellIdentity_print;
 | 
			
		||||
asn_constr_check_f SBcAP_NRCellIdentity_constraint;
 | 
			
		||||
per_type_decoder_f SBcAP_NRCellIdentity_decode_aper;
 | 
			
		||||
per_type_encoder_f SBcAP_NRCellIdentity_encode_aper;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_NRCellIdentity_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										57
									
								
								include/osmocom/sbcap/SBcAP_NgENB-ID.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										57
									
								
								include/osmocom/sbcap/SBcAP_NgENB-ID.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,57 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_NgENB_ID_H_
 | 
			
		||||
#define	_SBcAP_NgENB_ID_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <BIT_STRING.h>
 | 
			
		||||
#include <constr_CHOICE.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* Dependencies */
 | 
			
		||||
typedef enum SBcAP_NgENB_ID_PR {
 | 
			
		||||
	SBcAP_NgENB_ID_PR_NOTHING,	/* No components present */
 | 
			
		||||
	SBcAP_NgENB_ID_PR_macroNgENB_ID,
 | 
			
		||||
	SBcAP_NgENB_ID_PR_shortMacroNgENB_ID,
 | 
			
		||||
	SBcAP_NgENB_ID_PR_longMacroNgENB_ID
 | 
			
		||||
	/* Extensions may appear below */
 | 
			
		||||
	
 | 
			
		||||
} SBcAP_NgENB_ID_PR;
 | 
			
		||||
 | 
			
		||||
/* SBcAP_NgENB-ID */
 | 
			
		||||
typedef struct SBcAP_NgENB_ID {
 | 
			
		||||
	SBcAP_NgENB_ID_PR present;
 | 
			
		||||
	union SBcAP_NgENB_ID_u {
 | 
			
		||||
		BIT_STRING_t	 macroNgENB_ID;
 | 
			
		||||
		BIT_STRING_t	 shortMacroNgENB_ID;
 | 
			
		||||
		BIT_STRING_t	 longMacroNgENB_ID;
 | 
			
		||||
		/*
 | 
			
		||||
		 * This type is extensible,
 | 
			
		||||
		 * possible extensions are below.
 | 
			
		||||
		 */
 | 
			
		||||
	} choice;
 | 
			
		||||
	
 | 
			
		||||
	/* Context for parsing across buffer boundaries */
 | 
			
		||||
	asn_struct_ctx_t _asn_ctx;
 | 
			
		||||
} SBcAP_NgENB_ID_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_NgENB_ID;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_NgENB_ID_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										38
									
								
								include/osmocom/sbcap/SBcAP_Number-of-Broadcasts-Requested.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								include/osmocom/sbcap/SBcAP_Number-of-Broadcasts-Requested.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Number_of_Broadcasts_Requested_H_
 | 
			
		||||
#define	_SBcAP_Number_of_Broadcasts_Requested_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <NativeInteger.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Number-of-Broadcasts-Requested */
 | 
			
		||||
typedef long	 SBcAP_Number_of_Broadcasts_Requested_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Number_of_Broadcasts_Requested_constr_1;
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Number_of_Broadcasts_Requested;
 | 
			
		||||
asn_struct_free_f SBcAP_Number_of_Broadcasts_Requested_free;
 | 
			
		||||
asn_struct_print_f SBcAP_Number_of_Broadcasts_Requested_print;
 | 
			
		||||
asn_constr_check_f SBcAP_Number_of_Broadcasts_Requested_constraint;
 | 
			
		||||
per_type_decoder_f SBcAP_Number_of_Broadcasts_Requested_decode_aper;
 | 
			
		||||
per_type_encoder_f SBcAP_Number_of_Broadcasts_Requested_encode_aper;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Number_of_Broadcasts_Requested_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										38
									
								
								include/osmocom/sbcap/SBcAP_NumberOfBroadcasts.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								include/osmocom/sbcap/SBcAP_NumberOfBroadcasts.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_NumberOfBroadcasts_H_
 | 
			
		||||
#define	_SBcAP_NumberOfBroadcasts_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <NativeInteger.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* SBcAP_NumberOfBroadcasts */
 | 
			
		||||
typedef long	 SBcAP_NumberOfBroadcasts_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_NumberOfBroadcasts_constr_1;
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_NumberOfBroadcasts;
 | 
			
		||||
asn_struct_free_f SBcAP_NumberOfBroadcasts_free;
 | 
			
		||||
asn_struct_print_f SBcAP_NumberOfBroadcasts_print;
 | 
			
		||||
asn_constr_check_f SBcAP_NumberOfBroadcasts_constraint;
 | 
			
		||||
per_type_decoder_f SBcAP_NumberOfBroadcasts_decode_aper;
 | 
			
		||||
per_type_encoder_f SBcAP_NumberOfBroadcasts_encode_aper;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_NumberOfBroadcasts_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
							
								
								
									
										38
									
								
								include/osmocom/sbcap/SBcAP_Omc-Id.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								include/osmocom/sbcap/SBcAP_Omc-Id.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,38 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 | 
			
		||||
 * From ASN.1 module "SBC-AP-IEs"
 | 
			
		||||
 * 	found in "../../src/sbcap/asn1/SBC_AP_IEs.asn"
 | 
			
		||||
 * 	`asn1c -S /home/pespin/dev/sysmocom/build/new/out/share/asn1c -fcompound-names -gen-APER -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-OER -no-gen-UPER -no-gen-example`
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef	_SBcAP_Omc_Id_H_
 | 
			
		||||
#define	_SBcAP_Omc_Id_H_
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include <asn_application.h>
 | 
			
		||||
 | 
			
		||||
/* Including external dependencies */
 | 
			
		||||
#include <OCTET_STRING.h>
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
extern "C" {
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/* SBcAP_Omc-Id */
 | 
			
		||||
typedef OCTET_STRING_t	 SBcAP_Omc_Id_t;
 | 
			
		||||
 | 
			
		||||
/* Implementation */
 | 
			
		||||
extern asn_per_constraints_t asn_PER_type_SBcAP_Omc_Id_constr_1;
 | 
			
		||||
extern asn_TYPE_descriptor_t asn_DEF_SBcAP_Omc_Id;
 | 
			
		||||
asn_struct_free_f SBcAP_Omc_Id_free;
 | 
			
		||||
asn_struct_print_f SBcAP_Omc_Id_print;
 | 
			
		||||
asn_constr_check_f SBcAP_Omc_Id_constraint;
 | 
			
		||||
per_type_decoder_f SBcAP_Omc_Id_decode_aper;
 | 
			
		||||
per_type_encoder_f SBcAP_Omc_Id_encode_aper;
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif	/* _SBcAP_Omc_Id_H_ */
 | 
			
		||||
#include <asn_internal.h>
 | 
			
		||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user