git: routed(8): Update to use the same radix code as the kernel

Aaron LI aly at crater.dragonflybsd.org
Sat Nov 11 23:01:21 PST 2023


commit ec6f4f0fe4bb7fc6eb63be74a849324ea2f1ae69
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Nov 12 14:20:43 2023 +0800

    routed(8): Update to use the same radix code as the kernel
    
    Since the radix code at sys/net/radix.[ch] is already make usable in
    userland, so update to use it and remove the bundled old radix code.
    
    As a result, we can remove the hack of abusing 'RNF_NORMAL' in
    <net/route.h> later.

Summary of changes:
 sbin/routed/Makefile |  12 +-
 sbin/routed/defs.h   |   3 +-
 sbin/routed/if.c     |   4 +-
 sbin/routed/output.c |   7 +-
 sbin/routed/radix.c  | 884 ---------------------------------------------------
 sbin/routed/radix.h  | 162 ----------
 sbin/routed/table.c  |  36 +--
 sbin/routed/trace.c  |   5 +-
 8 files changed, 33 insertions(+), 1080 deletions(-)
 delete mode 100644 sbin/routed/radix.c
 delete mode 100644 sbin/routed/radix.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ec6f4f0fe4bb7fc6eb63be74a849324ea2f1ae69


-- 
DragonFly BSD source repository


More information about the Commits mailing list