diff options
author | Michael Brown | 2014-03-02 21:33:35 +0100 |
---|---|---|
committer | Michael Brown | 2014-03-02 21:33:35 +0100 |
commit | 11963c4f5f235c07380e4004082ca0bcf4aefa40 (patch) | |
tree | 85310531a78e1ed1387b3a80937cc4c508172151 /src/include/ipxe/tcpip.h | |
parent | [image] Ensure every image has a fully resolved URI (diff) | |
download | ipxe-11963c4f5f235c07380e4004082ca0bcf4aefa40.tar.gz ipxe-11963c4f5f235c07380e4004082ca0bcf4aefa40.tar.xz ipxe-11963c4f5f235c07380e4004082ca0bcf4aefa40.zip |
[tcpip] Add IP statistics collection as per RFC 4293
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/tcpip.h')
-rw-r--r-- | src/include/ipxe/tcpip.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/ipxe/tcpip.h b/src/include/ipxe/tcpip.h index fdfbae11..f5ef4f04 100644 --- a/src/include/ipxe/tcpip.h +++ b/src/include/ipxe/tcpip.h @@ -17,6 +17,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); struct io_buffer; struct net_device; +struct ip_statistics; /** Empty checksum value * @@ -132,7 +133,8 @@ struct tcpip_net_protocol { extern int tcpip_rx ( struct io_buffer *iobuf, struct net_device *netdev, uint8_t tcpip_proto, struct sockaddr_tcpip *st_src, - struct sockaddr_tcpip *st_dest, uint16_t pshdr_csum ); + struct sockaddr_tcpip *st_dest, uint16_t pshdr_csum, + struct ip_statistics *stats ); extern int tcpip_tx ( struct io_buffer *iobuf, struct tcpip_protocol *tcpip, struct sockaddr_tcpip *st_src, struct sockaddr_tcpip *st_dest, |