2
3
4
5
6
11Vanetza_Security_Uint32_constraint(
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 unsigned long *)sptr;
24 if((value <= 4294967295UL)) {
28 ASN__CTFAIL(app_key, td, sptr,
29 "%s: constraint failed (%s:%d)",
30 td->name, __FILE__, __LINE__);
36
37
38
39#if !defined(ASN_DISABLE_OER_SUPPORT)
40asn_oer_constraints_t asn_OER_type_Vanetza_Security_Uint32_constr_1 CC_NOTUSED = {
44#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
45asn_per_constraints_t asn_PER_type_Vanetza_Security_Uint32_constr_1 CC_NOTUSED = {
46 { APC_CONSTRAINED, 32, -1, 0, 4294967295 } ,
47 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
51const asn_INTEGER_specifics_t asn_SPC_Vanetza_Security_Uint32_specs_1 = {
56static const ber_tlv_tag_t asn_DEF_Vanetza_Security_Uint32_tags_1[] = {
57 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
59asn_TYPE_descriptor_t asn_DEF_Vanetza_Security_Uint32 = {
62 &asn_OP_NativeInteger,
63 asn_DEF_Vanetza_Security_Uint32_tags_1,
64 sizeof(asn_DEF_Vanetza_Security_Uint32_tags_1)
65 /
sizeof(asn_DEF_Vanetza_Security_Uint32_tags_1[0]),
66 asn_DEF_Vanetza_Security_Uint32_tags_1,
67 sizeof(asn_DEF_Vanetza_Security_Uint32_tags_1)
68 /
sizeof(asn_DEF_Vanetza_Security_Uint32_tags_1[0]),
70#if !defined(ASN_DISABLE_OER_SUPPORT)
71 &asn_OER_type_Vanetza_Security_Uint32_constr_1,
73#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
74 &asn_PER_type_Vanetza_Security_Uint32_constr_1,
76#if !defined(ASN_DISABLE_JER_SUPPORT)
79 Vanetza_Security_Uint32_constraint
82 &asn_SPC_Vanetza_Security_Uint32_specs_1