From 0dcc5bc0d1cca22e0204f9b9da39474b95100992 Mon Sep 17 00:00:00 2001 From: jlemon Date: Mon, 27 Mar 2000 19:14:27 +0000 Subject: Add support for offloading IP/TCP/UDP checksums to NIC hardware which supports them. --- sys/net/if.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net/if.h') diff --git a/sys/net/if.h b/sys/net/if.h index 0e0ff81..8afeac0 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -72,8 +72,8 @@ struct if_data { u_long ifi_omcasts; /* packets sent via multicast */ u_long ifi_iqdrops; /* dropped on input, this interface */ u_long ifi_noproto; /* destined for unsupported protocol */ - u_long ifi_recvtiming; /* usec spent receiving when timing */ - u_long ifi_xmittiming; /* usec spent xmitting when timing */ + u_long ifi_hwassist; /* HW offload capabilities */ + u_long ifi_unused; /* XXX was ifi_xmittiming */ struct timeval ifi_lastchange; /* time of last administrative change */ }; -- cgit v1.1