]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rework part of routing code to reduce difference to D26449.
authormelifaro <melifaro@FreeBSD.org>
Mon, 21 Sep 2020 20:02:26 +0000 (20:02 +0000)
committermelifaro <melifaro@FreeBSD.org>
Mon, 21 Sep 2020 20:02:26 +0000 (20:02 +0000)
commite7e84950bd835bdba10fa251aad8f9c465c37382
tree1996dd791751401a476342f8debdefd760657ec9
parentf38c52a875446ee056288f64b33b68cbdb2a46d3
Rework part of routing code to reduce difference to D26449.

* Split rt_setmetrics into get_info_weight() and rt_set_expire_info(),
 as these two can be applied at different entities and at different times.
* Start filling route weight in route change notifications
* Pass flowid to UDP/raw IP route lookups
* Rework nd6_subscription_cb() and sysctl_dumpentry() to prepare for the fact
 that rtentry can contain multiple nexthops.

Differential Revision: https://reviews.freebsd.org/D26497
sys/net/route.c
sys/net/route.h
sys/net/route/route_ctl.c
sys/net/route/route_var.h
sys/net/rtsock.c
sys/netinet/ip_output.c
sys/netinet6/nd6.c