Deleted Added
full compact
ip6_var.h (53541) ip6_var.h (55009)
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

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
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

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: head/sys/netinet6/ip6_var.h 53541 1999-11-22 02:45:11Z shin $
29 * $FreeBSD: head/sys/netinet6/ip6_var.h 55009 1999-12-22 19:13:38Z shin $
30 */
31
32/*
33 * Copyright (c) 1982, 1986, 1993
34 * The Regents of the University of California. All rights reserved.
35 *
36 * Redistribution and use in source and binary forms, with or without
37 * modification, are permitted provided that the following conditions

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

168 u_long ip6s_nogif; /* no match gif found */
169 u_long ip6s_toomanyhdr; /* discarded due to too many headers */
170};
171
172#ifdef _KERNEL
173/* flags passed to ip6_output as last parameter */
174#define IPV6_DADOUTPUT 0x01 /* DAD */
175#define IPV6_FORWARDING 0x02 /* most of IPv6 header exists */
30 */
31
32/*
33 * Copyright (c) 1982, 1986, 1993
34 * The Regents of the University of California. All rights reserved.
35 *
36 * Redistribution and use in source and binary forms, with or without
37 * modification, are permitted provided that the following conditions

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

168 u_long ip6s_nogif; /* no match gif found */
169 u_long ip6s_toomanyhdr; /* discarded due to too many headers */
170};
171
172#ifdef _KERNEL
173/* flags passed to ip6_output as last parameter */
174#define IPV6_DADOUTPUT 0x01 /* DAD */
175#define IPV6_FORWARDING 0x02 /* most of IPv6 header exists */
176#define IPV6_SOCKINMRCVIF 0x100 /* IPSEC hack;
177 * socket pointer in sending
178 * packet's m_pkthdr.rcvif */
176
177extern struct ip6stat ip6stat; /* statistics */
178extern u_int32_t ip6_id; /* fragment identifier */
179extern int ip6_defhlim; /* default hop limit */
180extern int ip6_defmcasthlim; /* default multicast hop limit */
181extern int ip6_forwarding; /* act as router? */
182extern int ip6_forward_srcrt; /* forward src-routed? */
183extern int ip6_gif_hlim; /* Hop limit for gif encap packet */

--- 68 unchanged lines hidden ---
179
180extern struct ip6stat ip6stat; /* statistics */
181extern u_int32_t ip6_id; /* fragment identifier */
182extern int ip6_defhlim; /* default hop limit */
183extern int ip6_defmcasthlim; /* default multicast hop limit */
184extern int ip6_forwarding; /* act as router? */
185extern int ip6_forward_srcrt; /* forward src-routed? */
186extern int ip6_gif_hlim; /* Hop limit for gif encap packet */

--- 68 unchanged lines hidden ---