Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2015 13:02:36 GMT
From:      btw@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r286943 - soc2015/btw/head/sys/netinet6
Message-ID:  <201506111302.t5BD2axW023307@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: btw
Date: Thu Jun 11 13:02:35 2015
New Revision: 286943
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=286943

Log:
  Count the UDP packets over IPv6.

Modified:
  soc2015/btw/head/sys/netinet6/udp6_usrreq.c

Modified: soc2015/btw/head/sys/netinet6/udp6_usrreq.c
==============================================================================
--- soc2015/btw/head/sys/netinet6/udp6_usrreq.c	Thu Jun 11 12:47:13 2015	(r286942)
+++ soc2015/btw/head/sys/netinet6/udp6_usrreq.c	Thu Jun 11 13:02:35 2015	(r286943)
@@ -219,6 +219,7 @@
 #endif
 
 	UDPSTAT_INC(udps_ipackets);
+	IFRSTAT_INC(m, ifrs_udp);
 
 	/*
 	 * Destination port of 0 is illegal, based on RFC768.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506111302.t5BD2axW023307>