History log of /netbsd/sbin/routed/table.c (Results 1 – 25 of 28)
Revision Date Author Comments
# 60f0473e 06-Feb-2018 mrg <mrg@NetBSD.org>

update for GCC 6:

- read_rt() has a missing {} issue.


# 8d0e6e3a 20-Dec-2016 ozaki-r <ozaki-r@NetBSD.org>

Fix that routed deletes local routes

routed previousely ignored local routes, which have RTF_LOCAL flag, because
such routes have RTF_LLINFO and routed ignored routes having the flag. When
we obsole

Fix that routed deletes local routes

routed previousely ignored local routes, which have RTF_LOCAL flag, because
such routes have RTF_LLINFO and routed ignored routes having the flag. When
we obsoleted RTF_LLINFO, we removed the ignoring logic from routed, then
routed started removing local routes unexpectedly.

Fix this behavior by teaching local routes to routed to ignore them.

kardel@ reported the issue and helped testing, thanks!

show more ...


# 9b3f89d2 07-Oct-2016 joerg <joerg@NetBSD.org>

Shuffle pointer magic to not depend on temporary overaligned pointers
into a packed structure.


# 2c3eb313 04-Apr-2016 ozaki-r <ozaki-r@NetBSD.org>

Separate nexthop caches from the routing table

By this change, nexthop caches (IP-MAC address pair) are not stored
in the routing table anymore. Instead nexthop caches are stored in
each network int

Separate nexthop caches from the routing table

By this change, nexthop caches (IP-MAC address pair) are not stored
in the routing table anymore. Instead nexthop caches are stored in
each network interface; we already have lltable/llentry data structure
for this purpose. This change also obsoletes the concept of cloning/cloned
routes. Cloned routes no longer exist while cloning routes still exist
with renamed to connected routes.

Noticeable changes are:
- Nexthop caches aren't listed in route show/netstat -r
- sysctl(NET_RT_DUMP) doesn't return them
- If RTF_LLDATA is specified, it returns nexthop caches
- Several definitions of routing flags and messages are removed
- RTF_CLONING, RTF_XRESOLVE, RTF_LLINFO, RTF_CLONED and RTM_RESOLVE
- RTF_CONNECTED is added
- It has the same value of RTF_CLONING for backward compatibility
- route's -xresolve, -[no]cloned and -llinfo options are removed
- -[no]cloning remains because it seems there are users
- -[no]connected is introduced and recommended
to be used instead of -[no]cloning
- route show/netstat -r drops some flags
- 'L' and 'c' are not seen anymore
- 'C' now indicates a connected route
- Gateway value of a route of an interface address is now not
a L2 address but "link#N" like a connected (cloning) route
- Proxy ARP: "arp -s ... pub" doesn't create a route

You can know details of behavior changes by seeing diffs under tests/.

Proposed on tech-net and tech-kern:
http://mail-index.netbsd.org/tech-net/2016/03/11/msg005701.html

show more ...


# cad376bd 26-Oct-2009 christos <christos@NetBSD.org>

merge 2.32 which is actually 2.31. Most important change is:
- use multicast over point-to-point (GRE) links as proposed by Dan Lukes.


# b935e079 28-Dec-2008 christos <christos@NetBSD.org>

fix printf formats.


# fc82ea19 06-Jul-2004 mycroft <mycroft@NetBSD.org>

PR 9431: if rnh_addradd() fails, total_routes will be wrong.


# f29f4783 21-Apr-2004 christos <christos@NetBSD.org>

constification lossage (hi gimpy)


# 16435cdb 21-Apr-2003 itojun <itojun@NetBSD.org>

strcpy/sprintf cleanup. from openbsd


# 3fbac68b 15-Apr-2003 itojun <itojun@NetBSD.org>

use snprintf. there are more...


# 64e132e7 15-Apr-2003 itojun <itojun@NetBSD.org>

array seems too small


# cd81fc31 06-Dec-2002 thorpej <thorpej@NetBSD.org>

Avoid strict alias warnings.


# f93fe60a 30-Nov-2002 christos <christos@NetBSD.org>

sync with routed 2.27


# cbbd79f7 02-Nov-2001 lukem <lukem@NetBSD.org>

fix -Wshadow warnings


# 4fea751d 10-Mar-2001 christos <christos@NetBSD.org>

sync with version 2.24. Vernon says:
The most significant [fix] involves so called "remote" interfaces
configured in the kludge file to with what appear to be colliding
networks. Edward Mascarenhas

sync with version 2.24. Vernon says:
The most significant [fix] involves so called "remote" interfaces
configured in the kludge file to with what appear to be colliding
networks. Edward Mascarenhas <eddiem@vihar.engr.sgi.com> found
the problem and the fix, and I think has tested it in the SGI
network.

show more ...


# 93daf394 02-Mar-2000 christos <christos@NetBSD.org>

make local functions static and portability casts.


# 3e1606a4 11-Feb-2000 christos <christos@NetBSD.org>

PR/9390: Jarkko Torppa: Routed leaks memory when route addition fails.


# a1d8cb95 19-Nov-1999 bouyer <bouyer@NetBSD.org>

Ignore RTM_OIFINFO messages (send by a COMPAT_14 kernel).


# c6509201 25-Feb-1999 ross <ross@NetBSD.org>

LP64 tweaks.


# 756b1291 23-Feb-1999 christos <christos@NetBSD.org>

Resolve conflicts.


# 94b2d428 25-Oct-1998 christos <christos@NetBSD.org>

Update to 980910 from ftp.rhyolite.com


# 6d8ef4df 02-Jun-1998 thorpej <thorpej@NetBSD.org>

Merge the 980602 RIPv2/Router Discovery routed. Fixes floods of host routes
generated when one of the interfaces on the network does not support
broadcast (e.g. HIPPI or ATM).

From Vern Schryver <v

Merge the 980602 RIPv2/Router Discovery routed. Fixes floods of host routes
generated when one of the interfaces on the network does not support
broadcast (e.g. HIPPI or ATM).

From Vern Schryver <vjs@rhyolite.com>

show more ...


# 52ff5d8f 16-Sep-1997 mrg <mrg@NetBSD.org>

make these compile on the alpha after WARNS=1.


# 3f50343a 15-Sep-1997 lukem <lukem@NetBSD.org>

* cleanup for WARNS=1
* deprecate register
* bcmp, bcopy, bzero, rindex -> memcmp, memmove, memset, strrchr
* correct use of .Nm


# e7512e5a 03-Feb-1997 christos <christos@NetBSD.org>

- resolve conflicts.
- remove md5 stuff; it is in libc.
- define MCAST_PPP_BUG, until we fix if_ppp.c


12