]> git.stg.codes - stg.git/blob - libs/smux/NetworkAddress.c
Update SMUX library.
[stg.git] / libs / smux / NetworkAddress.c
1 /*
2  * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3  * From ASN.1 module "RFC1155-SMI"
4  *      found in "RFC1155-SMI.asn1"
5  *      `asn1c -S/mnt/data/software/asn1c/skeletons -fcompound-names -fwide-types`
6  */
7
8 #include "NetworkAddress.h"
9
10 static asn_TYPE_member_t asn_MBR_NetworkAddress_1[] = {
11         { ATF_NOFLAGS, 0, offsetof(struct NetworkAddress, choice.internet),
12                 (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
13                 0,
14                 &asn_DEF_IpAddress,
15                 0,      /* Defer constraints checking to the member type */
16                 0,      /* PER is not compiled, use -gen-PER */
17                 0,
18                 "internet"
19                 },
20 };
21 static const asn_TYPE_tag2member_t asn_MAP_NetworkAddress_tag2el_1[] = {
22     { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 0, 0, 0 } /* internet */
23 };
24 static asn_CHOICE_specifics_t asn_SPC_NetworkAddress_specs_1 = {
25         sizeof(struct NetworkAddress),
26         offsetof(struct NetworkAddress, _asn_ctx),
27         offsetof(struct NetworkAddress, present),
28         sizeof(((struct NetworkAddress *)0)->present),
29         asn_MAP_NetworkAddress_tag2el_1,
30         1,      /* Count of tags in the map */
31         0,
32         -1      /* Extensions start */
33 };
34 asn_TYPE_descriptor_t asn_DEF_NetworkAddress = {
35         "NetworkAddress",
36         "NetworkAddress",
37         CHOICE_free,
38         CHOICE_print,
39         CHOICE_constraint,
40         CHOICE_decode_ber,
41         CHOICE_encode_der,
42         CHOICE_decode_xer,
43         CHOICE_encode_xer,
44         0, 0,   /* No PER support, use "-gen-PER" to enable */
45         CHOICE_outmost_tag,
46         0,      /* No effective tags (pointer) */
47         0,      /* No effective tags (count) */
48         0,      /* No tags (pointer) */
49         0,      /* No tags (count) */
50         0,      /* No PER visible constraints */
51         asn_MBR_NetworkAddress_1,
52         1,      /* Elements count */
53         &asn_SPC_NetworkAddress_specs_1 /* Additional specs */
54 };
55