Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Show ARP/NDP caches as LLINFO not LLDATA for backwar...
details: https://anonhg.NetBSD.org/src/rev/3a4234803da1
branches: trunk
changeset: 358222:3a4234803da1
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Mon Dec 18 04:11:13 2017 +0000
description:
Show ARP/NDP caches as LLINFO not LLDATA for backward compatiblity
diffstat:
sys/net/route.h | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r d5650e5b9342 -r 3a4234803da1 sys/net/route.h
--- a/sys/net/route.h Mon Dec 18 03:21:44 2017 +0000
+++ b/sys/net/route.h Mon Dec 18 04:11:13 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: route.h,v 1.115 2017/12/13 17:43:10 christos Exp $ */
+/* $NetBSD: route.h,v 1.116 2017/12/18 04:11:13 ozaki-r Exp $ */
/*
* Copyright (c) 1980, 1986, 1993
@@ -172,8 +172,12 @@
#define RTF_BROADCAST 0x80000 /* route represents a bcast address */
#define RTF_UPDATING 0x100000 /* route is updating */
+/*
+ * 0x400 is exposed to userland just for backward compatibility. For that
+ * purpose, it should be shown as LLINFO.
+ */
#define RTFBITS "\020\1UP\2GATEWAY\3HOST\4REJECT\5DYNAMIC\6MODIFIED\7DONE" \
- "\010MASK_PRESENT\011CONNECTED\012XRESOLVE\013LLDATA\014STATIC" \
+ "\010MASK_PRESENT\011CONNECTED\012XRESOLVE\013LLINFO\014STATIC" \
"\015BLACKHOLE\016CLONED\017PROTO2\020PROTO1\021SRC\022ANNOUNCE" \
"\023LOCAL\024BROADCAST\025UPDATING"
Home |
Main Index |
Thread Index |
Old Index