iPXE uses DHCP timeouts loosely based on values recommended by the specification, but often abbreviated to reduce timeouts for reliable and/or simple network topologies. Extract the DHCP timing parameters to config/dhcp.h and document them. The resulting default iPXE behavior is exactly the same, but downstreams are now afforded the opportunity to implement spec-compliant behavior via config file overrides. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
|
||
639 |
|
639 |
|
640 |
|
640 |
|
641 |
|
641 |
|
642 |
|
|
|
643 |
|
|
|
644 |
|
|
|
645 |
|
|
|
646 |
|
|
|
647 |
|
|
|
648 |
|
|
|
649 |
|
|
|
650 |
|
|
|
651 |
|
|
|
652 |
|
642 |
|
653 |
|
643 |
|
654 |
|
644 |
|
|
|
||
44 |
|
44 |
|
45 |
|
45 |
|
46 |
|
46 |
|
|
47 |
|
|
47 |
|
48 |
|
48 |
|
49 |
|
49 |
|
50 |
|
|
|
||
171 |
|
172 |
|
172 |
|
173 |
|
173 |
|
174 |
|
174 |
|
|
|
175 |
|
|
|
|
175 |
|
|
|
176 |
|
|
|
177 |
|
|
176 |
|
178 |
|
177 |
|
179 |
|
178 |
|
180 |
|
|
|
||
272 |
|
274 |
|
273 |
|
275 |
|
274 |
|
276 |
|
275 |
|
|
|
276 |
|
|
|
277 |
|
|
|
|
277 |
|
|
|
278 |
|
|
278 |
|
279 |
|
279 |
|
280 |
|
280 |
|
281 |
|
|
|
||
415 |
|
416 |
|
416 |
|
417 |
|
417 |
|
418 |
|
418 |
|
|
|
|
419 |
|
|
419 |
|
420 |
|
420 |
|
421 |
|
421 |
|
422 |
|
|
|
||
431 |
|
432 |
|
432 |
|
433 |
|
433 |
|
434 |
|
434 |
|
|
|
|
435 |
|
|
|
436 |
|
|
435 |
|
437 |
|
436 |
|
438 |
|
437 |
|
439 |
|
|
|
||
447 |
|
449 |
|
448 |
|
450 |
|
449 |
|
451 |
|
450 |
|
|
|
|
452 |
|
|
|
453 |
|
|
451 |
|
454 |
|
452 |
|
455 |
|
453 |
|
456 |
|
|
|
||
584 |
|
587 |
|
585 |
|
588 |
|
586 |
|
589 |
|
587 |
|
|
|
|
590 |
|
|
|
591 |
|
|
588 |
|
592 |
|
589 |
|
593 |
|
590 |
|
594 |
|
|
|
||
669 |
|
673 |
|
670 |
|
674 |
|
671 |
|
675 |
|
672 |
|
|
|
|
676 |
|
|
673 |
|
677 |
|
674 |
|
678 |
|
675 |
|
679 |
|
|
|
||
685 |
|
689 |
|
686 |
|
690 |
|
687 |
|
691 |
|
688 |
|
|
|
|
692 |
|
|
|
693 |
|
|
689 |
|
694 |
|
690 |
|
695 |
|
691 |
|
696 |
|
|
|
||
810 |
|
815 |
|
811 |
|
816 |
|
812 |
|
817 |
|
813 |
|
|
|
|
818 |
|
|
814 |
|
819 |
|
815 |
|
820 |
|
816 |
|
821 |
|
|
|
||
832 |
|
837 |
|
833 |
|
838 |
|
834 |
|
839 |
|
835 |
|
|
|
|
840 |
|
|
|
841 |
|
|
836 |
|
842 |
|
837 |
|
843 |
|
838 |
|
844 |
|