2
3
4
5
6
11memb_Vanetza_Security_protocolVersion_constraint_1(
const asn_TYPE_descriptor_t *td,
const void *sptr,
12 asn_app_constraint_failed_f *ctfailcb,
void *app_key) {
16 ASN__CTFAIL(app_key, td, sptr,
17 "%s: value not given (%s:%d)",
18 td->name, __FILE__, __LINE__);
22 value = *(
const long *)sptr;
28 ASN__CTFAIL(app_key, td, sptr,
29 "%s: constraint failed (%s:%d)",
30 td->name, __FILE__, __LINE__);
35#if !defined(ASN_DISABLE_OER_SUPPORT)
36static asn_oer_constraints_t asn_OER_memb_Vanetza_Security_protocolVersion_constr_2 CC_NOTUSED = {
40#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
41static asn_per_constraints_t asn_PER_memb_Vanetza_Security_protocolVersion_constr_2 CC_NOTUSED = {
42 { APC_CONSTRAINED, 0, 0, 3, 3 } ,
43 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
47asn_TYPE_member_t asn_MBR_Vanetza_Security_Ieee1609Dot2Data_1[] = {
48 { ATF_NOFLAGS, 0, offsetof(
struct Vanetza_Security_Ieee1609Dot2Data, protocolVersion),
49 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
51 &asn_DEF_Vanetza_Security_Uint8,
54#if !defined(ASN_DISABLE_OER_SUPPORT)
55 &asn_OER_memb_Vanetza_Security_protocolVersion_constr_2,
57#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
58 &asn_PER_memb_Vanetza_Security_protocolVersion_constr_2,
60#if !defined(ASN_DISABLE_JER_SUPPORT)
63 memb_Vanetza_Security_protocolVersion_constraint_1
68 { ATF_POINTER, 0, offsetof(
struct Vanetza_Security_Ieee1609Dot2Data, content),
69 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
71 &asn_DEF_Vanetza_Security_Ieee1609Dot2Content,
74#if !defined(ASN_DISABLE_OER_SUPPORT)
77#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
80#if !defined(ASN_DISABLE_JER_SUPPORT)
89static const ber_tlv_tag_t asn_DEF_Vanetza_Security_Ieee1609Dot2Data_tags_1[] = {
90 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
92static const asn_TYPE_tag2member_t asn_MAP_Vanetza_Security_Ieee1609Dot2Data_tag2el_1[] = {
93 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 },
94 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }
96asn_SEQUENCE_specifics_t asn_SPC_Vanetza_Security_Ieee1609Dot2Data_specs_1 = {
97 sizeof(
struct Vanetza_Security_Ieee1609Dot2Data),
98 offsetof(
struct Vanetza_Security_Ieee1609Dot2Data, _asn_ctx),
99 asn_MAP_Vanetza_Security_Ieee1609Dot2Data_tag2el_1,
104asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_Ieee1609Dot2Data = {
108 asn_DEF_Vanetza_Security_Ieee1609Dot2Data_tags_1,
109 sizeof(asn_DEF_Vanetza_Security_Ieee1609Dot2Data_tags_1)
110 /
sizeof(asn_DEF_Vanetza_Security_Ieee1609Dot2Data_tags_1[0]),
111 asn_DEF_Vanetza_Security_Ieee1609Dot2Data_tags_1,
112 sizeof(asn_DEF_Vanetza_Security_Ieee1609Dot2Data_tags_1)
113 /
sizeof(asn_DEF_Vanetza_Security_Ieee1609Dot2Data_tags_1[0]),
115#if !defined(ASN_DISABLE_OER_SUPPORT)
118#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
121#if !defined(ASN_DISABLE_JER_SUPPORT)
126 asn_MBR_Vanetza_Security_Ieee1609Dot2Data_1,
128 &asn_SPC_Vanetza_Security_Ieee1609Dot2Data_specs_1