Some devices return multiple packets in a single poll. Handle such devices gracefully by enqueueing received PXE UDP packets (along with a pseudo-header to hold the IPv4 addresses and port numbers) and dequeueing them on subsequent calls to PXENV_UDP_READ. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
34 |
|
34 |
|
35 |
|
35 |
|
36 |
|
36 |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
37 |
|
49 |
|
38 |
|
50 |
|
39 |
|
51 |
|
40 |
|
52 |
|
41 |
|
53 |
|
42 |
|
54 |
|
43 |
|
|
|
44 |
|
|
|
|
55 |
|
|
|
56 |
|
|
45 |
|
57 |
|
46 |
|
58 |
|
47 |
|
59 |
|
|
|
||
58 |
|
70 |
|
59 |
|
71 |
|
60 |
|
72 |
|
61 |
|
|
|
|
73 |
|
|
62 |
|
74 |
|
63 |
|
75 |
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
|
76 |
|
|
82 |
|
77 |
|
83 |
|
|
|
|
78 |
|
|
84 |
|
79 |
|
85 |
|
80 |
|
86 |
|
81 |
|
87 |
|
82 |
|
88 |
|
|
|
89 |
|
|
|
90 |
|
83 |
|
91 |
|
84 |
|
92 |
|
85 |
|
93 |
|
|
|
94 |
|
|
|
95 |
|
86 |
|
96 |
|
|
|
97 |
|
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
|
|
|
96 |
|
|
|
97 |
|
|
98 |
|
98 |
|
99 |
|
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
|
|
100 |
|
105 |
|
101 |
|
106 |
|
102 |
|
107 |
|
|
|
||
116 |
|
121 |
|
117 |
|
122 |
|
118 |
|
123 |
|
|
124 |
|
|
119 |
|
125 |
|
120 |
|
126 |
|
121 |
|
127 |
|
|
|
||
205 |
|
211 |
|
206 |
|
212 |
|
207 |
|
213 |
|
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
208 |
|
217 |
|
209 |
|
218 |
|
210 |
|
219 |
|
211 |
|
220 |
|
212 |
|
221 |
|
|
222 |
|
|
|
223 |
|
|
|
224 |
|
|
|
225 |
|
|
|
226 |
|
|
|
227 |
|
|
213 |
|
228 |
|
214 |
|
229 |
|
215 |
|
230 |
|
|
|
||
365 |
|
380 |
|
366 |
|
381 |
|
367 |
|
382 |
|
|
383 |
|
|
|
384 |
|
|
368 |
|
385 |
|
369 |
|
386 |
|
|
387 |
|
|
|
388 |
|
|
|
389 |
|
|
|
390 |
|
|
|
391 |
|
|
|
392 |
|
|
370 |
|
393 |
|
371 |
|
|
|
372 |
|
|
|
373 |
|
|
|
374 |
|
|
|
|
394 |
|
|
|
395 |
|
|
|
396 |
|
|
375 |
|
397 |
|
376 |
|
398 |
|
377 |
|
|
|
378 |
|
399 |
|
379 |
|
400 |
|
380 |
|
|
|
381 |
|
|
|
|
401 |
|
|
|
402 |
|
|
|
403 |
|
|
|
404 |
|
|
|
405 |
|
|
|
406 |
|
|
|
407 |
|
|
|
408 |
|
|
382 |
|
409 |
|
383 |
|
410 |
|
384 |
|
411 |
|
|
|
||
386 |
|
413 |
|
387 |
|
414 |
|
388 |
|
415 |
|
389 |
|
|
|
|
416 |
|
|
390 |
|
417 |
|
391 |
|
418 |
|
392 |
|
419 |
|
393 |
|
420 |
|
394 |
|
|
|
|
421 |
|
|
395 |
|
422 |
|
396 |
|
423 |
|
|
424 |
|
|
|
425 |
|
|
|
426 |
|
|
|
427 |
|
|
|
428 |
|
|
|
429 |
|
|
|
430 |
|
|
|
431 |
|
|
|
432 |
|
|
|
433 |
|
|
|
434 |
|
|
|
435 |
|
|
|
436 |
|
|
|
437 |
|
|
|
438 |
|
|
397 |
|
439 |
|
398 |
|
440 |
|
399 |
|
441 |
|
|
|
||
401 |
|
443 |
|
402 |
|
444 |
|
403 |
|
445 |
|
|
446 |
|
|
|
447 |
|
|
|
448 |
|
|
404 |
|
449 |
|
405 |
|
450 |
|
406 |
|
451 |
|
|
452 |
|
|
|
453 |
|
|
407 |
|
454 |
|
408 |
|
455 |
|
409 |
|
456 |
|