X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/aa24fde9f922b0dd8c37ed16ac84aa77157c50ae..52b4afb2c72468a55fb49aeed3f7dda1277319df:/projects/stargazer/plugins/other/snmp/asn1/EgpNeighEntry.c?ds=sidebyside diff --git a/projects/stargazer/plugins/other/snmp/asn1/EgpNeighEntry.c b/projects/stargazer/plugins/other/snmp/asn1/EgpNeighEntry.c deleted file mode 100644 index 07c28afa..00000000 --- a/projects/stargazer/plugins/other/snmp/asn1/EgpNeighEntry.c +++ /dev/null @@ -1,201 +0,0 @@ -/* - * Generated by asn1c-0.9.21 (http://lionet.info/asn1c) - * From ASN.1 module "RFC1213-MIB" - * found in "RFC1213-MIB.asn1" - * `asn1c -fskeletons-copy` - */ - -#include - -#include "EgpNeighEntry.h" - -static asn_TYPE_member_t asn_MBR_EgpNeighEntry_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct EgpNeighEntry, egpNeighState), - (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, - "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, - "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, - "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, - "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, - "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, - "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, - "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, - "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, - "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, - "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, - "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, - "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, - "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, - "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, - "egpNeighEventTrigger" - }, -}; -static ber_tlv_tag_t asn_DEF_EgpNeighEntry_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_TYPE_tag2member_t asn_MAP_EgpNeighEntry_tag2el_1[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 5 }, /* egpNeighState at 267 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 4 }, /* egpNeighAs at 271 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 11, -2, 3 }, /* egpNeighIntervalHello at 290 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 12, -3, 2 }, /* egpNeighIntervalPoll at 292 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 13, -4, 1 }, /* egpNeighMode at 294 */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 14, -5, 0 }, /* egpNeighEventTrigger at 297 */ - { (ASN_TAG_CLASS_APPLICATION | (0 << 2)), 1, 0, 0 }, /* egpNeighAddr at 269 */ - { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 3, 0, 7 }, /* egpNeighInMsgs at 273 */ - { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 4, -1, 6 }, /* egpNeighInErrs at 275 */ - { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 5, -2, 5 }, /* egpNeighOutMsgs at 277 */ - { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 6, -3, 4 }, /* egpNeighOutErrs at 279 */ - { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 7, -4, 3 }, /* egpNeighInErrMsgs at 282 */ - { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 8, -5, 2 }, /* egpNeighOutErrMsgs at 284 */ - { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 9, -6, 1 }, /* egpNeighStateUps at 286 */ - { (ASN_TAG_CLASS_APPLICATION | (1 << 2)), 10, -7, 0 } /* egpNeighStateDowns at 288 */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_EgpNeighEntry_specs_1 = { - sizeof(struct EgpNeighEntry), - offsetof(struct EgpNeighEntry, _asn_ctx), - 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 */ -}; -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_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 */ - asn_MBR_EgpNeighEntry_1, - 15, /* Elements count */ - &asn_SPC_EgpNeighEntry_specs_1 /* Additional specs */ -}; -