path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
2018-07-20remove unused -p option from getopt() call in sccp_demo_userStefan Sperling1-1/+1
Change-Id: I31f30d8c855cb5faf3173987bfe5b36f5a585d02 Depends: I7432e6fc2617e0fd77a098fcd7d14abc40db7229
2018-07-20sccp_demo_user: use point code 23 for server and 1 for clientStefan Sperling1-19/+48
Fix previous commit 4dc9088cabedc40cb9072814237ad5926b12bd35 which broke this by using -1 for local and 23 for remote PC, for both server and client. Change-Id: I7432e6fc2617e0fd77a098fcd7d14abc40db7229 Related: OS#2666
2018-06-14rename m3ua_example to sccp_demo_userStefan Sperling2-5/+5
The new name allows for more natural naming of variables in TTCN3 code when this program is used as a TTCN3 test component. Consider e.g. "SCCP_DEMO_USER_VTY" vs. "M3UA_EXAMPLE_VTY". Change-Id: I92b5e16e765a1ac36371a16933389903628f8dfe Related: OS#2666
2018-06-12make it possible to pass parameters to m3ua_exampleStefan Sperling1-16/+131
There are plans to use the m3ua_example tool as an SCCP peer for a TTCN3 test suite. Make it possible to pass paramters to this tool so the user can override hard-coded default values of IP addresses, ports, and point codes. Change-Id: I52243ae926c76020de41c8dfc7263517c7263d7e
2018-04-17use osmo_init_logging2Pau Espin Pedrol1-2/+3
Change-Id: I0d45b9381125c496a691ac5da68190b7b3479fc3
2017-11-01vty: skip installing cmds now always installed by defaultNeels Hofmeyr1-1/+0
vty_install_default() and install_default() will soon be deprecated. Depends: I5021c64a787b63314e0f2f1cba0b8fc7bff4f09b Change-Id: I185aa3a11cb63c893ed80f326f852bde95217321
2017-09-03sccp_sap.h: Fix SSN for BSSAP and BSSAP-LEHarald Welte1-1/+1
* BSSAP is 254 on both MSC and BSC side: Add missing define * BSSAP-LE (LCS Extension) has 250/251, adjust name to add -LE suffix Change-Id: Iccec75cfc0cf16bd717a9bd4606d1e772c332ccc
2017-08-07osmo_ss7_vty_init: ensure a talloc ctx is set by userNeels Hofmeyr1-1/+1
Drop the separate osmo_ss7_set_vty_alloc_ctx() because we are likely to forget calling it. Instead, incorporate into osmo_ss7_vty_init_*() with a new ctx arg, and set the static context var in vty_init_shared(). Change-Id: Id4e7f47979001f7856b0b3665c9e94982e75e490
2017-06-22sccp_test_vty: Fix compilation warning: Unused variablePau Espin Pedrol1-1/+1
Instead of removing the variable, leave it there with unused attribute set because it is an example and gives extra information to potential readers of the function (it provides you with the actual type of void* _scu). Change-Id: Id5fddf261a7a75ee1d6e9aff0734065ebf8551ab
2017-04-14m3ua_example: Add SS7 and SCCP VTYHarald Welte1-0/+2
Change-Id: Id03d2f94d22445ada01917356a5ec5a8e4fa3fca
2017-04-13sccp_test_server: Don't use '0' as local referenceHarald Welte1-1/+1
the '0' confuses the Ericsson SCCP code for Eclipse Titan, even though the spec considers it permitted. Change-Id: I21269a7d610a4bf52555ffcef4f8acc55824515e
2017-04-10Allow clients to specify local IP/portHarald Welte1-1/+1
Change-Id: Ief7ce8181442fd0f51c34cf598269ed3a6beacea
2017-04-10m3ua_example: Add talloc reportingHarald Welte1-5/+26
This can be used to check for memory leaks while running the example code. Change-Id: I87caa76a2be3c92c93e419242595107d744bad97
2017-04-10sigtran: fix various memory leaks (msgb and xua_msg)Harald Welte2-0/+4
The general rule for 'struct xua_msg' is now that it is free'd by the function that also allocates it in the first place. Any downstream consumer of the xua_msg may interpret it, but not hold any references or free() it. Change-Id: I708505d129da5824c69b31a13a9c93201929bada
2017-04-10Add example program how to use M3UA+SCCP client and serverHarald Welte5-0/+388
This is an example tool that can be run either as server (SG) or as client (ASP) with a SCCP+M3UA stacking, and communicate via connectionless and connection-oriented primitives over it Change-Id: Id698ce2da5726e304dfa1773b794671dc80d853c