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