CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2025/06/04 06:37:00

Modified files:
        sys/netinet    : ip_divert.c ip_divert.h 
        sys/netinet6   : ip6_divert.c ip6_divert.h 
        usr.bin/netstat: inet6.c 

Log message:
Use struct divstat for both IPv4 and IPv6.

Code for divert and divert6 is very similar, reduce the difference
further.  Struct divstat and div6stat are basically the same, so
remove the latter.  divert6_sysctl_div6stat() can also go away.
For now keep distinct divert counters for IPv4 and IPv6, but they
are counting the same things.

OK mvs@

Reply via email to