ip_mroute.h (238016) | ip_mroute.h (253081) |
---|---|
1/*- 2 * Copyright (c) 1989 Stephen Deering. 3 * Copyright (c) 1992, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Stephen Deering of Stanford University. 8 * --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)ip_mroute.h 8.1 (Berkeley) 6/10/93 | 1/*- 2 * Copyright (c) 1989 Stephen Deering. 3 * Copyright (c) 1992, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Stephen Deering of Stanford University. 8 * --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)ip_mroute.h 8.1 (Berkeley) 6/10/93 |
34 * $FreeBSD: head/sys/netinet/ip_mroute.h 238016 2012-07-02 19:44:18Z glebius $ | 34 * $FreeBSD: head/sys/netinet/ip_mroute.h 253081 2013-07-09 09:32:06Z ae $ |
35 */ 36 37#ifndef _NETINET_IP_MROUTE_H_ 38#define _NETINET_IP_MROUTE_H_ 39 40/* 41 * Definitions for IP multicast forwarding. 42 * --- 158 unchanged lines hidden (view full) --- 201/* min. threshold time interval for bandwidth measurement */ 202#define BW_UPCALL_THRESHOLD_INTERVAL_MIN_SEC 3 203#define BW_UPCALL_THRESHOLD_INTERVAL_MIN_USEC 0 204 205/* 206 * The kernel's multicast routing statistics. 207 */ 208struct mrtstat { | 35 */ 36 37#ifndef _NETINET_IP_MROUTE_H_ 38#define _NETINET_IP_MROUTE_H_ 39 40/* 41 * Definitions for IP multicast forwarding. 42 * --- 158 unchanged lines hidden (view full) --- 201/* min. threshold time interval for bandwidth measurement */ 202#define BW_UPCALL_THRESHOLD_INTERVAL_MIN_SEC 3 203#define BW_UPCALL_THRESHOLD_INTERVAL_MIN_USEC 0 204 205/* 206 * The kernel's multicast routing statistics. 207 */ 208struct mrtstat { |
209 u_long mrts_mfc_lookups; /* # forw. cache hash table hits */ 210 u_long mrts_mfc_misses; /* # forw. cache hash table misses */ 211 u_long mrts_upcalls; /* # calls to multicast routing daemon */ 212 u_long mrts_no_route; /* no route for packet's origin */ 213 u_long mrts_bad_tunnel; /* malformed tunnel options */ 214 u_long mrts_cant_tunnel; /* no room for tunnel options */ 215 u_long mrts_wrong_if; /* arrived on wrong interface */ 216 u_long mrts_upq_ovflw; /* upcall Q overflow */ 217 u_long mrts_cache_cleanups; /* # entries with no upcalls */ 218 u_long mrts_drop_sel; /* pkts dropped selectively */ 219 u_long mrts_q_overflow; /* pkts dropped - Q overflow */ 220 u_long mrts_pkt2large; /* pkts dropped - size > BKT SIZE */ 221 u_long mrts_upq_sockfull; /* upcalls dropped - socket full */ | 209 uint64_t mrts_mfc_lookups; /* # forw. cache hash table hits */ 210 uint64_t mrts_mfc_misses; /* # forw. cache hash table misses */ 211 uint64_t mrts_upcalls; /* # calls to multicast routing daemon */ 212 uint64_t mrts_no_route; /* no route for packet's origin */ 213 uint64_t mrts_bad_tunnel; /* malformed tunnel options */ 214 uint64_t mrts_cant_tunnel; /* no room for tunnel options */ 215 uint64_t mrts_wrong_if; /* arrived on wrong interface */ 216 uint64_t mrts_upq_ovflw; /* upcall Q overflow */ 217 uint64_t mrts_cache_cleanups; /* # entries with no upcalls */ 218 uint64_t mrts_drop_sel; /* pkts dropped selectively */ 219 uint64_t mrts_q_overflow; /* pkts dropped - Q overflow */ 220 uint64_t mrts_pkt2large; /* pkts dropped - size > BKT SIZE */ 221 uint64_t mrts_upq_sockfull; /* upcalls dropped - socket full */ |
222}; 223 224#ifdef _KERNEL 225#define MRTSTAT_ADD(name, val) V_mrtstat.name += (val) 226#define MRTSTAT_INC(name) MRTSTAT_ADD(name, 1) 227#endif 228 229/* --- 129 unchanged lines hidden --- | 222}; 223 224#ifdef _KERNEL 225#define MRTSTAT_ADD(name, val) V_mrtstat.name += (val) 226#define MRTSTAT_INC(name) MRTSTAT_ADD(name, 1) 227#endif 228 229/* --- 129 unchanged lines hidden --- |