]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Convert ip6_forward() to the new routing KPI.
authormelifaro <melifaro@FreeBSD.org>
Wed, 15 Apr 2020 12:56:05 +0000 (12:56 +0000)
committermelifaro <melifaro@FreeBSD.org>
Wed, 15 Apr 2020 12:56:05 +0000 (12:56 +0000)
commitd3d17b5ebbfa1d7655be5f62a5b54bb4b171487f
treee38bd98a363623a306433bd4a87c9145666a7008
parente8152ea1e293906e762f5f64cbf5bb4a84672435
Convert ip6_forward() to the new routing KPI.

Update ip6_forward() internals to use deembedded IPv6 addresses
 to simplify calls to the new KPI and prepare for the future
 scope-embedding cleanup.

Add in6_get_unicast_scopeid() and in6_set_unicast_scopeid() scopeid
 operation functions tailored for unicast processing.

Reviewed by: ae
Differential Revision: https://reviews.freebsd.org/D24334
sys/netinet6/ip6_forward.c
sys/netinet6/scope6.c
sys/netinet6/scope6_var.h