127 uint8_t buffer[] = {0x00};
129 TestCase::Duration::QUICK);
143 packet->SetSequenceNumber(2);
144 uint8_t buffer[] = {0x08, 0x00, 0x02};
146 TestCase::Duration::QUICK);
170 packet->SetSequenceNumber(3);
171 packet->ForceTlv(
true);
172 uint8_t buffer[] = {0x0c, 0x00, 0x03, 0x00, 0x00};
174 TestCase::Duration::QUICK);
192 packet->SetSequenceNumber(4);
197 packet->TlvPushBack(tlv);
198 uint8_t buffer[] = {0x0c, 0x00, 0x04, 0x00, 0x02, 0x01, 0x00};
200 TestCase::Duration::QUICK);
221 packet->SetSequenceNumber(5);
225 packet->TlvPushBack(tlv1);
229 tlv2->SetTypeExt(100);
230 packet->TlvPushBack(tlv2);
232 uint8_t buffer[] = {0x0c, 0x00, 0x05, 0x00, 0x05, 0x01, 0x00, 0x02, 0x80, 0x64};
234 TestCase::Duration::QUICK);
256 packet->SetSequenceNumber(6);
260 packet->TlvPushBack(tlv1);
264 tlv2->SetTypeExt(100);
266 uint8_t tlv2val[] = {1, 2, 3, 4};
267 tlv2->SetValue(tlv2val,
sizeof(tlv2val));
269 packet->TlvPushBack(tlv2);
289 TestCase::Duration::QUICK);
385 packet->SetSequenceNumber(7);
389 packet->TlvPushBack(tlv1);
393 tlv2->SetTypeExt(100);
395 uint8_t tlv2val[] = {
396 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d,
397 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b,
398 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29,
399 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
400 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f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f2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, 0xfa, 0xfb,
414 0xfc, 0xfd, 0xfe, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a,
415 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18,
416 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26,
417 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c,
419 tlv2->SetValue(tlv2val,
sizeof(tlv2val));
421 packet->TlvPushBack(tlv2);
424 0x0c, 0x00, 0x07, 0x01, 0x33, 0x01, 0x00, 0x02, 0x98, 0x64, 0x01, 0x2c, 0x00, 0x01,
425 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
426 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d,
427 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b,
428 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39,
429 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
430 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x51, 0x52, 0x53, 0x54, 0x55,
431 0x56, 0x57, 0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f, 0x60, 0x61, 0x62, 0x63,
432 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6a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, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28,
446 0x29, 0x2a, 0x2b, 0x2c,
449 TestCase::Duration::QUICK);
474 packet->SetSequenceNumber(8);
478 packet->TlvPushBack(tlv1);
482 packet->MessagePushBack(msg1);
500 TestCase::Duration::QUICK);
533 packet->SetSequenceNumber(9);
537 packet->TlvPushBack(tlv1);
541 packet->MessagePushBack(msg1);
545 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
546 packet->MessagePushBack(msg2);
549 0x0c, 0x00, 0x09, 0x00, 0x02, 0x01, 0x00, 0x01,
550 0x03, 0x00, 0x06, 0x00, 0x00, 0x02, 0x83, 0x00,
551 0x0a, 0x0a, 0x00, 0x00, 0x01, 0x00, 0x00,
554 TestCase::Duration::QUICK);
588 packet->SetSequenceNumber(10);
592 packet->TlvPushBack(tlv1);
596 packet->MessagePushBack(msg1);
600 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
601 msg2->SetHopCount(1);
602 packet->MessagePushBack(msg2);
605 0x0c, 0x00, 0x0a, 0x00, 0x02, 0x01, 0x00, 0x01,
606 0x03, 0x00, 0x06, 0x00, 0x00, 0x02, 0xa3, 0x00,
607 0x0b, 0x0a, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00,
610 TestCase::Duration::QUICK);
645 packet->SetSequenceNumber(11);
649 packet->TlvPushBack(tlv1);
653 packet->MessagePushBack(msg1);
657 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
658 msg2->SetHopLimit(255);
659 msg2->SetHopCount(1);
660 packet->MessagePushBack(msg2);
663 0x0c, 0x00, 0x0b, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03,
664 0x00, 0x06, 0x00, 0x00, 0x02, 0xe3, 0x00,
665 0x0c, 0x0a, 0x00, 0x00, 0x01, 0xff, 0x01, 0x00, 0x00,
668 TestCase::Duration::QUICK);
704 packet->SetSequenceNumber(12);
708 packet->TlvPushBack(tlv1);
712 packet->MessagePushBack(msg1);
716 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
717 msg2->SetHopLimit(255);
718 msg2->SetHopCount(1);
719 msg2->SetSequenceNumber(12345);
720 packet->MessagePushBack(msg2);
723 0x0c, 0x00, 0x0c, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00, 0x06,
724 0x00, 0x00, 0x02, 0xf3, 0x00,
725 0x0e, 0x0a, 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00,
728 TestCase::Duration::QUICK);
773 packet->SetSequenceNumber(14);
777 packet->TlvPushBack(tlv1);
783 msg1tlv1->SetType(1);
784 msg1->TlvPushBack(msg1tlv1);
786 packet->MessagePushBack(msg1);
790 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
791 msg2->SetHopLimit(255);
792 msg2->SetHopCount(1);
793 msg2->SetSequenceNumber(12345);
794 packet->MessagePushBack(msg2);
797 0x0c, 0x00, 0x0e, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00,
798 0x08, 0x00, 0x02, 0x01, 0x00, 0x02, 0xf3, 0x00, 0x0e, 0x0a,
799 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00,
802 TestCase::Duration::QUICK);
846 packet->SetSequenceNumber(15);
850 packet->TlvPushBack(tlv1);
856 msg1tlv1->SetType(1);
857 msg1->TlvPushBack(msg1tlv1);
859 packet->MessagePushBack(msg1);
863 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
864 msg2->SetHopLimit(255);
865 msg2->SetHopCount(1);
866 msg2->SetSequenceNumber(12345);
870 msg2->AddressBlockPushBack(msg2a1);
872 packet->MessagePushBack(msg2);
875 0x0c, 0x00, 0x0f, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00,
876 0x08, 0x00, 0x02, 0x01, 0x00, 0x02, 0xf3, 0x00, 0x16, 0x0a,
877 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00, 0x01,
878 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
881 TestCase::Duration::QUICK);
925 packet->SetSequenceNumber(16);
929 packet->TlvPushBack(tlv1);
935 msg1tlv1->SetType(1);
936 msg1->TlvPushBack(msg1tlv1);
938 packet->MessagePushBack(msg1);
942 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
943 msg2->SetHopLimit(255);
944 msg2->SetHopCount(1);
945 msg2->SetSequenceNumber(12345);
948 msg2a1->AddressPushBack(
Ipv4Address(
"255.255.255.255"));
949 msg2->AddressBlockPushBack(msg2a1);
951 packet->MessagePushBack(msg2);
954 0x0c, 0x00, 0x10, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00,
955 0x08, 0x00, 0x02, 0x01, 0x00, 0x02, 0xf3, 0x00, 0x16, 0x0a,
956 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00, 0x01,
957 0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00,
960 TestCase::Duration::QUICK);
1004 packet->SetSequenceNumber(17);
1008 packet->TlvPushBack(tlv1);
1014 msg1tlv1->SetType(1);
1015 msg1->TlvPushBack(msg1tlv1);
1017 packet->MessagePushBack(msg1);
1021 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
1022 msg2->SetHopLimit(255);
1023 msg2->SetHopCount(1);
1024 msg2->SetSequenceNumber(12345);
1028 msg2->AddressBlockPushBack(msg2a1);
1030 packet->MessagePushBack(msg2);
1032 uint8_t buffer[] = {
1033 0x0c, 0x00, 0x11, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00,
1034 0x08, 0x00, 0x02, 0x01, 0x00, 0x02, 0xf3, 0x00, 0x16, 0x0a,
1035 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00, 0x01,
1036 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
1039 TestCase::Duration::QUICK);
1083 packet->SetSequenceNumber(18);
1087 packet->TlvPushBack(tlv1);
1093 msg1tlv1->SetType(1);
1094 msg1->TlvPushBack(msg1tlv1);
1096 packet->MessagePushBack(msg1);
1100 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
1101 msg2->SetHopLimit(255);
1102 msg2->SetHopCount(1);
1103 msg2->SetSequenceNumber(12345);
1107 msg2->AddressBlockPushBack(msg2a1);
1109 packet->MessagePushBack(msg2);
1111 uint8_t buffer[] = {
1112 0x0c, 0x00, 0x12, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00,
1113 0x08, 0x00, 0x02, 0x01, 0x00, 0x02, 0xf3, 0x00, 0x16, 0x0a,
1114 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00, 0x01,
1115 0x00, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00,
1118 TestCase::Duration::QUICK);
1162 packet->SetSequenceNumber(19);
1166 packet->TlvPushBack(tlv1);
1172 msg1tlv1->SetType(1);
1173 msg1->TlvPushBack(msg1tlv1);
1175 packet->MessagePushBack(msg1);
1179 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
1180 msg2->SetHopLimit(255);
1181 msg2->SetHopCount(1);
1182 msg2->SetSequenceNumber(12345);
1186 msg2->AddressBlockPushBack(msg2a1);
1188 packet->MessagePushBack(msg2);
1190 uint8_t buffer[] = {
1191 0x0c, 0x00, 0x13, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00,
1192 0x08, 0x00, 0x02, 0x01, 0x00, 0x02, 0xf3, 0x00, 0x16, 0x0a,
1193 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00, 0x01,
1194 0x00, 0x0a, 0x00, 0x00, 0x01, 0x00, 0x00,
1197 TestCase::Duration::QUICK);
1242 packet->SetSequenceNumber(20);
1246 packet->TlvPushBack(tlv1);
1252 msg1tlv1->SetType(1);
1253 msg1->TlvPushBack(msg1tlv1);
1255 packet->MessagePushBack(msg1);
1259 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
1260 msg2->SetHopLimit(255);
1261 msg2->SetHopCount(1);
1262 msg2->SetSequenceNumber(12345);
1267 msg2->AddressBlockPushBack(msg2a1);
1269 packet->MessagePushBack(msg2);
1271 uint8_t buffer[] = {
1272 0x0c, 0x00, 0x14, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00,
1273 0x08, 0x00, 0x02, 0x01, 0x00, 0x02, 0xf3, 0x00, 0x18, 0x0a,
1274 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00, 0x02,
1275 0x80, 0x03, 0x0a, 0x00, 0x00, 0x01, 0x02, 0x00, 0x00,
1278 TestCase::Duration::QUICK);
1323 packet->SetSequenceNumber(21);
1327 packet->TlvPushBack(tlv1);
1333 msg1tlv1->SetType(1);
1334 msg1->TlvPushBack(msg1tlv1);
1336 packet->MessagePushBack(msg1);
1340 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
1341 msg2->SetHopLimit(255);
1342 msg2->SetHopCount(1);
1343 msg2->SetSequenceNumber(12345);
1348 msg2->AddressBlockPushBack(msg2a1);
1350 packet->MessagePushBack(msg2);
1352 uint8_t buffer[] = {
1353 0x0c, 0x00, 0x15, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00, 0x08,
1354 0x00, 0x02, 0x01, 0x00, 0x02, 0xf3, 0x00, 0x1a, 0x0a,
1355 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00, 0x02, 0xc0,
1356 0x01, 0x0a, 0x01, 0x02, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00,
1359 TestCase::Duration::QUICK);
1409 packet->SetSequenceNumber(22);
1413 packet->TlvPushBack(tlv1);
1419 msg1tlv1->SetType(1);
1420 msg1->TlvPushBack(msg1tlv1);
1422 packet->MessagePushBack(msg1);
1426 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
1427 msg2->SetHopLimit(255);
1428 msg2->SetHopCount(1);
1429 msg2->SetSequenceNumber(12345);
1434 msg2->AddressBlockPushBack(msg2a1);
1439 msg2->AddressBlockPushBack(msg2a2);
1441 packet->MessagePushBack(msg2);
1443 uint8_t buffer[] = {
1444 0x0c, 0x00, 0x16, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00, 0x08, 0x00, 0x02, 0x01,
1445 0x00, 0x02, 0xf3, 0x00, 0x21, 0x0a,
1446 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00, 0x02, 0xc0, 0x01, 0x0a, 0x01,
1447 0x02, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x02, 0x20, 0x03, 0x0a, 0x0b, 0x00, 0x00,
1450 TestCase::Duration::QUICK);
1502 packet->SetSequenceNumber(23);
1506 packet->TlvPushBack(tlv1);
1512 msg1tlv1->SetType(1);
1513 msg1->TlvPushBack(msg1tlv1);
1515 packet->MessagePushBack(msg1);
1519 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
1520 msg2->SetHopLimit(255);
1521 msg2->SetHopCount(1);
1522 msg2->SetSequenceNumber(12345);
1527 msg2->AddressBlockPushBack(msg2a1);
1535 msg2a2->PrefixPushBack(32);
1536 msg2a2->PrefixPushBack(32);
1537 msg2a2->PrefixPushBack(16);
1538 msg2a2->PrefixPushBack(24);
1540 msg2->AddressBlockPushBack(msg2a2);
1542 packet->MessagePushBack(msg2);
1544 uint8_t buffer[] = {
1545 0x0c, 0x00, 0x17, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00, 0x08, 0x00,
1546 0x02, 0x01, 0x00, 0x02, 0xf3, 0x00, 0x32, 0x0a,
1547 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00, 0x02, 0xc0, 0x01,
1548 0x0a, 0x01, 0x02, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x04, 0x08, 0x0a,
1549 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0x0a,
1550 0x00, 0x00, 0x06, 0x20, 0x20, 0x10, 0x18, 0x00, 0x00,
1553 TestCase::Duration::QUICK);
1608 packet->SetSequenceNumber(24);
1612 packet->TlvPushBack(tlv1);
1618 msg1tlv1->SetType(1);
1619 msg1->TlvPushBack(msg1tlv1);
1621 packet->MessagePushBack(msg1);
1625 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
1626 msg2->SetHopLimit(255);
1627 msg2->SetHopCount(1);
1628 msg2->SetSequenceNumber(12345);
1633 msg2->AddressBlockPushBack(msg2a1);
1641 msg2a2->PrefixPushBack(32);
1642 msg2a2->PrefixPushBack(32);
1643 msg2a2->PrefixPushBack(16);
1644 msg2a2->PrefixPushBack(24);
1647 msg2a2tlv1->SetType(1);
1648 msg2a2->TlvPushBack(msg2a2tlv1);
1650 msg2->AddressBlockPushBack(msg2a2);
1652 packet->MessagePushBack(msg2);
1654 uint8_t buffer[] = {
1655 0x0c, 0x00, 0x18, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00, 0x08, 0x00,
1656 0x02, 0x01, 0x00, 0x02, 0xf3, 0x00, 0x34, 0x0a,
1657 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00, 0x02, 0xc0, 0x01,
1658 0x0a, 0x01, 0x02, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x04, 0x08, 0x0a,
1659 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0x0a,
1660 0x00, 0x00, 0x06, 0x20, 0x20, 0x10, 0x18, 0x00, 0x02, 0x01, 0x00,
1663 TestCase::Duration::QUICK);
1719 packet->SetSequenceNumber(25);
1723 packet->TlvPushBack(tlv1);
1729 msg1tlv1->SetType(1);
1730 msg1->TlvPushBack(msg1tlv1);
1732 packet->MessagePushBack(msg1);
1736 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
1737 msg2->SetHopLimit(255);
1738 msg2->SetHopCount(1);
1739 msg2->SetSequenceNumber(12345);
1744 msg2->AddressBlockPushBack(msg2a1);
1752 msg2a2->PrefixPushBack(32);
1753 msg2a2->PrefixPushBack(32);
1754 msg2a2->PrefixPushBack(16);
1755 msg2a2->PrefixPushBack(24);
1758 msg2a2tlv1->SetType(1);
1759 msg2a2tlv1->SetIndexStart(1);
1760 msg2a2->TlvPushBack(msg2a2tlv1);
1762 msg2->AddressBlockPushBack(msg2a2);
1764 packet->MessagePushBack(msg2);
1766 uint8_t buffer[] = {
1767 0x0c, 0x00, 0x19, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00, 0x08, 0x00,
1768 0x02, 0x01, 0x00, 0x02, 0xf3, 0x00, 0x35, 0x0a,
1769 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00, 0x02, 0xc0, 0x01,
1770 0x0a, 0x01, 0x02, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x04, 0x08, 0x0a,
1771 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0x0a,
1772 0x00, 0x00, 0x06, 0x20, 0x20, 0x10, 0x18, 0x00, 0x03, 0x01, 0x40, 0x01,
1775 TestCase::Duration::QUICK);
1832 packet->SetSequenceNumber(26);
1836 packet->TlvPushBack(tlv1);
1842 msg1tlv1->SetType(1);
1843 msg1->TlvPushBack(msg1tlv1);
1845 packet->MessagePushBack(msg1);
1849 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
1850 msg2->SetHopLimit(255);
1851 msg2->SetHopCount(1);
1852 msg2->SetSequenceNumber(12345);
1857 msg2->AddressBlockPushBack(msg2a1);
1865 msg2a2->PrefixPushBack(32);
1866 msg2a2->PrefixPushBack(32);
1867 msg2a2->PrefixPushBack(16);
1868 msg2a2->PrefixPushBack(24);
1871 msg2a2tlv1->SetType(1);
1872 msg2a2tlv1->SetIndexStart(1);
1873 msg2a2tlv1->SetIndexStop(3);
1874 msg2a2->TlvPushBack(msg2a2tlv1);
1876 msg2->AddressBlockPushBack(msg2a2);
1878 packet->MessagePushBack(msg2);
1880 uint8_t buffer[] = {
1881 0x0c, 0x00, 0x1a, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00, 0x08, 0x00, 0x02,
1882 0x01, 0x00, 0x02, 0xf3, 0x00, 0x36, 0x0a,
1883 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00, 0x02, 0xc0, 0x01, 0x0a,
1884 0x01, 0x02, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x04, 0x08, 0x0a, 0x00, 0x00,
1885 0x00, 0x0b, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0x0a, 0x00, 0x00, 0x06,
1886 0x20, 0x20, 0x10, 0x18, 0x00, 0x04, 0x01, 0x20, 0x01, 0x03,
1889 TestCase::Duration::QUICK);
1946 packet->SetSequenceNumber(27);
1950 packet->TlvPushBack(tlv1);
1956 msg1tlv1->SetType(1);
1957 msg1->TlvPushBack(msg1tlv1);
1959 packet->MessagePushBack(msg1);
1963 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
1964 msg2->SetHopLimit(255);
1965 msg2->SetHopCount(1);
1966 msg2->SetSequenceNumber(12345);
1971 msg2->AddressBlockPushBack(msg2a1);
1979 msg2a2->PrefixPushBack(32);
1980 msg2a2->PrefixPushBack(32);
1981 msg2a2->PrefixPushBack(16);
1982 msg2a2->PrefixPushBack(24);
1985 msg2a2tlv1->SetType(1);
1986 msg2a2tlv1->SetIndexStart(1);
1987 msg2a2tlv1->SetIndexStop(3);
1989 uint8_t value[] = {1, 2, 3};
1990 msg2a2tlv1->SetValue(value,
sizeof(value));
1991 msg2a2tlv1->SetMultivalue(
true);
1993 msg2a2->TlvPushBack(msg2a2tlv1);
1995 msg2->AddressBlockPushBack(msg2a2);
1997 packet->MessagePushBack(msg2);
1999 uint8_t buffer[] = {
2000 0x0c, 0x00, 0x1b, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00, 0x08, 0x00, 0x02, 0x01,
2001 0x00, 0x02, 0xf3, 0x00, 0x3a, 0x0a,
2002 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00, 0x02, 0xc0, 0x01, 0x0a, 0x01,
2003 0x02, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x04, 0x08, 0x0a, 0x00, 0x00, 0x00, 0x0b,
2004 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0x0a, 0x00, 0x00, 0x06, 0x20, 0x20, 0x10,
2005 0x18, 0x00, 0x08, 0x01, 0x34, 0x01, 0x03, 0x03, 0x01, 0x02, 0x03,
2008 TestCase::Duration::QUICK);
2140 packet->SetSequenceNumber(28);
2144 packet->TlvPushBack(tlv1);
2150 msg1tlv1->SetType(1);
2151 msg1->TlvPushBack(msg1tlv1);
2153 packet->MessagePushBack(msg1);
2157 msg2->SetOriginatorAddress(
Ipv4Address(
"10.0.0.1"));
2158 msg2->SetHopLimit(255);
2159 msg2->SetHopCount(1);
2160 msg2->SetSequenceNumber(12345);
2165 msg2->AddressBlockPushBack(msg2a1);
2173 msg2a2->PrefixPushBack(32);
2174 msg2a2->PrefixPushBack(32);
2175 msg2a2->PrefixPushBack(16);
2176 msg2a2->PrefixPushBack(24);
2179 msg2a2tlv1->SetType(1);
2180 msg2a2tlv1->SetIndexStart(1);
2181 msg2a2tlv1->SetIndexStop(3);
2184 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d,
2185 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b,
2186 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29,
2187 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
2188 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45,
2189 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x51, 0x52, 0x53,
2190 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f, 0x60, 0x61,
2191 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
2192 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d,
2193 0x7e, 0x7f, 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b,
2194 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97, 0x98, 0x99,
2195 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f, 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
2196 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5,
2197 0xb6, 0xb7, 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf, 0xc0, 0xc1, 0xc2, 0xc3,
2198 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, 0xd0, 0xd1,
2199 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
2200 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed,
2201 0xee, 0xef, 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, 0xfa, 0xfb,
2202 0xfc, 0xfd, 0xfe, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a,
2203 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18,
2204 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26,
2205 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c,
2207 msg2a2tlv1->SetValue(value,
sizeof(value));
2209 msg2a2->TlvPushBack(msg2a2tlv1);
2211 msg2->AddressBlockPushBack(msg2a2);
2213 packet->MessagePushBack(msg2);
2215 uint8_t buffer[] = {
2216 0x0c, 0x00, 0x1c, 0x00, 0x02, 0x01, 0x00, 0x01, 0x03, 0x00, 0x08, 0x00, 0x02, 0x01,
2217 0x00, 0x02, 0xf3, 0x01, 0x64, 0x0a,
2218 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00, 0x00, 0x02, 0xc0, 0x01, 0x0a, 0x01,
2219 0x02, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x04, 0x08, 0x0a, 0x00, 0x00, 0x00, 0x0b,
2220 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0x0a, 0x00, 0x00, 0x06, 0x20, 0x20, 0x10,
2221 0x18, 0x01, 0x32, 0x01, 0x38, 0x01, 0x03, 0x01, 0x2c, 0x00, 0x01, 0x02, 0x03, 0x04,
2222 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12,
2223 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20,
2224 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e,
2225 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c,
2226 0x3d, 0x3e, 0x3f, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a,
2227 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58,
2228 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f, 0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66,
2229 0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x73, 0x74,
2230 0x75, 0x76, 0x77, 0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f, 0x80, 0x81, 0x82,
2231 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, 0x90,
2232 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97, 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e,
2233 0x9f, 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac,
2234 0xad, 0xae, 0xaf, 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7, 0xb8, 0xb9, 0xba,
2235 0xbb, 0xbc, 0xbd, 0xbe, 0xbf, 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, 0xc8,
2236 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6,
2237 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf, 0xe0, 0xe1, 0xe2, 0xe3, 0xe4,
2238 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef, 0xf0, 0xf1, 0xf2,
2239 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0x00, 0x01,
2240 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
2241 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d,
2242 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b,
2246 TestCase::Duration::QUICK);
2270 packet->MessagePushBack(
m1);
2272 uint8_t buffer[] = {
2282 TestCase::Duration::QUICK);
2308 packet->MessagePushBack(
m1);
2310 uint8_t buffer[] = {
2311 0x00, 0x01, 0x8f, 0x00, 0x16, 0xab, 0xcd, 0x00, 0x00, 0x00, 0x00, 0x00,
2312 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
2315 TestCase::Duration::QUICK);
2347 m1->AddressBlockPushBack(m1a1);
2349 packet->MessagePushBack(
m1);
2351 uint8_t buffer[] = {
2352 0x00, 0x01, 0x8f, 0x00, 0x2a, 0xab, 0xcd, 0x00, 0x00, 0x00, 0x00,
2353 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
2354 0x00, 0x01, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2355 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
2358 TestCase::Duration::QUICK);
2392 m1->AddressBlockPushBack(m1a1);
2394 packet->MessagePushBack(
m1);
2396 uint8_t buffer[] = {
2397 0x00, 0x01, 0x8f, 0x00, 0x2c, 0xab, 0xcd, 0x00, 0x00, 0x00, 0x00, 0x00,
2398 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x02,
2399 0x80, 0x0f, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2400 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02, 0x00, 0x00,
2403 TestCase::Duration::QUICK);
2437 m1->AddressBlockPushBack(m1a1);
2439 packet->MessagePushBack(
m1);
2441 uint8_t buffer[] = {
2442 0x00, 0x01, 0x8f, 0x00, 0x2d, 0xab, 0xcd, 0x00, 0x00, 0x00, 0x00, 0x00,
2443 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x02,
2444 0xc0, 0x0d, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2445 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00, 0x11, 0x00, 0x00,
2448 TestCase::Duration::QUICK);
2487 m1->AddressBlockPushBack(m1a1);
2492 m1->AddressBlockPushBack(m1a2);
2494 packet->MessagePushBack(
m1);
2496 uint8_t buffer[] = {
2497 0x00, 0x01, 0x8f, 0x00, 0x36, 0xab, 0xcd, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2498 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x02, 0xc0, 0x0d, 0x00, 0x10,
2499 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02,
2500 0x00, 0x11, 0x00, 0x00, 0x02, 0xa0, 0x01, 0x00, 0x0e, 0x10, 0x11, 0x00, 0x00,
2503 TestCase::Duration::QUICK);
2544 m1->AddressBlockPushBack(m1a1);
2551 m1a2->PrefixPushBack(128);
2552 m1a2->PrefixPushBack(128);
2553 m1a2->PrefixPushBack(64);
2554 m1a2->PrefixPushBack(48);
2555 m1->AddressBlockPushBack(m1a2);
2557 packet->MessagePushBack(
m1);
2559 uint8_t buffer[] = {
2560 0x00, 0x01, 0x8f, 0x00, 0x73, 0xab, 0xcd, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2561 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x02, 0xc0, 0x0d,
2562 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2563 0x02, 0x00, 0x02, 0x00, 0x11, 0x00, 0x00, 0x04, 0x88, 0x01, 0x00, 0x10, 0x00,
2564 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2565 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2566 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2567 0x00, 0x00, 0x00, 0x05, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2568 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x80, 0x80, 0x40, 0x30, 0x00, 0x00,
2571 TestCase::Duration::QUICK);
2723 packet->SetSequenceNumber(29);
2727 packet->TlvPushBack(ptlv1);
2734 m1->TlvPushBack(m1tlv1);
2735 packet->MessagePushBack(
m1);
2740 m2->SetHopLimit(255);
2742 m2->SetSequenceNumber(12345);
2747 m2->AddressBlockPushBack(m2a1);
2754 m2a2->PrefixPushBack(32);
2755 m2a2->PrefixPushBack(32);
2756 m2a2->PrefixPushBack(16);
2757 m2a2->PrefixPushBack(24);
2760 m2a2tlv1->SetType(1);
2761 m2a2tlv1->SetIndexStart(1);
2762 m2a2tlv1->SetIndexStop(3);
2765 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d,
2766 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b,
2767 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29,
2768 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
2769 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45,
2770 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x51, 0x52, 0x53,
2771 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f, 0x60, 0x61,
2772 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
2773 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d,
2774 0x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1->SetValue(value,
sizeof(value));
2789 m2a2->TlvPushBack(m2a2tlv1);
2791 m2->AddressBlockPushBack(m2a2);
2792 packet->MessagePushBack(
m2);
2801 m3->AddressBlockPushBack(m3a1);
2808 m3a2->PrefixPushBack(128);
2809 m3a2->PrefixPushBack(128);
2810 m3a2->PrefixPushBack(64);
2811 m3a2->PrefixPushBack(48);
2813 m3->AddressBlockPushBack(m3a2);
2814 packet->MessagePushBack(m3);
2816 uint8_t buffer[] = {
2817 0x0c, 0x00, 0x1d, 0x00, 0x02, 0x01, 0x00, 0x01, 0x0f, 0x00, 0x08, 0x00, 0x02, 0x01,
2818 0x00, 0x02, 0xf3, 0x01, 0x64, 0x0a, 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00,
2819 0x00, 0x02, 0xc0, 0x01, 0x0a, 0x01, 0x02, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x04,
2820 0x08, 0x0a, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0x0a,
2821 0x00, 0x00, 0x06, 0x20, 0x20, 0x10, 0x18, 0x01, 0x32, 0x01, 0x38, 0x01, 0x03, 0x01,
2822 0x2c, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c,
2823 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a,
2824 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28,
2825 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36,
2826 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x40, 0x41, 0x42, 0x43, 0x44,
2827 0x45, 0x46,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, 0xf7, 0xf8, 0xf9, 0xfa,
2840 0xfb, 0xfc, 0xfd, 0xfe, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09,
2841 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
2842 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25,
2843 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x01, 0x8f, 0x00, 0x73, 0xab, 0xcd, 0x00,
2844 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
2845 0x00, 0x02, 0xc0, 0x0d, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2846 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00, 0x11, 0x00, 0x00, 0x04, 0x88, 0x01, 0x00,
2847 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2848 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2849 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2850 0x00, 0x00, 0x05, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
2851 0x00, 0x00, 0x00, 0x06, 0x80, 0x80, 0x40, 0x30, 0x00, 0x00,
2854 TestCase::Duration::QUICK);
3006 packet->SetSequenceNumber(30);
3010 packet->TlvPushBack(ptlv1);
3017 m1->TlvPushBack(m1tlv1);
3018 packet->MessagePushBack(
m1);
3023 m2->SetHopLimit(255);
3025 m2->SetSequenceNumber(12345);
3030 m2->AddressBlockPushBack(m2a1);
3037 m2a2->PrefixPushBack(32);
3038 m2a2->PrefixPushBack(32);
3039 m2a2->PrefixPushBack(16);
3040 m2a2->PrefixPushBack(24);
3043 m2a2tlv1->SetType(1);
3044 m2a2tlv1->SetIndexStart(1);
3045 m2a2tlv1->SetIndexStop(3);
3048 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d,
3049 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a, 0x1b,
3050 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29,
3051 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
3052 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45,
3053 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x51, 0x52, 0x53,
3054 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f, 0x60, 0x61,
3055 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
3056 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d,
3057 0x7e, 0x7f, 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b,
3058 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97, 0x98, 0x99,
3059 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f, 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
3060 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5,
3061 0xb6, 0xb7, 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf, 0xc0, 0xc1, 0xc2, 0xc3,
3062 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, 0xd0, 0xd1,
3063 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
3064 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed,
3065 0xee, 0xef, 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, 0xfa, 0xfb,
3066 0xfc, 0xfd, 0xfe, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a,
3067 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18,
3068 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26,
3069 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c,
3071 m2a2tlv1->SetValue(value,
sizeof(value));
3072 m2a2->TlvPushBack(m2a2tlv1);
3074 m2->AddressBlockPushBack(m2a2);
3075 packet->MessagePushBack(
m2);
3084 m3->AddressBlockPushBack(m3a1);
3091 m3a2->PrefixPushBack(128);
3092 m3a2->PrefixPushBack(128);
3093 m3a2->PrefixPushBack(64);
3094 m3a2->PrefixPushBack(48);
3096 m3->AddressBlockPushBack(m3a2);
3097 packet->MessagePushBack(m3);
3099 uint8_t buffer[] = {
3100 0x0c, 0x00, 0x1e, 0x00, 0x02, 0x01, 0x00, 0x01, 0x0f, 0x00, 0x08, 0x00, 0x02, 0x01,
3101 0x00, 0x02, 0xf3, 0x01, 0x64, 0x0a, 0x00, 0x00, 0x01, 0xff, 0x01, 0x30, 0x39, 0x00,
3102 0x00, 0x02, 0xc0, 0x01, 0x0a, 0x01, 0x02, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x04,
3103 0x08, 0x0a, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0x0a,
3104 0x00, 0x00, 0x06, 0x20, 0x20, 0x10, 0x18, 0x01, 0x32, 0x01, 0x38, 0x01, 0x03, 0x01,
3105 0x2c, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c,
3106 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1a,
3107 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28,
3108 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36,
3109 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x40, 0x41, 0x42, 0x43, 0x44,
3110 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x51, 0x52,
3111 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x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x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
3125 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25,
3126 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x01, 0x8f, 0x00, 0x73, 0xab, 0xcd, 0x00,
3127 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
3128 0x00, 0x02, 0xc0, 0x0d, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3129 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00, 0x11, 0x00, 0x00, 0x04, 0x88, 0x01, 0x00,
3130 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3131 0x00, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3132 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3133 0x00, 0x00, 0x05, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
3134 0x00, 0x00, 0x00, 0x06, 0x80, 0x80, 0x40, 0x30, 0x00, 0x00,
3137 TestCase::Duration::QUICK);