route.h (186119) | route.h (186500) |
---|---|
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 --- 13 unchanged lines hidden (view full) --- 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 * @(#)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 --- 13 unchanged lines hidden (view full) --- 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 * @(#)route.h 8.4 (Berkeley) 1/9/95 |
30 * $FreeBSD: head/sys/net/route.h 186119 2008-12-15 06:10:57Z qingli $ | 30 * $FreeBSD: head/sys/net/route.h 186500 2008-12-26 19:45:24Z qingli $ |
31 */ 32 33#ifndef _NET_ROUTE_H_ 34#define _NET_ROUTE_H_ 35 36/* 37 * Kernel resident routing tables. 38 * --- 130 unchanged lines hidden (view full) --- 169#define RTF_REJECT 0x8 /* host or net unreachable */ 170#define RTF_DYNAMIC 0x10 /* created dynamically (by redirect) */ 171#define RTF_MODIFIED 0x20 /* modified dynamically (by redirect) */ 172#define RTF_DONE 0x40 /* message confirmed */ 173/* 0x80 unused, was RTF_DELCLONE */ 174/* 0x100 unused, was RTF_CLONING */ 175#define RTF_XRESOLVE 0x200 /* external daemon resolves name */ 176/* 0x400 unused, was RTF_LLINFO */ | 31 */ 32 33#ifndef _NET_ROUTE_H_ 34#define _NET_ROUTE_H_ 35 36/* 37 * Kernel resident routing tables. 38 * --- 130 unchanged lines hidden (view full) --- 169#define RTF_REJECT 0x8 /* host or net unreachable */ 170#define RTF_DYNAMIC 0x10 /* created dynamically (by redirect) */ 171#define RTF_MODIFIED 0x20 /* modified dynamically (by redirect) */ 172#define RTF_DONE 0x40 /* message confirmed */ 173/* 0x80 unused, was RTF_DELCLONE */ 174/* 0x100 unused, was RTF_CLONING */ 175#define RTF_XRESOLVE 0x200 /* external daemon resolves name */ 176/* 0x400 unused, was RTF_LLINFO */ |
177#define RTF_LLDATA 0x400 /* used by apps to add/del L2 entries */ |
|
177#define RTF_STATIC 0x800 /* manually added */ 178#define RTF_BLACKHOLE 0x1000 /* just discard pkts (during updates) */ 179#define RTF_PROTO2 0x4000 /* protocol specific routing flag */ 180#define RTF_PROTO1 0x8000 /* protocol specific routing flag */ 181 182/* XXX: temporary to stay API/ABI compatible with userland */ 183#ifndef _KERNEL 184#define RTF_PRCLONING 0x10000 /* unused, for compatibility */ --- 250 unchanged lines hidden --- | 178#define RTF_STATIC 0x800 /* manually added */ 179#define RTF_BLACKHOLE 0x1000 /* just discard pkts (during updates) */ 180#define RTF_PROTO2 0x4000 /* protocol specific routing flag */ 181#define RTF_PROTO1 0x8000 /* protocol specific routing flag */ 182 183/* XXX: temporary to stay API/ABI compatible with userland */ 184#ifndef _KERNEL 185#define RTF_PRCLONING 0x10000 /* unused, for compatibility */ --- 250 unchanged lines hidden --- |