Vanetza
Loading...
Searching...
No Matches
GeographicRegion.c
1/*
2 * Generated by asn1c
3 * From ASN.1 module "Ieee1609Dot2BaseTypes"
4 * found in "Ieee1609Dot2BaseTypes.asn"
5 * `asn1c -fcompound-names -fincludes-quoted -no-gen-example -fprefix=Vanetza_Security_ -R`
6 */
7
9
10#if !defined(ASN_DISABLE_OER_SUPPORT)
11asn_oer_constraints_t asn_OER_type_Vanetza_Security_GeographicRegion_constr_1 CC_NOTUSED = {
12 { 0, 0 },
13 -1};
14#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
15#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
16asn_per_constraints_t asn_PER_type_Vanetza_Security_GeographicRegion_constr_1 CC_NOTUSED = {
17 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */,
18 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
19 0, 0 /* No PER value map */
20};
21#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
22asn_TYPE_member_t asn_MBR_Vanetza_Security_GeographicRegion_1[] = {
23 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_GeographicRegion, choice.circularRegion),
24 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
25 -1, /* IMPLICIT tag at current level */
26 &asn_DEF_Vanetza_Security_CircularRegion,
27 0,
28 {
29#if !defined(ASN_DISABLE_OER_SUPPORT)
30 0,
31#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
32#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
33 0,
34#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
35#if !defined(ASN_DISABLE_JER_SUPPORT)
36 0,
37#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
38 0
39 },
40 0, 0, /* No default value */
41 "circularRegion"
42 },
43 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_GeographicRegion, choice.rectangularRegion),
44 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
45 -1, /* IMPLICIT tag at current level */
46 &asn_DEF_Vanetza_Security_SequenceOfRectangularRegion,
47 0,
48 {
49#if !defined(ASN_DISABLE_OER_SUPPORT)
50 0,
51#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
52#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
53 0,
54#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
55#if !defined(ASN_DISABLE_JER_SUPPORT)
56 0,
57#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
58 0
59 },
60 0, 0, /* No default value */
61 "rectangularRegion"
62 },
63 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_GeographicRegion, choice.polygonalRegion),
64 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
65 -1, /* IMPLICIT tag at current level */
66 &asn_DEF_Vanetza_Security_PolygonalRegion,
67 0,
68 {
69#if !defined(ASN_DISABLE_OER_SUPPORT)
70 0,
71#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
72#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
73 0,
74#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
75#if !defined(ASN_DISABLE_JER_SUPPORT)
76 0,
77#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
78 0
79 },
80 0, 0, /* No default value */
81 "polygonalRegion"
82 },
83 { ATF_NOFLAGS, 0, offsetof(struct Vanetza_Security_GeographicRegion, choice.identifiedRegion),
84 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
85 -1, /* IMPLICIT tag at current level */
86 &asn_DEF_Vanetza_Security_SequenceOfIdentifiedRegion,
87 0,
88 {
89#if !defined(ASN_DISABLE_OER_SUPPORT)
90 0,
91#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
92#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
93 0,
94#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
95#if !defined(ASN_DISABLE_JER_SUPPORT)
96 0,
97#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
98 0
99 },
100 0, 0, /* No default value */
101 "identifiedRegion"
102 },
103};
104static const asn_TYPE_tag2member_t asn_MAP_Vanetza_Security_GeographicRegion_tag2el_1[] = {
105 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* circularRegion */
106 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rectangularRegion */
107 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* polygonalRegion */
108 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* identifiedRegion */
109};
110asn_CHOICE_specifics_t asn_SPC_Vanetza_Security_GeographicRegion_specs_1 = {
111 sizeof(struct Vanetza_Security_GeographicRegion),
112 offsetof(struct Vanetza_Security_GeographicRegion, _asn_ctx),
113 offsetof(struct Vanetza_Security_GeographicRegion, present),
114 sizeof(((struct Vanetza_Security_GeographicRegion *)0)->present),
115 asn_MAP_Vanetza_Security_GeographicRegion_tag2el_1,
116 4, /* Count of tags in the map */
117 0, 0,
118 4 /* Extensions start */
119};
120asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_GeographicRegion = {
121 "GeographicRegion",
122 "GeographicRegion",
123 &asn_OP_CHOICE,
124 0, /* No effective tags (pointer) */
125 0, /* No effective tags (count) */
126 0, /* No tags (pointer) */
127 0, /* No tags (count) */
128 {
129#if !defined(ASN_DISABLE_OER_SUPPORT)
130 &asn_OER_type_Vanetza_Security_GeographicRegion_constr_1,
131#endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
132#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
133 &asn_PER_type_Vanetza_Security_GeographicRegion_constr_1,
134#endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
135#if !defined(ASN_DISABLE_JER_SUPPORT)
136 0,
137#endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
138 CHOICE_constraint
139 },
140 asn_MBR_Vanetza_Security_GeographicRegion_1,
141 4, /* Elements count */
142 &asn_SPC_Vanetza_Security_GeographicRegion_specs_1 /* Additional specs */
143};