Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   roy
Date:           Sun Sep  1 18:54:38 UTC 2019

Modified Files:
        src/sys/net: rtsock.c
        src/sys/netinet6: nd6.c nd6_nbr.c

Log Message:
inet6: Send RTM_MISS when we fail to resolve an address.

Takes the same approach as when adding a new address - we no longer
announce the new lladdr right away but we announce the result.
This will either be RTM_ADD or RTM_MISS.
RTM_DELETE is only sent if we have a lladdr assigned OR gc'ed.

This results in less messages via route(4) and tells us when a new
lladdr has been added (RTM_ADD), changed (RTM_CHANGE), deleted (RTM_DELETED)
or has failed to been resolved (RTM_MISS). The latter case can be
interpreted as unreachable.


To generate a diff of this commit:
cvs rdiff -u -r1.251 -r1.252 src/sys/net/rtsock.c
cvs rdiff -u -r1.261 -r1.262 src/sys/netinet6/nd6.c
cvs rdiff -u -r1.171 -r1.172 src/sys/netinet6/nd6_nbr.c

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