diff options
-rw-r--r-- | sys/netinet/udp_usrreq.c | 3 | ||||
-rw-r--r-- | sys/netinet/udp_var.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index e51b320..e285b04 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)udp_usrreq.c 8.6 (Berkeley) 5/23/95 - * $Id: udp_usrreq.c,v 1.25 1996/05/02 05:54:14 fenner Exp $ + * $Id: udp_usrreq.c,v 1.26 1996/05/09 20:15:26 wollman Exp $ */ #include <sys/param.h> @@ -276,6 +276,7 @@ udp_input(m, iphlen) * ...and if that fails, do a wildcard search. */ if (inp == NULL) { + udpstat.udpps_pcbhashmiss++; inp = in_pcblookup(&udb, ip->ip_src, uh->uh_sport, ip->ip_dst, uh->uh_dport, INPLOOKUP_WILDCARD); } diff --git a/sys/netinet/udp_var.h b/sys/netinet/udp_var.h index 0c24818..27da26c 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 */ }; |