]> git.stg.codes - stg.git/blob - stglibs/smux.lib/IpNetToMediaEntry.c
Ticket 37. The ChangePolicy existence checking and assign value to
[stg.git] / stglibs / smux.lib / IpNetToMediaEntry.c
1 /*
2  * Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
3  * From ASN.1 module "RFC1213-MIB"
4  *      found in "RFC1213-MIB.asn1"
5  *      `asn1c -fskeletons-copy`
6  */
7
8 #include <asn_internal.h>
9
10 #include "IpNetToMediaEntry.h"
11
12 static asn_TYPE_member_t asn_MBR_IpNetToMediaEntry_1[] = {
13         { ATF_NOFLAGS, 0, offsetof(struct IpNetToMediaEntry, ipNetToMediaIfIndex),
14                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
15                 0,
16                 &asn_DEF_INTEGER,
17                 0,      /* Defer constraints checking to the member type */
18                 0,      /* PER is not compiled, use -gen-PER */
19                 0,
20                 "ipNetToMediaIfIndex"
21                 },
22         { ATF_NOFLAGS, 0, offsetof(struct IpNetToMediaEntry, ipNetToMediaPhysAddress),
23                 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
24                 0,
25                 &asn_DEF_PhysAddress,
26                 0,      /* Defer constraints checking to the member type */
27                 0,      /* PER is not compiled, use -gen-PER */
28                 0,
29                 "ipNetToMediaPhysAddress"
30                 },
31         { ATF_NOFLAGS, 0, offsetof(struct IpNetToMediaEntry, ipNetToMediaNetAddress),
32                 (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
33                 0,
34                 &asn_DEF_IpAddress,
35                 0,      /* Defer constraints checking to the member type */
36                 0,      /* PER is not compiled, use -gen-PER */
37                 0,
38                 "ipNetToMediaNetAddress"
39                 },
40         { ATF_NOFLAGS, 0, offsetof(struct IpNetToMediaEntry, ipNetToMediaType),
41                 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
42                 0,
43                 &asn_DEF_INTEGER,
44                 0,      /* Defer constraints checking to the member type */
45                 0,      /* PER is not compiled, use -gen-PER */
46                 0,
47                 "ipNetToMediaType"
48                 },
49 };
50 static ber_tlv_tag_t asn_DEF_IpNetToMediaEntry_tags_1[] = {
51         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
52 };
53 static asn_TYPE_tag2member_t asn_MAP_IpNetToMediaEntry_tag2el_1[] = {
54     { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* ipNetToMediaIfIndex at 222 */
55     { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -1, 0 }, /* ipNetToMediaType at 229 */
56     { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* ipNetToMediaPhysAddress at 224 */
57     { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 2, 0, 0 } /* ipNetToMediaNetAddress at 226 */
58 };
59 static asn_SEQUENCE_specifics_t asn_SPC_IpNetToMediaEntry_specs_1 = {
60         sizeof(struct IpNetToMediaEntry),
61         offsetof(struct IpNetToMediaEntry, _asn_ctx),
62         asn_MAP_IpNetToMediaEntry_tag2el_1,
63         4,      /* Count of tags in the map */
64         0, 0, 0,        /* Optional elements (not needed) */
65         -1,     /* Start extensions */
66         -1      /* Stop extensions */
67 };
68 asn_TYPE_descriptor_t asn_DEF_IpNetToMediaEntry = {
69         "IpNetToMediaEntry",
70         "IpNetToMediaEntry",
71         SEQUENCE_free,
72         SEQUENCE_print,
73         SEQUENCE_constraint,
74         SEQUENCE_decode_ber,
75         SEQUENCE_encode_der,
76         SEQUENCE_decode_xer,
77         SEQUENCE_encode_xer,
78         0, 0,   /* No PER support, use "-gen-PER" to enable */
79         0,      /* Use generic outmost tag fetcher */
80         asn_DEF_IpNetToMediaEntry_tags_1,
81         sizeof(asn_DEF_IpNetToMediaEntry_tags_1)
82                 /sizeof(asn_DEF_IpNetToMediaEntry_tags_1[0]), /* 1 */
83         asn_DEF_IpNetToMediaEntry_tags_1,       /* Same as above */
84         sizeof(asn_DEF_IpNetToMediaEntry_tags_1)
85                 /sizeof(asn_DEF_IpNetToMediaEntry_tags_1[0]), /* 1 */
86         0,      /* No PER visible constraints */
87         asn_MBR_IpNetToMediaEntry_1,
88         4,      /* Elements count */
89         &asn_SPC_IpNetToMediaEntry_specs_1      /* Additional specs */
90 };
91