Annotation of 43BSDReno/contrib/isode-beta/psap2-lpp/ps.py, revision 1.1

1.1     ! root        1: -- ps.py - pseudo-presentation service definitions
        !             2: --     lifted directly from RFC1085
        !             3: 
        !             4: -- $Header: /f/osi/psap2-lpp/RCS/ps.py,v 7.0 89/11/23 22:15:49 mrose Rel $
        !             5: --
        !             6: -- Contributed by The Wollongong Group, Inc.
        !             7: --
        !             8: --
        !             9: -- $Log:       ps.py,v $
        !            10: -- Revision 7.0  89/11/23  22:15:49  mrose
        !            11: -- Release 6.0
        !            12: -- 
        !            13: 
        !            14: --
        !            15: --                               NOTICE
        !            16: --
        !            17: --    Acquisition, use, and distribution of this module and related
        !            18: --    materials are subject to the restrictions of a license agreement.
        !            19: --    Consult the Preface in the User's Manual for the full terms of
        !            20: --    this agreement.
        !            21: --
        !            22: --
        !            23: 
        !            24: 
        !            25: --* RFC1085-PS *-- PS DEFINITIONS ::=
        !            26: 
        !            27: %{
        !            28: #ifndef        lint
        !            29: static char *rcsid = "$Header: /f/osi/psap2-lpp/RCS/ps.py,v 7.0 89/11/23 22:15:49 mrose Rel $";
        !            30: #endif
        !            31: %}
        !            32: 
        !            33: BEGIN
        !            34: 
        !            35: PDUs ::=
        !            36:        CHOICE {
        !            37:            connectRequest
        !            38:                ConnectRequest-PDU,
        !            39: 
        !            40:            connectResponse
        !            41:                ConnectResponse-PDU,
        !            42: 
        !            43:            releaseRequest
        !            44:                ReleaseRequest-PDU,
        !            45: 
        !            46:            releaseResponse
        !            47:                ReleaseResponse-PDU,
        !            48: 
        !            49:            abort
        !            50:                Abort-PDU,
        !            51: 
        !            52:            userData
        !            53:                UserData-PDU,
        !            54: 
        !            55:            cL-userData
        !            56:                CL-UserData-PDU
        !            57:        }
        !            58:            
        !            59: 
        !            60: -- connect request PDU
        !            61: 
        !            62: ConnectRequest-PDU ::=
        !            63:     [0]
        !            64:         IMPLICIT SEQUENCE {
        !            65:             version[0]         -- version-1 corresponds to to this memo
        !            66:                 IMPLICIT INTEGER { version-1(0) },
        !            67: 
        !            68:             reference
        !            69:                 SessionConnectionIdentifier,
        !            70: 
        !            71:            calling
        !            72:                PresentationSelector
        !            73:                OPTIONAL,
        !            74: 
        !            75:            called[2]
        !            76:                IMPLICIT PresentationSelector
        !            77:                OPTIONAL,
        !            78: 
        !            79:            asn[3]              -- the ASN for PCI #1
        !            80:                IMPLICIT OBJECT IDENTIFIER,
        !            81: 
        !            82:             user-data
        !            83:                 UserData-PDU
        !            84:         }
        !            85: 
        !            86: SessionConnectionIdentifier ::=
        !            87:     [0]
        !            88:        SEQUENCE {
        !            89:            callingSSUserReference
        !            90:                T61String,
        !            91: 
        !            92:            commonReference
        !            93:                UTCTime,
        !            94: 
        !            95:            additionalReferenceInformation[0]
        !            96:                IMPLICIT T61String
        !            97:                OPTIONAL
        !            98:        }
        !            99: 
        !           100: PresentationSelector ::=
        !           101:     [1]
        !           102:        IMPLICIT OCTET STRING
        !           103: 
        !           104: 
        !           105: -- connect response PDU
        !           106: 
        !           107: ConnectResponse-PDU ::=
        !           108:     [1]
        !           109:         IMPLICIT SEQUENCE {
        !           110:             reference          -- present only in the udp-based service
        !           111:                 SessionConnectionIdentifier
        !           112:                OPTIONAL,
        !           113: 
        !           114:            responding
        !           115:                PresentationSelector
        !           116:                OPTIONAL,
        !           117: 
        !           118:             reason[2]          -- present only if the connection was rejected
        !           119:                 IMPLICIT Rejection-reason
        !           120:                 OPTIONAL,
        !           121: 
        !           122:            user-data           -- present only if reason is absent OR has the
        !           123:                                -- value rejected-by-responder
        !           124:                 UserData-PDU
        !           125:                OPTIONAL
        !           126:         }
        !           127: 
        !           128: Rejection-reason ::=
        !           129:         INTEGER {
        !           130:             rejected-by-responder(0),
        !           131:             called-presentation-address-unknown(1),
        !           132:             local-limit-exceeded(3),
        !           133:             protocol-version-not-supported(4)
        !           134:         }
        !           135: 
        !           136: 
        !           137: -- release request PDU
        !           138: 
        !           139: ReleaseRequest-PDU ::=
        !           140:     [2]
        !           141:         IMPLICIT SEQUENCE {
        !           142:             reference          -- present only in the udp-based service
        !           143:                 SessionConnectionIdentifier
        !           144:                OPTIONAL,
        !           145: 
        !           146:            user-data
        !           147:                 UserData-PDU
        !           148:         }
        !           149: 
        !           150: 
        !           151: -- release response PDU
        !           152: 
        !           153: ReleaseResponse-PDU ::=
        !           154:     [3]
        !           155:         IMPLICIT SEQUENCE {
        !           156:             reference          -- present only in the udp-based service
        !           157:                 SessionConnectionIdentifier
        !           158:                OPTIONAL,
        !           159: 
        !           160:            user-data
        !           161:                 UserData-PDU
        !           162:         }
        !           163: 
        !           164: -- abort PDU
        !           165: 
        !           166: Abort-PDU ::=
        !           167:     [4]
        !           168:         SEQUENCE {
        !           169:             reference          -- present only in the udp-based service
        !           170:                 SessionConnectionIdentifier
        !           171:                 OPTIONAL,
        !           172: 
        !           173:            user-data   -- MAY BE present on user-initiated abort
        !           174:                UserData-PDU
        !           175:                OPTIONAL,
        !           176: 
        !           177:            reason[1]   -- ALWAYS present on provider-initiated abort
        !           178:                IMPLICIT Abort-reason
        !           179:                OPTIONAL
        !           180:         }
        !           181: 
        !           182: Abort-reason ::=
        !           183:         INTEGER {
        !           184:             reason-not-specified(0),
        !           185:             unrecognized-ppdu(1),
        !           186:             unexpected-ppdu(2),
        !           187:             unrecognized-ppdu-parameter(4),
        !           188:             invalid-ppdu-parameter(5),
        !           189:            reference-mismatch(9)
        !           190:         }
        !           191: 
        !           192: 
        !           193: -- data PDU
        !           194: 
        !           195: UserData-PDU ::=
        !           196:     [5]                                        -- this is the ASN.1 object
        !           197:        ANY                             -- if it is a top-level PDU, it
        !           198:                                        -- is in PCI #1, otherwise PCI #3
        !           199: 
        !           200: 
        !           201: -- data PDU for the udp-based service
        !           202: 
        !           203: CL-UserData-PDU ::=
        !           204:     [6]
        !           205:        IMPLICIT SEQUENCE {
        !           206:             reference
        !           207:                 SessionConnectionIdentifier,
        !           208: 
        !           209:            user-data[0]                -- this is the ASN.1 object
        !           210:                ANY                     -- it is always in PCI #1
        !           211:        }
        !           212: 
        !           213: END

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.