diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1996-06-05 17:20:35 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1996-06-05 17:20:35 +0000 |
commit | c611d82e64cc4a1054144ee3ca51b749875f10bc (patch) | |
tree | 2254675cbda3dbf7613056886301773655d45500 /sys/netinet/udp_var.h | |
parent | 58639ed39ab1f708f74f0efd57879b026990c661 (diff) | |
download | src-c611d82e64cc4a1054144ee3ca51b749875f10bc.tar.gz src-c611d82e64cc4a1054144ee3ca51b749875f10bc.zip |
Instrument UDP PCB hashing to see how often the hash lookup is effective
for incoming packets.
Notes
Notes:
svn path=/head/; revision=16143
Diffstat (limited to 'sys/netinet/udp_var.h')
-rw-r--r-- | sys/netinet/udp_var.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/udp_var.h b/sys/netinet/udp_var.h index 0c248186de6b..27da26cc71aa 100644 --- a/sys/netinet/udp_var.h +++ b/sys/netinet/udp_var.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)udp_var.h 8.1 (Berkeley) 6/10/93 - * $Id: udp_var.h,v 1.7 1995/11/16 09:51:07 bde Exp $ + * $Id: udp_var.h,v 1.8 1995/12/16 02:14:22 bde Exp $ */ #ifndef _NETINET_UDP_VAR_H_ @@ -66,6 +66,7 @@ struct udpstat { u_long udps_noportbcast; /* of above, arrived as broadcast */ u_long udps_fullsock; /* not delivered, input socket full */ u_long udpps_pcbcachemiss; /* input packets missing pcb cache */ + u_long udpps_pcbhashmiss; /* input packets not for hashed pcb */ /* output statistics: */ u_long udps_opackets; /* total output packets */ }; |