path: root/lapdm
diff options
authorHarald Welte <>2018-02-25 23:31:37 +0100
committerHarald Welte <>2018-02-27 22:32:49 +0100
commit6fc784e3c8d35dc952f0e92adc2bf29327a8a4b1 (patch)
tree5d2b72933b1a50d95a6a0306d60ed580ddcad359 /lapdm
parent48494ca24582df3eb4ced2c155b16f94eaa08aea (diff)
L1CTL: Add message segmentation helper via getMsgLen()
As L1CTL is using a stream socket, we need to give the UNIX_DOMAIN port some clue as to where our L1CTL message boundaries are in the stream. This requires a patched UNIX_DOMAIN_SOCKETasp test port with the following commit applied: commit 655cb4ab2ac006b3a73d1b679c83081d9743410a Author: Harald Welte <> Date: Sun Feb 25 23:25:46 2018 +0100 Add "getMsgLen" function similar to IPL4asp_PT Change-Id: Iab33f57cb4311180e521a76307a552d16287b062
Diffstat (limited to 'lapdm')
2 files changed, 5 insertions, 2 deletions
diff --git a/lapdm/ b/lapdm/
index 93655f0..5ecc45c 100755
--- a/lapdm/
+++ b/lapdm/
@@ -15,8 +15,11 @@ DIR=$BASEDIR/titan.TestPorts.UNIX_DOMAIN_SOCKETasp/src
FILES=" UD_PT.hh UD_PortType.ttcn UD_Types.ttcn"
gen_links $DIR $FILES
+gen_links $DIR $FILES
-FILES="General_Types.ttcn GSM_Types.ttcn GSM_RR_Types.ttcn RLCMAC_CSN1_Types.ttcn Osmocom_Types.ttcn L1CTL_PortType.ttcn L1CTL_Types.ttcn LAPDm_RAW_PT.ttcn LAPDm_Types.ttcn RLCMAC_Types.ttcn"
+FILES="General_Types.ttcn GSM_Types.ttcn GSM_RR_Types.ttcn RLCMAC_CSN1_Types.ttcn Osmocom_Types.ttcn L1CTL_PortType.ttcn L1CTL_PortType_CtrlFunct.ttcn L1CTL_Types.ttcn LAPDm_RAW_PT.ttcn LAPDm_Types.ttcn RLCMAC_Types.ttcn"
gen_links $DIR $FILES
diff --git a/lapdm/ b/lapdm/
index c3601c8..bb02fe8 100755
--- a/lapdm/
+++ b/lapdm/
@@ -1,5 +1,5 @@
-FILES="*.ttcn UD_PT.hh"
+FILES="*.ttcn UD_PT.hh"
../ L1CTL_Test.ttcn $FILES