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`
8 #include "IpNetToMediaEntry.h"
10 static asn_TYPE_member_t asn_MBR_IpNetToMediaEntry_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct IpNetToMediaEntry, ipNetToMediaIfIndex),
12 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
17 0, 0, /* No default value */
20 { ATF_NOFLAGS, 0, offsetof(struct IpNetToMediaEntry, ipNetToMediaPhysAddress),
21 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
26 0, 0, /* No default value */
27 "ipNetToMediaPhysAddress"
29 { ATF_NOFLAGS, 0, offsetof(struct IpNetToMediaEntry, ipNetToMediaNetAddress),
30 (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
35 0, 0, /* No default value */
36 "ipNetToMediaNetAddress"
38 { ATF_NOFLAGS, 0, offsetof(struct IpNetToMediaEntry, ipNetToMediaType),
39 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
44 0, 0, /* No default value */
48 static const ber_tlv_tag_t asn_DEF_IpNetToMediaEntry_tags_1[] = {
49 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
51 static const asn_TYPE_tag2member_t asn_MAP_IpNetToMediaEntry_tag2el_1[] = {
52 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* ipNetToMediaIfIndex */
53 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* ipNetToMediaType */
54 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* ipNetToMediaPhysAddress */
55 { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 2, 0, 0 } /* ipNetToMediaNetAddress */
57 static asn_SEQUENCE_specifics_t asn_SPC_IpNetToMediaEntry_specs_1 = {
58 sizeof(struct IpNetToMediaEntry),
59 offsetof(struct IpNetToMediaEntry, _asn_ctx),
60 asn_MAP_IpNetToMediaEntry_tag2el_1,
61 4, /* Count of tags in the map */
62 0, 0, 0, /* Optional elements (not needed) */
63 -1, /* First extension addition */
65 asn_TYPE_descriptor_t asn_DEF_IpNetToMediaEntry = {
69 asn_DEF_IpNetToMediaEntry_tags_1,
70 sizeof(asn_DEF_IpNetToMediaEntry_tags_1)
71 /sizeof(asn_DEF_IpNetToMediaEntry_tags_1[0]), /* 1 */
72 asn_DEF_IpNetToMediaEntry_tags_1, /* Same as above */
73 sizeof(asn_DEF_IpNetToMediaEntry_tags_1)
74 /sizeof(asn_DEF_IpNetToMediaEntry_tags_1[0]), /* 1 */
75 { 0, 0, SEQUENCE_constraint },
76 asn_MBR_IpNetToMediaEntry_1,
77 4, /* Elements count */
78 &asn_SPC_IpNetToMediaEntry_specs_1 /* Additional specs */