Commit Graph

8 Commits

Author SHA1 Message Date
Pau Espin 6e59534d6b Add initial SBc-AP support to osmo-cbc
This patch makes use of the newly introduced sbcap library, and
introduces new code (and extends existing one) to handle all the aspects
of MME peers talking SBc-AP and its underlaying SCTP connection.

This commit doesn't aim to implement all the SBc-AP features, but to
implement a minimal subset of features already available for CBSP in
osmo-cbc, in order to have similar support level for both 2G and 4G
networks.

Related: OS#4945
Change-Id: Ib278bc1d1a74459814016fef7a8fe21cc29d46c9
2022-07-19 09:10:12 +00:00
Pau Espin 8dc5648176 Move header files to include/osmocom/cbc/ dir
Change-Id: Id6c9f99805169d624a2c6e001fe1983e24fdc5c3
2022-07-04 13:35:47 +02:00
Harald Welte 8b12076f97 cbc: Don't crash if peer->remote_host is NULL
As the peer->remote_host is initially NULL when creating a CBC peer,
the code should tolerate this.  The situation arises in two cases:

* if a peer is created by VTY but without any subequent 'remote-ip'
  statement
* if a peer is auto-created by 'unknown-peers accept'

Closes: OS#5506
Change-Id: I455e61f379f042680cdd2600a08d57a1ea22897c
2022-05-06 10:44:26 +02:00
Harald Welte 0aa005141d WIP: smscb_peer_fsm
Change-Id: I7941e373bea6ed5299fa9f53c03ff7cbcf38548d
2020-12-30 17:18:35 +01:00
Harald Welte 6b5f8c15ab add missing copyright/license statements
Change-Id: I0ddfdb1a88ed3559bc32f317a85387e6ca75934f
2020-12-30 17:17:03 +01:00
Harald Welte fb6ea76b76 add cbc_peer_proto_name value_string
Change-Id: I695cd5030c4bae79e215d3a3f9a6bd56c80788cd
2019-08-05 22:09:34 +02:00
Harald Welte bdf74e9a89 CBSP Server improvements
Change-Id: Id4e661ab9281c394eaa82430d49f7e3dfeab3f57
2019-08-05 22:08:53 +02:00
Harald Welte ba6868f4b9 Add some basic functions operating on cbc_data structures
Change-Id: I6c2e5a193a902040f21e6c6d5de578647696d9d6
2019-07-20 21:51:53 +02:00