(Ab)use the "secs" field in transmitted DHCP packets to convey metadata about the DHCP session state. In particular: bit 0 represents the receipt of a ProxyDHCPOFFER bit 1 represents the receipt of a DHCPOFFER bits 2+ represent the transmitted packet sequence number This allows some relevant information about the internal state of the DHCP session to be read out from a packet trace from a non-debug build of iPXE. It also potentially allows replies to be correlated to their requests (for servers that copy the "secs" field from request to reply). Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
245 |
|
245 |
|
246 |
|
246 |
|
247 |
|
247 |
|
|
248 |
|
|
|
249 |
|
|
248 |
|
250 |
|
249 |
|
251 |
|
250 |
|
252 |
|
|
|
||
1098 |
|
1100 |
|
1099 |
|
1101 |
|
1100 |
|
1102 |
|
|
1103 |
|
|
|
1104 |
|
|
|
1105 |
|
|
|
1106 |
|
|
|
1107 |
|
|
|
1108 |
|
|
|
1109 |
|
|
|
1110 |
|
|
1101 |
|
1111 |
|
1102 |
|
1112 |
|
1103 |
|
1113 |
|