Decode a raw MNDP datagram into a MndpNeighbor. Throws a
mndp/malformedCentrsError 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.
Decode a raw MNDP datagram into a MndpNeighbor. Throws a
mndp/malformedCentrsError 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 inunknownTlvs, not rejected.