Dave Barach | c4abafd | 2019-09-04 12:09:32 -0400 | [diff] [blame] | 1 | set term pag off |
| 2 | loop create |
| 3 | set int state loop0 up |
| 4 | oddbuf enable loop0 |
| 5 | |
| 6 | packet-generator new { |
| 7 | name oddbuf |
| 8 | limit 1 |
| 9 | size 300-300 |
| 10 | interface loop0 |
| 11 | node ethernet-input |
| 12 | data { IP4: 1.2.3 -> 4.5.6 |
| 13 | UDP: 11.22.33.44 -> 11.22.34.44 |
| 14 | UDP: 1234 -> 2345 |
| 15 | incrementing 286 |
| 16 | } |
| 17 | } |
| 18 | pcap dispatch trace on max 10000 buffer-trace pg-input 1000 |
| 19 | |
| 20 | oddbuf configure n_to_copy 2 offset 1 first_offset 5 |
| 21 | pa en oddbuf |
| 22 | suspend |
| 23 | |
| 24 | oddbuf configure n_to_copy 2 offset 1 first_offset 5 |
| 25 | pa en oddbuf |
| 26 | suspend |
| 27 | |
| 28 | oddbuf configure n_to_copy 2 offset 2 first_offset 5 |
| 29 | pa en oddbuf |
| 30 | suspend |
| 31 | |
| 32 | oddbuf configure n_to_copy 2 offset 3 first_offset 5 |
| 33 | pa en oddbuf |
| 34 | suspend |
| 35 | |
| 36 | oddbuf configure n_to_copy 2 offset 4 first_offset 5 |
| 37 | pa en oddbuf |
| 38 | suspend |
| 39 | |
| 40 | oddbuf configure n_to_copy 2 offset 5 first_offset 5 |
| 41 | pa en oddbuf |
| 42 | suspend |
| 43 | |
| 44 | oddbuf configure n_to_copy 2 offset 6 first_offset 5 |
| 45 | pa en oddbuf |
| 46 | suspend |
| 47 | |
| 48 | oddbuf configure n_to_copy 2 offset 7 first_offset 5 |
| 49 | pa en oddbuf |
| 50 | suspend |
| 51 | |
| 52 | oddbuf configure n_to_copy 3 offset 0 first_offset 5 |
| 53 | pa en oddbuf |
| 54 | suspend |
| 55 | |
| 56 | oddbuf configure n_to_copy 3 offset 1 first_offset 5 |
| 57 | pa en oddbuf |
| 58 | suspend |
| 59 | |
| 60 | oddbuf configure n_to_copy 3 offset 2 first_offset 5 |
| 61 | pa en oddbuf |
| 62 | suspend |
| 63 | |
| 64 | oddbuf configure n_to_copy 3 offset 3 first_offset 5 |
| 65 | pa en oddbuf |
| 66 | suspend |
| 67 | |
| 68 | oddbuf configure n_to_copy 3 offset 4 first_offset 5 |
| 69 | pa en oddbuf |
| 70 | suspend |
| 71 | |
| 72 | oddbuf configure n_to_copy 3 offset 5 first_offset 5 |
| 73 | pa en oddbuf |
| 74 | suspend |
| 75 | |
| 76 | oddbuf configure n_to_copy 3 offset 6 first_offset 5 |
| 77 | pa en oddbuf |
| 78 | suspend |
| 79 | |
| 80 | oddbuf configure n_to_copy 3 offset 7 first_offset 5 |
| 81 | pa en oddbuf |
| 82 | suspend |
| 83 | |
| 84 | oddbuf configure n_to_copy 4 offset 0 first_offset 5 |
| 85 | pa en oddbuf |
| 86 | suspend |
| 87 | |
| 88 | oddbuf configure n_to_copy 4 offset 1 first_offset 5 |
| 89 | pa en oddbuf |
| 90 | suspend |
| 91 | |
| 92 | oddbuf configure n_to_copy 4 offset 2 first_offset 5 |
| 93 | pa en oddbuf |
| 94 | suspend |
| 95 | |
| 96 | oddbuf configure n_to_copy 4 offset 3 first_offset 5 |
| 97 | pa en oddbuf |
| 98 | suspend |
| 99 | |
| 100 | oddbuf configure n_to_copy 4 offset 4 first_offset 5 |
| 101 | pa en oddbuf |
| 102 | suspend |
| 103 | |
| 104 | oddbuf configure n_to_copy 4 offset 5 first_offset 5 |
| 105 | pa en oddbuf |
| 106 | suspend |
| 107 | |
| 108 | oddbuf configure n_to_copy 4 offset 6 first_offset 5 |
| 109 | pa en oddbuf |
| 110 | suspend |
| 111 | |
| 112 | oddbuf configure n_to_copy 4 offset 7 first_offset 5 |
| 113 | pa en oddbuf |
| 114 | suspend |
| 115 | |
| 116 | oddbuf configure n_to_copy 5 offset 0 first_offset 5 |
| 117 | pa en oddbuf |
| 118 | suspend |
| 119 | |
| 120 | oddbuf configure n_to_copy 5 offset 1 first_offset 5 |
| 121 | pa en oddbuf |
| 122 | suspend |
| 123 | |
| 124 | oddbuf configure n_to_copy 5 offset 2 first_offset 5 |
| 125 | pa en oddbuf |
| 126 | suspend |
| 127 | |
| 128 | oddbuf configure n_to_copy 5 offset 3 first_offset 5 |
| 129 | pa en oddbuf |
| 130 | suspend |
| 131 | |
| 132 | oddbuf configure n_to_copy 5 offset 4 first_offset 5 |
| 133 | pa en oddbuf |
| 134 | suspend |
| 135 | |
| 136 | oddbuf configure n_to_copy 5 offset 5 first_offset 5 |
| 137 | pa en oddbuf |
| 138 | suspend |
| 139 | |
| 140 | oddbuf configure n_to_copy 5 offset 6 first_offset 5 |
| 141 | pa en oddbuf |
| 142 | suspend |
| 143 | |
| 144 | oddbuf configure n_to_copy 5 offset 7 first_offset 5 |
| 145 | pa en oddbuf |
| 146 | suspend |
| 147 | |
| 148 | oddbuf configure n_to_copy 2 offset 1 first_offset 0 |
| 149 | pa en oddbuf |
| 150 | suspend |
| 151 | |
| 152 | oddbuf configure n_to_copy 2 offset 1 first_offset 0 |
| 153 | pa en oddbuf |
| 154 | suspend |
| 155 | |
| 156 | oddbuf configure n_to_copy 2 offset 2 first_offset 0 |
| 157 | pa en oddbuf |
| 158 | suspend |
| 159 | |
| 160 | oddbuf configure n_to_copy 2 offset 3 first_offset 0 |
| 161 | pa en oddbuf |
| 162 | suspend |
| 163 | |
| 164 | oddbuf configure n_to_copy 2 offset 4 first_offset 0 |
| 165 | pa en oddbuf |
| 166 | suspend |
| 167 | |
| 168 | oddbuf configure n_to_copy 2 offset 5 first_offset 0 |
| 169 | pa en oddbuf |
| 170 | suspend |
| 171 | |
| 172 | oddbuf configure n_to_copy 2 offset 6 first_offset 0 |
| 173 | pa en oddbuf |
| 174 | suspend |
| 175 | |
| 176 | oddbuf configure n_to_copy 2 offset 7 first_offset 0 |
| 177 | pa en oddbuf |
| 178 | suspend |
| 179 | |
| 180 | oddbuf configure n_to_copy 3 offset 0 first_offset 0 |
| 181 | pa en oddbuf |
| 182 | suspend |
| 183 | |
| 184 | oddbuf configure n_to_copy 3 offset 1 first_offset 0 |
| 185 | pa en oddbuf |
| 186 | suspend |
| 187 | |
| 188 | oddbuf configure n_to_copy 3 offset 2 first_offset 0 |
| 189 | pa en oddbuf |
| 190 | suspend |
| 191 | |
| 192 | oddbuf configure n_to_copy 3 offset 3 first_offset 0 |
| 193 | pa en oddbuf |
| 194 | suspend |
| 195 | |
| 196 | oddbuf configure n_to_copy 3 offset 4 first_offset 0 |
| 197 | pa en oddbuf |
| 198 | suspend |
| 199 | |
| 200 | oddbuf configure n_to_copy 3 offset 5 first_offset 0 |
| 201 | pa en oddbuf |
| 202 | suspend |
| 203 | |
| 204 | oddbuf configure n_to_copy 3 offset 6 first_offset 0 |
| 205 | pa en oddbuf |
| 206 | suspend |
| 207 | |
| 208 | oddbuf configure n_to_copy 3 offset 7 first_offset 0 |
| 209 | pa en oddbuf |
| 210 | suspend |
| 211 | |
| 212 | oddbuf configure n_to_copy 4 offset 0 first_offset 0 |
| 213 | pa en oddbuf |
| 214 | suspend |
| 215 | |
| 216 | oddbuf configure n_to_copy 4 offset 1 first_offset 0 |
| 217 | pa en oddbuf |
| 218 | suspend |
| 219 | |
| 220 | oddbuf configure n_to_copy 4 offset 2 first_offset 0 |
| 221 | pa en oddbuf |
| 222 | suspend |
| 223 | |
| 224 | oddbuf configure n_to_copy 4 offset 3 first_offset 0 |
| 225 | pa en oddbuf |
| 226 | suspend |
| 227 | |
| 228 | oddbuf configure n_to_copy 4 offset 4 first_offset 0 |
| 229 | pa en oddbuf |
| 230 | suspend |
| 231 | |
| 232 | oddbuf configure n_to_copy 4 offset 5 first_offset 0 |
| 233 | pa en oddbuf |
| 234 | suspend |
| 235 | |
| 236 | oddbuf configure n_to_copy 4 offset 6 first_offset 0 |
| 237 | pa en oddbuf |
| 238 | suspend |
| 239 | |
| 240 | oddbuf configure n_to_copy 4 offset 7 first_offset 0 |
| 241 | pa en oddbuf |
| 242 | suspend |
| 243 | |
| 244 | oddbuf configure n_to_copy 5 offset 0 first_offset 0 |
| 245 | pa en oddbuf |
| 246 | suspend |
| 247 | |
| 248 | oddbuf configure n_to_copy 5 offset 1 first_offset 0 |
| 249 | pa en oddbuf |
| 250 | suspend |
| 251 | |
| 252 | oddbuf configure n_to_copy 5 offset 2 first_offset 0 |
| 253 | pa en oddbuf |
| 254 | suspend |
| 255 | |
| 256 | oddbuf configure n_to_copy 5 offset 3 first_offset 0 |
| 257 | pa en oddbuf |
| 258 | suspend |
| 259 | |
| 260 | oddbuf configure n_to_copy 5 offset 4 first_offset 0 |
| 261 | pa en oddbuf |
| 262 | suspend |
| 263 | |
| 264 | oddbuf configure n_to_copy 5 offset 5 first_offset 0 |
| 265 | pa en oddbuf |
| 266 | suspend |
| 267 | |
| 268 | oddbuf configure n_to_copy 5 offset 6 first_offset 0 |
| 269 | pa en oddbuf |
| 270 | suspend |
| 271 | |
| 272 | oddbuf configure n_to_copy 5 offset 7 first_offset 0 |
| 273 | pa en oddbuf |
| 274 | suspend |
| 275 | |
| 276 | pcap dispatch trace off |