mld6.c (195699) | mld6.c (195727) |
---|---|
1/*- 2 * Copyright (c) 2009 Bruce Simpson. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 50 unchanged lines hidden (view full) --- 59 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 60 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 61 * SUCH DAMAGE. 62 * 63 * @(#)igmp.c 8.1 (Berkeley) 7/19/93 64 */ 65 66#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2009 Bruce Simpson. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 50 unchanged lines hidden (view full) --- 59 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 60 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 61 * SUCH DAMAGE. 62 * 63 * @(#)igmp.c 8.1 (Berkeley) 7/19/93 64 */ 65 66#include <sys/cdefs.h> |
67__FBSDID("$FreeBSD: head/sys/netinet6/mld6.c 195699 2009-07-14 22:48:30Z rwatson $"); | 67__FBSDID("$FreeBSD: head/sys/netinet6/mld6.c 195727 2009-07-16 21:13:04Z rwatson $"); |
68 69#include "opt_inet.h" 70#include "opt_inet6.h" 71 72#include <sys/param.h> 73#include <sys/systm.h> 74#include <sys/mbuf.h> 75#include <sys/socket.h> --- 130 unchanged lines hidden (view full) --- 206 * VIMAGE-wide globals. 207 */ 208static VNET_DEFINE(struct timeval, mld_gsrdelay) = {10, 0}; 209static VNET_DEFINE(LIST_HEAD(, mld_ifinfo), mli_head); 210static VNET_DEFINE(int, interface_timers_running6); 211static VNET_DEFINE(int, state_change_timers_running6); 212static VNET_DEFINE(int, current_state_timers_running6); 213 | 68 69#include "opt_inet.h" 70#include "opt_inet6.h" 71 72#include <sys/param.h> 73#include <sys/systm.h> 74#include <sys/mbuf.h> 75#include <sys/socket.h> --- 130 unchanged lines hidden (view full) --- 206 * VIMAGE-wide globals. 207 */ 208static VNET_DEFINE(struct timeval, mld_gsrdelay) = {10, 0}; 209static VNET_DEFINE(LIST_HEAD(, mld_ifinfo), mli_head); 210static VNET_DEFINE(int, interface_timers_running6); 211static VNET_DEFINE(int, state_change_timers_running6); 212static VNET_DEFINE(int, current_state_timers_running6); 213 |
214#define V_mld_gsrdelay VNET_GET(mld_gsrdelay) 215#define V_mli_head VNET_GET(mli_head) 216#define V_interface_timers_running6 VNET_GET(interface_timers_running6) 217#define V_state_change_timers_running6 VNET_GET(state_change_timers_running6) 218#define V_current_state_timers_running6 VNET_GET(current_state_timers_running6) | 214#define V_mld_gsrdelay VNET(mld_gsrdelay) 215#define V_mli_head VNET(mli_head) 216#define V_interface_timers_running6 VNET(interface_timers_running6) 217#define V_state_change_timers_running6 VNET(state_change_timers_running6) 218#define V_current_state_timers_running6 VNET(current_state_timers_running6) |
219 220SYSCTL_DECL(_net_inet6); /* Note: Not in any common header. */ 221 222SYSCTL_NODE(_net_inet6, OID_AUTO, mld, CTLFLAG_RW, 0, 223 "IPv6 Multicast Listener Discovery"); 224 225/* 226 * Virtualized sysctls. --- 3068 unchanged lines hidden --- | 219 220SYSCTL_DECL(_net_inet6); /* Note: Not in any common header. */ 221 222SYSCTL_NODE(_net_inet6, OID_AUTO, mld, CTLFLAG_RW, 0, 223 "IPv6 Multicast Listener Discovery"); 224 225/* 226 * Virtualized sysctls. --- 3068 unchanged lines hidden --- |