PERFORCE change 80689 for review

soc-anders soc-anders at FreeBSD.org
Thu Jul 21 18:48:34 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=80689

Change 80689 by soc-anders at soc-anders_gimli on 2005/07/21 18:47:35

	Migrated pim6stat from pim6_var.h

Affected files ...

.. //depot/projects/soc2005/ifcleanup/src/src/sys/netinet6/pim6.h#2 edit

Differences ...

==== //depot/projects/soc2005/ifcleanup/src/src/sys/netinet6/pim6.h#2 (text+ko) ====

@@ -67,3 +67,19 @@
 
 /* second bit in reg_head is the null bit */
 #define PIM_NULL_REGISTER 0x40000000
+
+struct pim6stat {
+	u_quad_t pim6s_rcv_total;	/* total PIM messages received	*/
+	u_quad_t pim6s_rcv_tooshort;	/* received with too few bytes	*/
+	u_quad_t pim6s_rcv_badsum;	/* received with bad checksum	*/
+	u_quad_t pim6s_rcv_badversion;	/* received bad PIM version	*/
+	u_quad_t pim6s_rcv_registers;	/* received registers		*/
+	u_quad_t pim6s_rcv_badregisters; /* received invalid registers	*/
+	u_quad_t pim6s_snd_registers;	/* sent registers		*/
+};
+
+/*
+ * Names for PIM sysctl objects
+ */
+#define PIM6CTL_STATS		1	/* statistics (read-only) */
+#define PIM6CTL_MAXID		2


More information about the p4-projects mailing list