Ole Troan | 944f548 | 2016-05-24 11:56:58 +0200 | [diff] [blame] | 1 | tap connect tap0 |
| 2 | set int state tap-0 up |
| 3 | set int ip address tap-0 1::1/64 |
Damjan Marion | 3153f00 | 2022-05-14 00:14:02 +0200 | [diff] [blame] | 4 | packet-generator new { \ |
| 5 | name hbh1 \ |
| 6 | limit 1 \ |
| 7 | node ip6-input \ |
| 8 | size 48-48 \ |
| 9 | data { \ |
| 10 | IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2 \ |
| 11 | hex 0x3B00010403040506 \ |
| 12 | incrementing 100 \ |
| 13 | } \ |
Ole Troan | 944f548 | 2016-05-24 11:56:58 +0200 | [diff] [blame] | 14 | } |
Damjan Marion | 3153f00 | 2022-05-14 00:14:02 +0200 | [diff] [blame] | 15 | packet-generator new { \ |
| 16 | name hbh2 \ |
| 17 | limit 1 \ |
| 18 | node ip6-input \ |
| 19 | size 48-48 \ |
| 20 | data { \ |
| 21 | IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2 \ |
| 22 | hex 0x3B00C10403040506 \ |
| 23 | incrementing 100 \ |
| 24 | } \ |
Ole Troan | 944f548 | 2016-05-24 11:56:58 +0200 | [diff] [blame] | 25 | } |
| 26 | |
Damjan Marion | 3153f00 | 2022-05-14 00:14:02 +0200 | [diff] [blame] | 27 | packet-generator new { \ |
| 28 | name hbh3 \ |
| 29 | limit 1 \ |
| 30 | node ip6-input \ |
| 31 | size 48-48 \ |
| 32 | data { \ |
| 33 | IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2 \ |
| 34 | hex 0x3BffC10403040506 \ |
| 35 | incrementing 100 \ |
| 36 | } \ |
Ole Troan | 944f548 | 2016-05-24 11:56:58 +0200 | [diff] [blame] | 37 | } |
| 38 | |
Damjan Marion | 3153f00 | 2022-05-14 00:14:02 +0200 | [diff] [blame] | 39 | packet-generator new { \ |
| 40 | name hbh4 \ |
| 41 | limit 1 \ |
| 42 | node ip6-input \ |
| 43 | size 64-64 \ |
| 44 | data { \ |
| 45 | IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2 \ |
| 46 | hex 0x3BffC10403040506 \ |
| 47 | incrementing 100 \ |
| 48 | } \ |
Ole Troan | 944f548 | 2016-05-24 11:56:58 +0200 | [diff] [blame] | 49 | } |
| 50 | |
Damjan Marion | 3153f00 | 2022-05-14 00:14:02 +0200 | [diff] [blame] | 51 | packet-generator new { \ |
| 52 | name hbh5 \ |
| 53 | limit 1 \ |
| 54 | node ip6-input \ |
| 55 | size 56-56 \ |
| 56 | data { \ |
| 57 | IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2 \ |
| 58 | length 16 \ |
| 59 | hex 0x3B010104030405060106030405060708 \ |
| 60 | incrementing 100 \ |
| 61 | } \ |
Ole Troan | 944f548 | 2016-05-24 11:56:58 +0200 | [diff] [blame] | 62 | } |
| 63 | |
Damjan Marion | 3153f00 | 2022-05-14 00:14:02 +0200 | [diff] [blame] | 64 | packet-generator new { \ |
| 65 | name hbh6 \ |
| 66 | limit 1 \ |
| 67 | node ip6-input \ |
| 68 | size 56-56 \ |
| 69 | data { \ |
| 70 | IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2 \ |
| 71 | length 16 \ |
| 72 | hex 0x3a00050200000100 \ |
| 73 | ICMP echo_request \ |
| 74 | incrementing 100 \ |
| 75 | } \ |
Ole Troan | 944f548 | 2016-05-24 11:56:58 +0200 | [diff] [blame] | 76 | } |
| 77 | |
| 78 | tr add pg-input 100 |