1 /* 2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) 3 * From ASN.1 module "IPAddrAndASCertExtn" 4 * found in "rfc3779.asn1" 5 * `asn1c -Werror -fcompound-names -fwide-types -D asn1/asn1c -no-gen-PER -no-gen-example` 6 */ 7 8 #include "IPAddressOrRange.h" 9 10 static asn_oer_constraints_t asn_OER_type_IPAddressOrRange_constr_1 CC_NOTUSED = { 11 { 0, 0 }, 12 -1}; 13 asn_TYPE_member_t asn_MBR_IPAddressOrRange_1[] = { 14 { ATF_NOFLAGS, 0, offsetof(struct IPAddressOrRange, choice.addressPrefix), 15 (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)), 16 0, 17 &asn_DEF_IPAddress, 18 0, 19 { 0, 0, 0 }, 20 0, 0, /* No default value */ 21 "addressPrefix" 22 }, 23 { ATF_NOFLAGS, 0, offsetof(struct IPAddressOrRange, choice.addressRange), 24 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 25 0, 26 &asn_DEF_IPAddressRange, 27 0, 28 { 0, 0, 0 }, 29 0, 0, /* No default value */ 30 "addressRange" 31 }, 32 }; 33 static const asn_TYPE_tag2member_t asn_MAP_IPAddressOrRange_tag2el_1[] = { 34 { (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)), 0, 0, 0 }, /* addressPrefix */ 35 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* addressRange */ 36 }; 37 asn_CHOICE_specifics_t asn_SPC_IPAddressOrRange_specs_1 = { 38 sizeof(struct IPAddressOrRange), 39 offsetof(struct IPAddressOrRange, _asn_ctx), 40 offsetof(struct IPAddressOrRange, present), 41 sizeof(((struct IPAddressOrRange *)0)->present), 42 asn_MAP_IPAddressOrRange_tag2el_1, 43 2, /* Count of tags in the map */ 44 0, 0, 45 -1 /* Extensions start */ 46 }; 47 asn_TYPE_descriptor_t asn_DEF_IPAddressOrRange = { 48 "IPAddressOrRange", 49 "IPAddressOrRange", 50 &asn_OP_CHOICE, 51 0, /* No effective tags (pointer) */ 52 0, /* No effective tags (count) */ 53 0, /* No tags (pointer) */ 54 0, /* No tags (count) */ 55 { &asn_OER_type_IPAddressOrRange_constr_1, 0, CHOICE_constraint }, 56 asn_MBR_IPAddressOrRange_1, 57 2, /* Elements count */ 58 &asn_SPC_IPAddressOrRange_specs_1 /* Additional specs */ 59 }; 60 61