git: route: Seperate route messages from creation/lookup.

Roy Marples roy at
Sun Sep 8 03:57:58 PDT 2019

commit 5772e17ca63150de34a4e7bf80815ae0dd9e1bd4
Author: Roy Marples <roy at>
Date:   Sun Sep 8 11:56:18 2019 +0100

    route: Seperate route messages from creation/lookup.
    This allows a more fine grained choice about whether to announce
    messsages via route(4) or not.
    For example, a freshly added clone route is useless without the
    resolved hardware address it's talking to.
    Instead, announce the route when the hardware address has
    been resolved, changed or if it's not resolvable.
    For IPv6 destinations, we can now interpret RTM_MISS as unreachable.
    This allows listening software to take action, such as soliciting
    a new router if the destination missed was originally a router.
    Reviewed-by: sephe

Summary of changes:
 sys/net/route.c        | 44 ++++++++++++--------------------------------
 sys/net/route.h        | 11 ++++-------
 sys/net/rtsock.c       |  8 +++++---
 sys/netinet/if_ether.c | 43 ++++++++++++++++++++++++++++---------------
 sys/netinet6/nd6.c     | 19 ++++++++++++++++---
 5 files changed, 65 insertions(+), 60 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list