10#if !defined(ASN_DISABLE_OER_SUPPORT)
11static asn_oer_constraints_t asn_OER_type_Duration_constr_1 CC_NOTUSED = {
15#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
16asn_per_constraints_t asn_PER_type_Duration_constr_1 CC_NOTUSED = {
17 { APC_CONSTRAINED, 3, 3, 0, 6 } ,
18 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
22asn_TYPE_member_t asn_MBR_Duration_1[] = {
23 { ATF_NOFLAGS, 0, offsetof(
struct Duration, choice.microseconds),
24 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
29#if !defined(ASN_DISABLE_OER_SUPPORT)
32#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
40 { ATF_NOFLAGS, 0, offsetof(
struct Duration, choice.milliseconds),
41 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
46#if !defined(ASN_DISABLE_OER_SUPPORT)
49#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
57 { ATF_NOFLAGS, 0, offsetof(
struct Duration, choice.seconds),
58 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
63#if !defined(ASN_DISABLE_OER_SUPPORT)
66#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
74 { ATF_NOFLAGS, 0, offsetof(
struct Duration, choice.minutes),
75 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
80#if !defined(ASN_DISABLE_OER_SUPPORT)
83#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
91 { ATF_NOFLAGS, 0, offsetof(
struct Duration, choice.hours),
92 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
97#if !defined(ASN_DISABLE_OER_SUPPORT)
100#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
108 { ATF_NOFLAGS, 0, offsetof(
struct Duration, choice.sixtyHours),
109 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
114#if !defined(ASN_DISABLE_OER_SUPPORT)
117#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
125 { ATF_NOFLAGS, 0, offsetof(
struct Duration, choice.years),
126 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
131#if !defined(ASN_DISABLE_OER_SUPPORT)
134#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
143static const asn_TYPE_tag2member_t asn_MAP_Duration_tag2el_1[] = {
144 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 },
145 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 },
146 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 },
147 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 },
148 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 },
149 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 },
150 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }
152asn_CHOICE_specifics_t asn_SPC_Duration_specs_1 = {
154 offsetof(struct
Duration, _asn_ctx),
156 sizeof(((struct
Duration *)0)->present),
157 asn_MAP_Duration_tag2el_1,
162asn_TYPE_descriptor_t asn_DEF_Duration = {
171#if !defined(ASN_DISABLE_OER_SUPPORT)
172 &asn_OER_type_Duration_constr_1,
174#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
175 &asn_PER_type_Duration_constr_1,
181 &asn_SPC_Duration_specs_1