git: net/radix: Various minor improvements and cleanups

Aaron LI aly at
Thu Dec 21 00:54:10 PST 2023

commit c92088d5a08d6eec6a1918215257e8fca388f12d
Author: Aaron LI <aly at>
Date:   Fri Nov 24 14:05:06 2023 +0800

    net/radix: Various minor improvements and cleanups
    - Change 'rn_bit' and 'rm_bit' from type 'short' to 'int', for
      consistency with the other types.  This doesn't change the structure
      size because of the implicit padding.  However, the userland netstat(1)
      utility must be recompiled with the updated header.
    - Rename variable 'b' to 'bit' for clarity.
    - Adjust the parameter orders of rn_search_m() for consistency.
    - Various style cleanups.

Summary of changes:
 sys/net/radix.c | 277 ++++++++++++++++++++++++++++++--------------------------
 sys/net/radix.h |   4 +-
 2 files changed, 150 insertions(+), 131 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list