Deleted Added
full compact
route.h (122334) route.h (122921)
1/*
2 * Copyright (c) 1980, 1986, 1993
3 * The Regents of the University of California. 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

--- 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 * @(#)route.h 8.4 (Berkeley) 1/9/95
1/*
2 * Copyright (c) 1980, 1986, 1993
3 * The Regents of the University of California. 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

--- 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 * @(#)route.h 8.4 (Berkeley) 1/9/95
34 * $FreeBSD: head/sys/net/route.h 122334 2003-11-08 23:36:32Z sam $
34 * $FreeBSD: head/sys/net/route.h 122921 2003-11-20 19:47:31Z andre $
35 */
36
37#ifndef _NET_ROUTE_H_
38#define _NET_ROUTE_H_
39
40/*
41 * Kernel resident routing tables.
42 *

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

146#define RTF_CLONING 0x100 /* generate new routes on use */
147#define RTF_XRESOLVE 0x200 /* external daemon resolves name */
148#define RTF_LLINFO 0x400 /* generated by link layer (e.g. ARP) */
149#define RTF_STATIC 0x800 /* manually added */
150#define RTF_BLACKHOLE 0x1000 /* just discard pkts (during updates) */
151#define RTF_PROTO2 0x4000 /* protocol specific routing flag */
152#define RTF_PROTO1 0x8000 /* protocol specific routing flag */
153
35 */
36
37#ifndef _NET_ROUTE_H_
38#define _NET_ROUTE_H_
39
40/*
41 * Kernel resident routing tables.
42 *

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

146#define RTF_CLONING 0x100 /* generate new routes on use */
147#define RTF_XRESOLVE 0x200 /* external daemon resolves name */
148#define RTF_LLINFO 0x400 /* generated by link layer (e.g. ARP) */
149#define RTF_STATIC 0x800 /* manually added */
150#define RTF_BLACKHOLE 0x1000 /* just discard pkts (during updates) */
151#define RTF_PROTO2 0x4000 /* protocol specific routing flag */
152#define RTF_PROTO1 0x8000 /* protocol specific routing flag */
153
154#define RTF_PRCLONING 0x10000 /* protocol requires cloning */
154/* XXX: temporary to stay API/ABI compatible with userland */
155#ifndef _KERNEL
156#define RTF_PRCLONING 0x10000 /* unused, for compatibility */
157#endif
158
155#define RTF_WASCLONED 0x20000 /* route generated through cloning */
156#define RTF_PROTO3 0x40000 /* protocol specific routing flag */
157/* 0x80000 unused */
158#define RTF_PINNED 0x100000 /* future use */
159#define RTF_LOCAL 0x200000 /* route represents a local address */
160#define RTF_BROADCAST 0x400000 /* route represents a bcast address */
161#define RTF_MULTICAST 0x800000 /* route represents a mcast address */
162 /* 0x1000000 and up unassigned */

--- 163 unchanged lines hidden ---
159#define RTF_WASCLONED 0x20000 /* route generated through cloning */
160#define RTF_PROTO3 0x40000 /* protocol specific routing flag */
161/* 0x80000 unused */
162#define RTF_PINNED 0x100000 /* future use */
163#define RTF_LOCAL 0x200000 /* route represents a local address */
164#define RTF_BROADCAST 0x400000 /* route represents a bcast address */
165#define RTF_MULTICAST 0x800000 /* route represents a mcast address */
166 /* 0x1000000 and up unassigned */

--- 163 unchanged lines hidden ---