]> git.stg.codes - stg.git/blob - libs/smux/AtEntry.c
Fix build on Darwin.
[stg.git] / libs / smux / AtEntry.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "RFC1213-MIB"
4  *      found in "RFC1213-MIB.asn1"
5  *      `asn1c -S /home/faust/software/asn1c/skeletons/ -fcompound-names -fwide-types`
6  */
7
8 #include "AtEntry.h"
9
10 static asn_TYPE_member_t asn_MBR_AtEntry_1[] = {
11         { ATF_NOFLAGS, 0, offsetof(struct AtEntry, atIfIndex),
12                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
13                 0,
14                 &asn_DEF_INTEGER,
15                 0,
16                 { 0, 0, 0 },
17                 0, 0, /* No default value */
18                 "atIfIndex"
19                 },
20         { ATF_NOFLAGS, 0, offsetof(struct AtEntry, atPhysAddress),
21                 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
22                 0,
23                 &asn_DEF_PhysAddress,
24                 0,
25                 { 0, 0, 0 },
26                 0, 0, /* No default value */
27                 "atPhysAddress"
28                 },
29         { ATF_NOFLAGS, 0, offsetof(struct AtEntry, atNetAddress),
30                 -1 /* Ambiguous tag (CHOICE?) */,
31                 0,
32                 &asn_DEF_NetworkAddress,
33                 0,
34                 { 0, 0, 0 },
35                 0, 0, /* No default value */
36                 "atNetAddress"
37                 },
38 };
39 static const ber_tlv_tag_t asn_DEF_AtEntry_tags_1[] = {
40         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
41 };
42 static const asn_TYPE_tag2member_t asn_MAP_AtEntry_tag2el_1[] = {
43     { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* atIfIndex */
44     { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* atPhysAddress */
45     { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 2, 0, 0 } /* internet */
46 };
47 static asn_SEQUENCE_specifics_t asn_SPC_AtEntry_specs_1 = {
48         sizeof(struct AtEntry),
49         offsetof(struct AtEntry, _asn_ctx),
50         asn_MAP_AtEntry_tag2el_1,
51         3,      /* Count of tags in the map */
52         0, 0, 0,        /* Optional elements (not needed) */
53         -1,     /* First extension addition */
54 };
55 asn_TYPE_descriptor_t asn_DEF_AtEntry = {
56         "AtEntry",
57         "AtEntry",
58         &asn_OP_SEQUENCE,
59         asn_DEF_AtEntry_tags_1,
60         sizeof(asn_DEF_AtEntry_tags_1)
61                 /sizeof(asn_DEF_AtEntry_tags_1[0]), /* 1 */
62         asn_DEF_AtEntry_tags_1, /* Same as above */
63         sizeof(asn_DEF_AtEntry_tags_1)
64                 /sizeof(asn_DEF_AtEntry_tags_1[0]), /* 1 */
65         { 0, 0, SEQUENCE_constraint },
66         asn_MBR_AtEntry_1,
67         3,      /* Elements count */
68         &asn_SPC_AtEntry_specs_1        /* Additional specs */
69 };
70