Date: Thu, 21 Jul 2005 18:50:10 GMT From: soc-anders <soc-anders@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 80692 for review Message-ID: <200507211850.j6LIoA83010249@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=80692 Change 80692 by soc-anders@soc-anders_gimli on 2005/07/21 18:49:51 Made pim6stat available via sysctl net.inet6.pim6.stats Affected files ... .. //depot/projects/soc2005/ifcleanup/src/src/sys/netinet6/ip6_mroute.c#2 edit Differences ... ==== //depot/projects/soc2005/ifcleanup/src/src/sys/netinet6/ip6_mroute.c#2 (text+ko) ==== @@ -99,6 +99,7 @@ #include <sys/syslog.h> #include <sys/systm.h> #include <sys/time.h> +#include <sys/sysctl.h> #include <net/if.h> #include <net/raw_cb.h> @@ -183,6 +184,10 @@ static mifi_t reg_mif_num = (mifi_t)-1; static struct pim6stat pim6stat; +SYSCTL_DECL(_net_inet6_pim6); +SYSCTL_STRUCT(_net_inet6_pim6, PIM6CTL_STATS, stats, CTLFLAG_RD, + &pim6stat, pim6stat, + "PIM6 Statistics (struct pim6stat, netinet6/pim.h)"); static int pim6; /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507211850.j6LIoA83010249>