diff options
| author | Michael Brown | 2010-10-09 02:24:18 +0200 |
|---|---|---|
| committer | Michael Brown | 2010-10-09 02:24:18 +0200 |
| commit | 6d11229e83b91ac987bf34b811686f37ec750ef4 (patch) | |
| tree | 841cbb2d26804f79ee35bea37836b716b6d5286f /src/arch | |
| parent | [dhcp] Omit ProxyDHCPREQUEST if PXE options are present in ProxyDHCPOFFER (diff) | |
| download | ipxe-6d11229e83b91ac987bf34b811686f37ec750ef4.tar.gz ipxe-6d11229e83b91ac987bf34b811686f37ec750ef4.tar.xz ipxe-6d11229e83b91ac987bf34b811686f37ec750ef4.zip | |
[dhcp] Include session state metadata in packet traces
(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>
Diffstat (limited to 'src/arch')
0 files changed, 0 insertions, 0 deletions
