Deleted Added
full compact
icmp6.c (215317) icmp6.c (215701)
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 47 unchanged lines hidden (view full) ---

56 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
57 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
58 * SUCH DAMAGE.
59 *
60 * @(#)ip_icmp.c 8.2 (Berkeley) 1/4/94
61 */
62
63#include <sys/cdefs.h>
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 47 unchanged lines hidden (view full) ---

56 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
57 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
58 * SUCH DAMAGE.
59 *
60 * @(#)ip_icmp.c 8.2 (Berkeley) 1/4/94
61 */
62
63#include <sys/cdefs.h>
64__FBSDID("$FreeBSD: head/sys/netinet6/icmp6.c 215317 2010-11-14 20:38:11Z dim $");
64__FBSDID("$FreeBSD: head/sys/netinet6/icmp6.c 215701 2010-11-22 19:32:54Z dim $");
65
66#include "opt_inet.h"
67#include "opt_inet6.h"
68#include "opt_ipsec.h"
69
70#include <sys/param.h>
71#include <sys/domain.h>
72#include <sys/jail.h>

--- 41 unchanged lines hidden (view full) ---

114
115extern struct domain inet6domain;
116
117VNET_DEFINE(struct icmp6stat, icmp6stat);
118
119VNET_DECLARE(struct inpcbinfo, ripcbinfo);
120VNET_DECLARE(struct inpcbhead, ripcb);
121VNET_DECLARE(int, icmp6errppslim);
65
66#include "opt_inet.h"
67#include "opt_inet6.h"
68#include "opt_ipsec.h"
69
70#include <sys/param.h>
71#include <sys/domain.h>
72#include <sys/jail.h>

--- 41 unchanged lines hidden (view full) ---

114
115extern struct domain inet6domain;
116
117VNET_DEFINE(struct icmp6stat, icmp6stat);
118
119VNET_DECLARE(struct inpcbinfo, ripcbinfo);
120VNET_DECLARE(struct inpcbhead, ripcb);
121VNET_DECLARE(int, icmp6errppslim);
122STATIC_VNET_DEFINE(int, icmp6errpps_count) = 0;
123STATIC_VNET_DEFINE(struct timeval, icmp6errppslim_last);
122static VNET_DEFINE(int, icmp6errpps_count) = 0;
123static VNET_DEFINE(struct timeval, icmp6errppslim_last);
124VNET_DECLARE(int, icmp6_nodeinfo);
125
126#define V_ripcbinfo VNET(ripcbinfo)
127#define V_ripcb VNET(ripcb)
128#define V_icmp6errppslim VNET(icmp6errppslim)
129#define V_icmp6errpps_count VNET(icmp6errpps_count)
130#define V_icmp6errppslim_last VNET(icmp6errppslim_last)
131#define V_icmp6_nodeinfo VNET(icmp6_nodeinfo)

--- 2815 unchanged lines hidden ---
124VNET_DECLARE(int, icmp6_nodeinfo);
125
126#define V_ripcbinfo VNET(ripcbinfo)
127#define V_ripcb VNET(ripcb)
128#define V_icmp6errppslim VNET(icmp6errppslim)
129#define V_icmp6errpps_count VNET(icmp6errpps_count)
130#define V_icmp6errppslim_last VNET(icmp6errppslim_last)
131#define V_icmp6_nodeinfo VNET(icmp6_nodeinfo)

--- 2815 unchanged lines hidden ---