summaryrefslogtreecommitdiffstats
path: root/library/IPA_Emulation.ttcnpp
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-05-18 20:17:25 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-05-18 20:37:20 +0700
commit8701b273ddd7fae048e5e199d59739654ac54421 (patch)
tree36f970de437f2347aaa3d248032a8ab6be9df802 /library/IPA_Emulation.ttcnpp
parenta416cb8afe6839e6d533178d1e96301b43411c7f (diff)
library/IPA: rename ASP_IPA_EventUpDown to ASP_IPA_EventType
The old name was a bit confusing, because this enumerated type also contains ASP_IPA_EVENT_ID_ACK, among with UP/DOWN events. Change-Id: I8f73a64de40d1c8e9b7f43f538d6b59dcede065f
Diffstat (limited to 'library/IPA_Emulation.ttcnpp')
-rw-r--r--library/IPA_Emulation.ttcnpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/IPA_Emulation.ttcnpp b/library/IPA_Emulation.ttcnpp
index 7b80c2d..6658ca8 100644
--- a/library/IPA_Emulation.ttcnpp
+++ b/library/IPA_Emulation.ttcnpp
@@ -76,7 +76,7 @@ type record ASP_IPA_Unitdata {
octetstring payload
}
-type enumerated ASP_IPA_EventUpDown {
+type enumerated ASP_IPA_EventType {
ASP_IPA_EVENT_DOWN,
ASP_IPA_EVENT_UP,
ASP_IPA_EVENT_ID_ACK
@@ -85,10 +85,10 @@ type enumerated ASP_IPA_EventUpDown {
/* an event indicating us whether or not a connection is physically up or down,
* and whether we have received an ID_ACK */
type union ASP_IPA_Event {
- ASP_IPA_EventUpDown up_down
+ ASP_IPA_EventType up_down
}
-template ASP_IPA_Event t_ASP_IPA_EVT_UD(ASP_IPA_EventUpDown ud) := {
+template ASP_IPA_Event t_ASP_IPA_EVT_UD(ASP_IPA_EventType ud) := {
up_down := ud
}