@tikoci/centrs
    Preparing search index...

    Function parseMndpPacket

    • Decode a raw MNDP datagram into a MndpNeighbor. Throws a mndp/malformed CentrsError on a structurally invalid packet (too-short header, a TLV whose length overruns the buffer, or 1–3 trailing bytes that are not a whole TLV, which RouterOS also drops). Unknown TLV types, and known types with an unexpected value length, are preserved in unknownTlvs, not rejected.

      Parameters

      • bytes: Uint8Array

      Returns MndpNeighbor