Commit Graph

8 Commits

Author SHA1 Message Date
Max 6973a241a8 libosmonetify SMPP
Use libosmo-netif instead of socket interface.
Note: osmo_stream_srv_recv() is not used for now to keep as much of existing
code as possible and make troubleshooting easier.

Related: OS#5568
Change-Id: Idc2e60af1010783e555e61b114ae61f55a89d890
Signed-off-by: Max <msuraev@sysmocom.de>
2022-07-30 18:41:14 +07:00
Max 6c4f23df5e SMPP: move read/write callbacks to libsmpputil
Related: OS#5568
Change-Id: I875eb5249004d3a960aee46c5099592d18fcaa76
2022-07-30 18:41:14 +07:00
Max f80621540f SMPP: move common functions to libsmpputil
Related: OS#5568
Change-Id: Icb046570803acb3eff89e2a4eb979c4899d485f7
Signed-off-by: Max <msuraev@sysmocom.de>
2022-07-30 18:41:14 +07:00
Max b278a2d7d1 SMPP: move init funcs to smpp_smsc.h
This allows to get rid of monstrous gsm_data.h include which in turn makes sharing code via smpp.h much easier.

Related: OS#5568
Change-Id: I2140ed57e64f17fb79130014eaf88f58b62d7a00
2022-07-30 17:30:48 +07:00
Max d1c3e7abbd Make esme struct shared
This helps to merge similar code from smpp_mirror and smpp_* in follow-up patches.

Related: OS#5568
Change-Id: I8f7ac2c00d16660925dd0b03aa1a0973edf9eb70
2022-07-30 16:02:27 +07:00
Max 53006e4c56 Add ESME-specific logging
Related: OS#5568
Change-Id: Ie5ddde762350385f8d18ee1d441584a41b0290ec
2022-07-30 16:02:18 +07:00
Max 66d6998347 Introduce libsmpputil
As part of preparation for libosmo-netif migration let's move common SMPP code
into separate build-time library and use it for both smpp_mirror and OsmoMSC.
While at it we also fix id/password legth limits in smpp_mirror and drop unused
fields from ESME struct.

Related: OS#5568
Change-Id: I61910651bc7c188dc2fb67d96189a66a47e7e8fb
2022-07-30 15:53:25 +07:00
Neels Hofmeyr 9084396467 rename include/openbsc to include/osmocom/msc
Change-Id: I1f96a1285bbd1b4607614856bca935d5c26e2da9
2017-09-06 16:41:25 +02:00