]> git.stg.codes - stg.git/blobdiff - libs/smux/IfEntry.c
Fix build on Darwin.
[stg.git] / libs / smux / IfEntry.c
index ad2e29d9c2b786d6409e32889dcdb2a135e8a833..85806373019a462590b42aba92395e944e1362b9 100644 (file)
@@ -1,8 +1,8 @@
 /*
 /*
- * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
+ * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
  * From ASN.1 module "RFC1213-MIB"
  *     found in "RFC1213-MIB.asn1"
  * From ASN.1 module "RFC1213-MIB"
  *     found in "RFC1213-MIB.asn1"
- *     `asn1c -S/mnt/data/software/asn1c/skeletons -fcompound-names -fwide-types`
+ *     `asn1c -S /home/faust/software/asn1c/skeletons/ -fcompound-names -fwide-types`
  */
 
 #include "IfEntry.h"
  */
 
 #include "IfEntry.h"
@@ -12,198 +12,198 @@ static asn_TYPE_member_t asn_MBR_IfEntry_1[] = {
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifIndex"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifDescr),
                (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
                0,
                &asn_DEF_DisplayString,
                "ifIndex"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifDescr),
                (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
                0,
                &asn_DEF_DisplayString,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifDescr"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifType),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "ifDescr"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifType),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifType"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifMtu),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "ifType"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifMtu),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifMtu"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifSpeed),
                (ASN_TAG_CLASS_APPLICATION | (2 << 2)),
                0,
                &asn_DEF_Gauge,
                "ifMtu"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifSpeed),
                (ASN_TAG_CLASS_APPLICATION | (2 << 2)),
                0,
                &asn_DEF_Gauge,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifSpeed"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifPhysAddress),
                (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
                0,
                &asn_DEF_PhysAddress,
                "ifSpeed"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifPhysAddress),
                (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
                0,
                &asn_DEF_PhysAddress,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifPhysAddress"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifAdminStatus),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "ifPhysAddress"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifAdminStatus),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifAdminStatus"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOperStatus),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "ifAdminStatus"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOperStatus),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifOperStatus"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifLastChange),
                (ASN_TAG_CLASS_APPLICATION | (3 << 2)),
                0,
                &asn_DEF_TimeTicks,
                "ifOperStatus"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifLastChange),
                (ASN_TAG_CLASS_APPLICATION | (3 << 2)),
                0,
                &asn_DEF_TimeTicks,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifLastChange"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInOctets),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "ifLastChange"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInOctets),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifInOctets"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInUcastPkts),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "ifInOctets"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInUcastPkts),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifInUcastPkts"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInNUcastPkts),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "ifInUcastPkts"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInNUcastPkts),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifInNUcastPkts"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInDiscards),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "ifInNUcastPkts"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInDiscards),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifInDiscards"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInErrors),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "ifInDiscards"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInErrors),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifInErrors"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInUnknownProtos),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "ifInErrors"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifInUnknownProtos),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifInUnknownProtos"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutOctets),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "ifInUnknownProtos"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutOctets),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifOutOctets"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutUcastPkts),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "ifOutOctets"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutUcastPkts),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifOutUcastPkts"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutNUcastPkts),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "ifOutUcastPkts"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutNUcastPkts),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifOutNUcastPkts"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutDiscards),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "ifOutNUcastPkts"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutDiscards),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifOutDiscards"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutErrors),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "ifOutDiscards"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutErrors),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifOutErrors"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutQLen),
                (ASN_TAG_CLASS_APPLICATION | (2 << 2)),
                0,
                &asn_DEF_Gauge,
                "ifOutErrors"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifOutQLen),
                (ASN_TAG_CLASS_APPLICATION | (2 << 2)),
                0,
                &asn_DEF_Gauge,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifOutQLen"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifSpecific),
                (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
                0,
                &asn_DEF_OBJECT_IDENTIFIER,
                "ifOutQLen"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IfEntry, ifSpecific),
                (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
                0,
                &asn_DEF_OBJECT_IDENTIFIER,
-               0,      /* Defer constraints checking to the member type */
-               0,      /* PER is not compiled, use -gen-PER */
                0,
                0,
+               { 0, 0, 0 },
+               0, 0, /* No default value */
                "ifSpecific"
                },
 };
                "ifSpecific"
                },
 };
@@ -240,28 +240,19 @@ static asn_SEQUENCE_specifics_t asn_SPC_IfEntry_specs_1 = {
        asn_MAP_IfEntry_tag2el_1,
        22,     /* Count of tags in the map */
        0, 0, 0,        /* Optional elements (not needed) */
        asn_MAP_IfEntry_tag2el_1,
        22,     /* Count of tags in the map */
        0, 0, 0,        /* Optional elements (not needed) */
-       -1,     /* Start extensions */
-       -1      /* Stop extensions */
+       -1,     /* First extension addition */
 };
 asn_TYPE_descriptor_t asn_DEF_IfEntry = {
        "IfEntry",
        "IfEntry",
 };
 asn_TYPE_descriptor_t asn_DEF_IfEntry = {
        "IfEntry",
        "IfEntry",
-       SEQUENCE_free,
-       SEQUENCE_print,
-       SEQUENCE_constraint,
-       SEQUENCE_decode_ber,
-       SEQUENCE_encode_der,
-       SEQUENCE_decode_xer,
-       SEQUENCE_encode_xer,
-       0, 0,   /* No PER support, use "-gen-PER" to enable */
-       0,      /* Use generic outmost tag fetcher */
+       &asn_OP_SEQUENCE,
        asn_DEF_IfEntry_tags_1,
        sizeof(asn_DEF_IfEntry_tags_1)
                /sizeof(asn_DEF_IfEntry_tags_1[0]), /* 1 */
        asn_DEF_IfEntry_tags_1, /* Same as above */
        sizeof(asn_DEF_IfEntry_tags_1)
                /sizeof(asn_DEF_IfEntry_tags_1[0]), /* 1 */
        asn_DEF_IfEntry_tags_1,
        sizeof(asn_DEF_IfEntry_tags_1)
                /sizeof(asn_DEF_IfEntry_tags_1[0]), /* 1 */
        asn_DEF_IfEntry_tags_1, /* Same as above */
        sizeof(asn_DEF_IfEntry_tags_1)
                /sizeof(asn_DEF_IfEntry_tags_1[0]), /* 1 */
-       0,      /* No PER visible constraints */
+       { 0, 0, SEQUENCE_constraint },
        asn_MBR_IfEntry_1,
        22,     /* Elements count */
        &asn_SPC_IfEntry_specs_1        /* Additional specs */
        asn_MBR_IfEntry_1,
        22,     /* Elements count */
        &asn_SPC_IfEntry_specs_1        /* Additional specs */