]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rework part of routing code to reduce difference to D26449.
authorAlexander V. Chernikov <melifaro@FreeBSD.org>
Mon, 21 Sep 2020 20:02:26 +0000 (20:02 +0000)
committerAlexander V. Chernikov <melifaro@FreeBSD.org>
Mon, 21 Sep 2020 20:02:26 +0000 (20:02 +0000)
commit2259a03020fe043af123bbc9e749cf7fa1b4346c
tree1996dd791751401a476342f8debdefd760657ec9
parent7b3286c189638f983ce419a9451c0854783bdeb5
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