]> git.stg.codes - stg.git/blobdiff - libs/smux/EgpNeighEntry.c
Use std::lock_guard instead of STG_LOCKER.
[stg.git] / libs / smux / EgpNeighEntry.c
index b12c489fd522d966f68995fadef2a2ea31082af6..2c2268a0c2715a37319c83d69cff2b8ed445bc64 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 "EgpNeighEntry.h"
  */
 
 #include "EgpNeighEntry.h"
@@ -12,135 +12,135 @@ static asn_TYPE_member_t asn_MBR_EgpNeighEntry_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 */
                "egpNeighState"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighAddr),
                (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
                0,
                &asn_DEF_IpAddress,
                "egpNeighState"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighAddr),
                (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 */
                "egpNeighAddr"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighAs),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "egpNeighAddr"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighAs),
                (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 */
                "egpNeighAs"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighInMsgs),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "egpNeighAs"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighInMsgs),
                (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 */
                "egpNeighInMsgs"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighInErrs),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "egpNeighInMsgs"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighInErrs),
                (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 */
                "egpNeighInErrs"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighOutMsgs),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "egpNeighInErrs"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighOutMsgs),
                (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 */
                "egpNeighOutMsgs"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighOutErrs),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "egpNeighOutMsgs"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighOutErrs),
                (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 */
                "egpNeighOutErrs"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighInErrMsgs),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "egpNeighOutErrs"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighInErrMsgs),
                (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 */
                "egpNeighInErrMsgs"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighOutErrMsgs),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "egpNeighInErrMsgs"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighOutErrMsgs),
                (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 */
                "egpNeighOutErrMsgs"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighStateUps),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "egpNeighOutErrMsgs"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighStateUps),
                (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 */
                "egpNeighStateUps"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighStateDowns),
                (ASN_TAG_CLASS_APPLICATION | (1 << 2)),
                0,
                &asn_DEF_Counter,
                "egpNeighStateUps"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighStateDowns),
                (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 */
                "egpNeighStateDowns"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighIntervalHello),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "egpNeighStateDowns"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighIntervalHello),
                (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 */
                "egpNeighIntervalHello"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighIntervalPoll),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "egpNeighIntervalHello"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighIntervalPoll),
                (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 */
                "egpNeighIntervalPoll"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighMode),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "egpNeighIntervalPoll"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighMode),
                (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 */
                "egpNeighMode"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighEventTrigger),
                (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
                0,
                &asn_DEF_INTEGER,
                "egpNeighMode"
                },
        { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighEventTrigger),
                (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 */
                "egpNeighEventTrigger"
                },
 };
                "egpNeighEventTrigger"
                },
 };
@@ -170,28 +170,19 @@ static asn_SEQUENCE_specifics_t asn_SPC_EgpNeighEntry_specs_1 = {
        asn_MAP_EgpNeighEntry_tag2el_1,
        15,     /* Count of tags in the map */
        0, 0, 0,        /* Optional elements (not needed) */
        asn_MAP_EgpNeighEntry_tag2el_1,
        15,     /* 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_EgpNeighEntry = {
        "EgpNeighEntry",
        "EgpNeighEntry",
 };
 asn_TYPE_descriptor_t asn_DEF_EgpNeighEntry = {
        "EgpNeighEntry",
        "EgpNeighEntry",
-       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_EgpNeighEntry_tags_1,
        sizeof(asn_DEF_EgpNeighEntry_tags_1)
                /sizeof(asn_DEF_EgpNeighEntry_tags_1[0]), /* 1 */
        asn_DEF_EgpNeighEntry_tags_1,   /* Same as above */
        sizeof(asn_DEF_EgpNeighEntry_tags_1)
                /sizeof(asn_DEF_EgpNeighEntry_tags_1[0]), /* 1 */
        asn_DEF_EgpNeighEntry_tags_1,
        sizeof(asn_DEF_EgpNeighEntry_tags_1)
                /sizeof(asn_DEF_EgpNeighEntry_tags_1[0]), /* 1 */
        asn_DEF_EgpNeighEntry_tags_1,   /* Same as above */
        sizeof(asn_DEF_EgpNeighEntry_tags_1)
                /sizeof(asn_DEF_EgpNeighEntry_tags_1[0]), /* 1 */
-       0,      /* No PER visible constraints */
+       { 0, 0, SEQUENCE_constraint },
        asn_MBR_EgpNeighEntry_1,
        15,     /* Elements count */
        &asn_SPC_EgpNeighEntry_specs_1  /* Additional specs */
        asn_MBR_EgpNeighEntry_1,
        15,     /* Elements count */
        &asn_SPC_EgpNeighEntry_specs_1  /* Additional specs */