]> git.stg.codes - stg.git/blobdiff - libs/smux/IpRouteEntry.c
Fix compilation.
[stg.git] / libs / smux / IpRouteEntry.c
index 5ee104ea97a978d4d00864818ea7235ae91f88a5..c0b54fe88f74ada6134872b9150c53452a3c8f5a 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 "IpRouteEntry.h"
  */
 
 #include "IpRouteEntry.h"
@@ -12,117 +12,117 @@ static asn_TYPE_member_t asn_MBR_IpRouteEntry_1[] = {
                (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
                0,
                &asn_DEF_IpAddress,
                (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
                0,
                &asn_DEF_IpAddress,
-               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 */
                "ipRouteDest"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteIfIndex),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "ipRouteDest"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteIfIndex),
                (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 */
                "ipRouteIfIndex"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteMetric1),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "ipRouteIfIndex"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteMetric1),
                (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 */
                "ipRouteMetric1"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteMetric2),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "ipRouteMetric1"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteMetric2),
                (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 */
                "ipRouteMetric2"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteMetric3),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "ipRouteMetric2"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteMetric3),
                (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 */
                "ipRouteMetric3"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteMetric4),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "ipRouteMetric3"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteMetric4),
                (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 */
                "ipRouteMetric4"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteNextHop),
                (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
                0,
                &asn_DEF_IpAddress,
                "ipRouteMetric4"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteNextHop),
                (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
                0,
                &asn_DEF_IpAddress,
-               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 */
                "ipRouteNextHop"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteType),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "ipRouteNextHop"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteType),
                (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 */
                "ipRouteType"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteProto),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "ipRouteType"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteProto),
                (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 */
                "ipRouteProto"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteAge),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "ipRouteProto"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteAge),
                (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 */
                "ipRouteAge"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteMask),
                (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
                0,
                &asn_DEF_IpAddress,
                "ipRouteAge"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteMask),
                (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
                0,
                &asn_DEF_IpAddress,
-               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 */
                "ipRouteMask"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteMetric5),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "ipRouteMask"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteMetric5),
                (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 */
                "ipRouteMetric5"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteInfo),
                (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
                0,
                &asn_DEF_OBJECT_IDENTIFIER,
                "ipRouteMetric5"
                },
        { ATF_NOFLAGS, 0, offsetof(struct IpRouteEntry, ipRouteInfo),
                (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 */
                "ipRouteInfo"
                },
 };
                "ipRouteInfo"
                },
 };
@@ -150,28 +150,19 @@ static asn_SEQUENCE_specifics_t asn_SPC_IpRouteEntry_specs_1 = {
        asn_MAP_IpRouteEntry_tag2el_1,
        13,     /* Count of tags in the map */
        0, 0, 0,        /* Optional elements (not needed) */
        asn_MAP_IpRouteEntry_tag2el_1,
        13,     /* 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_IpRouteEntry = {
        "IpRouteEntry",
        "IpRouteEntry",
 };
 asn_TYPE_descriptor_t asn_DEF_IpRouteEntry = {
        "IpRouteEntry",
        "IpRouteEntry",
-       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_IpRouteEntry_tags_1,
        sizeof(asn_DEF_IpRouteEntry_tags_1)
                /sizeof(asn_DEF_IpRouteEntry_tags_1[0]), /* 1 */
        asn_DEF_IpRouteEntry_tags_1,    /* Same as above */
        sizeof(asn_DEF_IpRouteEntry_tags_1)
                /sizeof(asn_DEF_IpRouteEntry_tags_1[0]), /* 1 */
        asn_DEF_IpRouteEntry_tags_1,
        sizeof(asn_DEF_IpRouteEntry_tags_1)
                /sizeof(asn_DEF_IpRouteEntry_tags_1[0]), /* 1 */
        asn_DEF_IpRouteEntry_tags_1,    /* Same as above */
        sizeof(asn_DEF_IpRouteEntry_tags_1)
                /sizeof(asn_DEF_IpRouteEntry_tags_1[0]), /* 1 */
-       0,      /* No PER visible constraints */
+       { 0, 0, SEQUENCE_constraint },
        asn_MBR_IpRouteEntry_1,
        13,     /* Elements count */
        &asn_SPC_IpRouteEntry_specs_1   /* Additional specs */
        asn_MBR_IpRouteEntry_1,
        13,     /* Elements count */
        &asn_SPC_IpRouteEntry_specs_1   /* Additional specs */