aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/fragment.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2014-03-02 20:33:35 +0000
committerMichael Brown <mcb30@ipxe.org>2014-03-02 20:33:35 +0000
commit11963c4f5f235c07380e4004082ca0bcf4aefa40 (patch)
tree85310531a78e1ed1387b3a80937cc4c508172151 /src/include/ipxe/fragment.h
parentc165e8d1fc03c12549e222c65505fe954a199d77 (diff)
downloadipxe-11963c4f5f235c07380e4004082ca0bcf4aefa40.tar.gz
[tcpip] Add IP statistics collection as per RFC 4293
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/fragment.h')
-rw-r--r--src/include/ipxe/fragment.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/ipxe/fragment.h b/src/include/ipxe/fragment.h
index 6b47439d5..e311ad1e4 100644
--- a/src/include/ipxe/fragment.h
+++ b/src/include/ipxe/fragment.h
@@ -27,6 +27,8 @@ struct fragment {
size_t hdrlen;
/** Reassembly timer */
struct retry_timer timer;
+ /** Fragment reassembler */
+ struct fragment_reassembler *fragments;
};
/** A fragment reassembler */
@@ -59,6 +61,8 @@ struct fragment_reassembler {
* @ret more_frags More fragments exist
*/
int ( * more_fragments ) ( struct io_buffer *iobuf, size_t hdrlen );
+ /** Associated IP statistics */
+ struct ip_statistics *stats;
};
extern struct io_buffer *