Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/net



Module Name:    src
Committed By:   ozaki-r
Date:           Thu Jun  5 06:28:12 UTC 2025

Modified Files:
        src/sys/net: if.c if.h

Log Message:
if: introduce if_first_addr() (and psref variant)

It returns a first address (ifa) of a given family on a given interface.

It will replace a bunch of open codes and make their intent clear.


To generate a diff of this commit:
cvs rdiff -u -r1.531 -r1.532 src/sys/net/if.c
cvs rdiff -u -r1.306 -r1.307 src/sys/net/if.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index