Encode a MndpNeighbor (plus any extra raw TLVs) back into a wire
packet. Primarily a round-trip aid for tests and for crafting fixtures. The
header is headerHex (default all zeros); TLVs follow the 7.24.5+ order,
led by TLV 6 when request is set, except that IPv6 addresses are not
encoded (pass TLV 15 in extraTlvs).
Encode a MndpNeighbor (plus any extra raw TLVs) back into a wire packet. Primarily a round-trip aid for tests and for crafting fixtures. The header is
headerHex(default all zeros); TLVs follow the 7.24.5+ order, led by TLV 6 whenrequestis set, except that IPv6 addresses are not encoded (pass TLV 15 inextraTlvs).