diff options
author | Michael Brown | 2011-05-05 19:02:44 +0200 |
---|---|---|
committer | Michael Brown | 2011-05-05 19:10:31 +0200 |
commit | c1cc769ef4661f121cd7664f7d8fa4bd06dde005 (patch) | |
tree | 6e71bd7e992406a82094a7b70b33474dcea1286c /contrib | |
parent | [bofm] Pass BOFM version 2 table to SetStatus() if applicable (diff) | |
download | ipxe-c1cc769ef4661f121cd7664f7d8fa4bd06dde005.tar.gz ipxe-c1cc769ef4661f121cd7664f7d8fa4bd06dde005.tar.xz ipxe-c1cc769ef4661f121cd7664f7d8fa4bd06dde005.zip |
[ipv4] Include network device metadata in packet traces
(Ab)use the "ident" field in transmitted IPv4 packets to convey
metadata about the network device. In particular:
bits 0-3 represent the low bits of the "RX" good packet counter
bits 4-7 represent the low bits of the "RXE" bad packet counter
bits 8-15 represent the transmitted packet sequence number
This allows some relevant information about the internal state of the
network device to be read out from a packet trace from a non-debug
build of iPXE. In particular, it allows a packet trace containing
packets transmitted by iPXE to indicate whether or not any packets
have been received by iPXE.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions