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

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

53 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
54 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
55 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
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_var.h 8.1 (Berkeley) 6/10/93
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

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

53 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
54 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
55 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
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_var.h 8.1 (Berkeley) 6/10/93
61 * $FreeBSD: head/sys/netinet6/ip6_var.h 241916 2012-10-22 21:49:56Z delphij $
61 * $FreeBSD: head/sys/netinet6/ip6_var.h 242463 2012-11-02 01:20:55Z ae $
62 */
63
64#ifndef _NETINET6_IP6_VAR_H_
65#define _NETINET6_IP6_VAR_H_
66
67/*
68 * IP6 reassembly queue structure. Each fragment
69 * being reassembled is attached to one of these structures.

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

280#endif
281
282#ifdef _KERNEL
283/* flags passed to ip6_output as last parameter */
284#define IPV6_UNSPECSRC 0x01 /* allow :: as the source address */
285#define IPV6_FORWARDING 0x02 /* most of IPv6 header exists */
286#define IPV6_MINMTU 0x04 /* use minimum MTU (IPV6_USE_MIN_MTU) */
287
62 */
63
64#ifndef _NETINET6_IP6_VAR_H_
65#define _NETINET6_IP6_VAR_H_
66
67/*
68 * IP6 reassembly queue structure. Each fragment
69 * being reassembled is attached to one of these structures.

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

280#endif
281
282#ifdef _KERNEL
283/* flags passed to ip6_output as last parameter */
284#define IPV6_UNSPECSRC 0x01 /* allow :: as the source address */
285#define IPV6_FORWARDING 0x02 /* most of IPv6 header exists */
286#define IPV6_MINMTU 0x04 /* use minimum MTU (IPV6_USE_MIN_MTU) */
287
288#define M_IP6_NEXTHOP M_PROTO2 /* explicit ip nexthop */
289
288#ifdef __NO_STRICT_ALIGNMENT
289#define IP6_HDR_ALIGNED_P(ip) 1
290#else
291#define IP6_HDR_ALIGNED_P(ip) ((((intptr_t) (ip)) & 3) == 0)
292#endif
293
294VNET_DECLARE(struct ip6stat, ip6stat); /* statistics */
295VNET_DECLARE(int, ip6_defhlim); /* default hop limit */

--- 160 unchanged lines hidden ---
290#ifdef __NO_STRICT_ALIGNMENT
291#define IP6_HDR_ALIGNED_P(ip) 1
292#else
293#define IP6_HDR_ALIGNED_P(ip) ((((intptr_t) (ip)) & 3) == 0)
294#endif
295
296VNET_DECLARE(struct ip6stat, ip6stat); /* statistics */
297VNET_DECLARE(int, ip6_defhlim); /* default hop limit */

--- 160 unchanged lines hidden ---