From 14981d80578205a922309bbfb3d39e11ab54118a Mon Sep 17 00:00:00 2001 From: Qing Li Date: Mon, 12 Jan 2009 11:24:32 +0000 Subject: Revive the RTF_LLINFO flag in route.h. The kernel code is guarded by the new kernel option COMPAT_ROUTE_FLAGS for binary backward compatibility. The RTF_LLDATA flag maps to the same value as RTF_LLINFO. RTF_LLDATA is used by the arp and ndp utilities. The RTF_LLDATA flag is always returned to the userland regardless whether the COMPAT_ROUTE_FLAGS is defined. --- sys/net/route.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/net/route.h') diff --git a/sys/net/route.h b/sys/net/route.h index ed43496807f5..44b04ac14d60 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -173,7 +173,8 @@ struct ortentry { /* 0x80 unused, was RTF_DELCLONE */ /* 0x100 unused, was RTF_CLONING */ #define RTF_XRESOLVE 0x200 /* external daemon resolves name */ -/* 0x400 unused, was RTF_LLINFO */ +#define RTF_LLINFO 0x400 /* DEPRECATED - exists ONLY for backward + compatibility */ #define RTF_LLDATA 0x400 /* used by apps to add/del L2 entries */ #define RTF_STATIC 0x800 /* manually added */ #define RTF_BLACKHOLE 0x1000 /* just discard pkts (during updates) */ -- cgit v1.2.3