TLV_TYPE_SW_VERSION_LEN
ts.length = htons(TLV_TYPE_SW_VERSION_LEN);
if (ntohs(tlv->length) != TLV_TYPE_SW_VERSION_LEN) {