Commit 79b6884e authored by Luke Mewburn's avatar Luke Mewburn
Browse files

LI-PS-PDU: adapt to DeliveryEndpoint choice

Support different DeliveryEndpoint choices: DeliveryAddressPort, DeliveryHostPort
parent 242f3dab
Loading
Loading
Loading
Loading
Loading
+24 −11
Original line number Diff line number Diff line
@@ -739,9 +739,30 @@ DeliveryDestination ::= SEQUENCE

DeliveryInterface ::= CHOICE
{
    hi2                         [1] IPAddressPort,
    hi3                         [2] IPAddressPort,
    hi4                         [3] IPAddressPort,
    hi2                         [1] DeliveryEndpoint,
    hi3                         [2] DeliveryEndpoint,
    hi4                         [3] DeliveryEndpoint,
    ...
}

DeliveryEndpoint ::= CHOICE
{
    deliveryAddressPort         [1] DeliveryAddressPort,
    deliveryHostPort            [2] DeliveryHostPort,
    ... 
}

DeliveryAddressPort ::= SEQUENCE
{
    address                     [1] IPAddress,
    port                        [2] Common-Parameters.TCPPort,
    ...
}

DeliveryHostPort ::= SEQUENCE
{
    host                        [1] UTF8String,
    port                        [2] Common-Parameters.TCPPort,
    ...
}

@@ -758,14 +779,6 @@ DeliveryPayloadType ::= ENUMERATED
    ...
}

-- XXX temporary type
IPAddressPort ::= SEQUENCE
{
    address [1] IPAddress,
    port    [2] Common-Parameters.TCPPort,
    ...
}

-- ===================================
-- Common Parameters
-- ===================================