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