ITS
SecuredHeader.c
Go to the documentation of this file.
1 /*
2  * Generated by asn1c-0.9.27 (http://lionet.info/asn1c)
3  * From ASN.1 module "Secured-Pdu-Descriptions"
4  * found in "Secured.asn"
5  */
6 
7 #include "SecuredHeader.h"
8 
10  { ATF_POINTER, 0, 0,
11  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
12  0,
14  0, /* Defer constraints checking to the member type */
15  0, /* PER is not compiled, use -gen-PER */
16  0,
17  ""
18  },
19 };
21  (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
22  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
23 };
25  sizeof(struct header_fields),
26  offsetof(struct header_fields, _asn_ctx),
27  0, /* XER encoding is XMLDelimitedItemList */
28 };
29 static /* Use -fall-defs-global to expose */
31  "header-fields",
32  "header-fields",
40  0, 0, /* No PER support, use "-gen-PER" to enable */
41  0, /* Use generic outmost tag fetcher */
44  /sizeof(asn_DEF_header_fields_tags_4[0]) - 1, /* 1 */
45  asn_DEF_header_fields_tags_4, /* Same as above */
47  /sizeof(asn_DEF_header_fields_tags_4[0]), /* 2 */
48  0, /* No PER visible constraints */
50  1, /* Single element */
51  &asn_SPC_header_fields_specs_4 /* Additional specs */
52 };
53 
55  { ATF_NOFLAGS, 0, offsetof(struct SecuredHeader, protocol_version),
56  (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
57  -1, /* IMPLICIT tag at current level */
59  0, /* Defer constraints checking to the member type */
60  0, /* PER is not compiled, use -gen-PER */
61  0,
62  "protocol-version"
63  },
64  { ATF_NOFLAGS, 0, offsetof(struct SecuredHeader, secured_header_length),
65  (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
66  -1, /* IMPLICIT tag at current level */
67  &asn_DEF_IntX,
68  0, /* Defer constraints checking to the member type */
69  0, /* PER is not compiled, use -gen-PER */
70  0,
71  "secured-header-length"
72  },
73  { ATF_NOFLAGS, 0, offsetof(struct SecuredHeader, header_fields),
74  (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
75  0,
77  0, /* Defer constraints checking to the member type */
78  0, /* PER is not compiled, use -gen-PER */
79  0,
80  "header-fields"
81  },
82  { ATF_NOFLAGS, 0, offsetof(struct SecuredHeader, type),
83  (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
84  -1, /* IMPLICIT tag at current level */
86  0, /* Defer constraints checking to the member type */
87  0, /* PER is not compiled, use -gen-PER */
88  0,
89  "type"
90  },
91 };
93  (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
94 };
96  { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* protocol-version */
97  { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* secured-header-length */
98  { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* header-fields */
99  { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* type */
100 };
102  sizeof(struct SecuredHeader),
105  4, /* Count of tags in the map */
106  0, 0, 0, /* Optional elements (not needed) */
107  -1, /* Start extensions */
108  -1 /* Stop extensions */
109 };
111  "SecuredHeader",
112  "SecuredHeader",
120  0, 0, /* No PER support, use "-gen-PER" to enable */
121  0, /* Use generic outmost tag fetcher */
124  /sizeof(asn_DEF_SecuredHeader_tags_1[0]), /* 1 */
125  asn_DEF_SecuredHeader_tags_1, /* Same as above */
127  /sizeof(asn_DEF_SecuredHeader_tags_1[0]), /* 1 */
128  0, /* No PER visible constraints */
130  4, /* Elements count */
131  &asn_SPC_SecuredHeader_specs_1 /* Additional specs */
132 };
133 
#define offsetof(s, m)
Definition: asn_system.h:115
#define SEQUENCE_OF_decode_xer
#define SEQUENCE_OF_decode_ber
#define SEQUENCE_OF_constraint
asn_TYPE_descriptor_t asn_DEF_IntX
Definition: IntX.c:101
ber_type_decoder_f SEQUENCE_decode_ber
asn_struct_ctx_t _asn_ctx
Definition: SecuredHeader.h:41
xer_type_encoder_f SEQUENCE_OF_encode_xer
asn_TYPE_descriptor_t asn_DEF_SecuredHeader
der_type_encoder_f SEQUENCE_encode_der
static asn_SET_OF_specifics_t asn_SPC_header_fields_specs_4
Definition: SecuredHeader.c:24
static asn_TYPE_tag2member_t asn_MAP_SecuredHeader_tag2el_1[]
Definition: SecuredHeader.c:95
asn_TYPE_descriptor_t asn_DEF_PayloadType
Definition: PayloadType.c:123
#define SEQUENCE_OF_free
asn_TYPE_descriptor_t asn_DEF_UINT8
Definition: UINT8.c:123
static asn_TYPE_member_t asn_MBR_header_fields_4[]
Definition: SecuredHeader.c:9
asn_struct_print_f SEQUENCE_print
asn_TYPE_descriptor_t asn_DEF_HeaderField
Definition: HeaderField.c:810
asn_constr_check_f SEQUENCE_constraint
static asn_SEQUENCE_specifics_t asn_SPC_SecuredHeader_specs_1
xer_type_decoder_f SEQUENCE_decode_xer
asn_struct_free_f SEQUENCE_free
static ber_tlv_tag_t asn_DEF_header_fields_tags_4[]
Definition: SecuredHeader.c:20
der_type_encoder_f SEQUENCE_OF_encode_der
static asn_TYPE_member_t asn_MBR_SecuredHeader_1[]
Definition: SecuredHeader.c:54
xer_type_encoder_f SEQUENCE_encode_xer
static asn_TYPE_descriptor_t asn_DEF_header_fields_4
Definition: SecuredHeader.c:30
#define SEQUENCE_OF_print
static ber_tlv_tag_t asn_DEF_SecuredHeader_tags_1[]
Definition: SecuredHeader.c:92
unsigned ber_tlv_tag_t
Definition: ber_tlv_tag.h:18