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
This commit is contained in:
parent
a416cb8afe
commit
8701b273dd
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue