]> git.stg.codes - stg.git/blob - libs/smux/NetworkAddress.c
Merge remote-tracking branch 'github/master'
[stg.git] / libs / smux / NetworkAddress.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "RFC1155-SMI"
4  *      found in "RFC1155-SMI.asn1"
5  *      `asn1c -S /home/faust/software/asn1c/skeletons/ -fcompound-names -fwide-types`
6  */
7
8 #include "NetworkAddress.h"
9
10 static asn_oer_constraints_t asn_OER_type_NetworkAddress_constr_1 CC_NOTUSED = {
11         { 0, 0 },
12         -1};
13 asn_per_constraints_t asn_PER_type_NetworkAddress_constr_1 CC_NOTUSED = {
14         { APC_CONSTRAINED,       0,  0,  0,  0 }        /* (0..0) */,
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         0, 0    /* No PER value map */
17 };
18 asn_TYPE_member_t asn_MBR_NetworkAddress_1[] = {
19         { ATF_NOFLAGS, 0, offsetof(struct NetworkAddress, choice.internet),
20                 (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
21                 0,
22                 &asn_DEF_IpAddress,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "internet"
27                 },
28 };
29 static const asn_TYPE_tag2member_t asn_MAP_NetworkAddress_tag2el_1[] = {
30     { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 0, 0, 0 } /* internet */
31 };
32 asn_CHOICE_specifics_t asn_SPC_NetworkAddress_specs_1 = {
33         sizeof(struct NetworkAddress),
34         offsetof(struct NetworkAddress, _asn_ctx),
35         offsetof(struct NetworkAddress, present),
36         sizeof(((struct NetworkAddress *)0)->present),
37         asn_MAP_NetworkAddress_tag2el_1,
38         1,      /* Count of tags in the map */
39         0, 0,
40         -1      /* Extensions start */
41 };
42 asn_TYPE_descriptor_t asn_DEF_NetworkAddress = {
43         "NetworkAddress",
44         "NetworkAddress",
45         &asn_OP_CHOICE,
46         0,      /* No effective tags (pointer) */
47         0,      /* No effective tags (count) */
48         0,      /* No tags (pointer) */
49         0,      /* No tags (count) */
50         { &asn_OER_type_NetworkAddress_constr_1, &asn_PER_type_NetworkAddress_constr_1, CHOICE_constraint },
51         asn_MBR_NetworkAddress_1,
52         1,      /* Elements count */
53         &asn_SPC_NetworkAddress_specs_1 /* Additional specs */
54 };
55