]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add scope zone id to the in_endpoints and hc_metrics structures.
authorAndrey V. Elsukov <ae@FreeBSD.org>
Wed, 10 Sep 2014 16:26:18 +0000 (16:26 +0000)
committerAndrey V. Elsukov <ae@FreeBSD.org>
Wed, 10 Sep 2014 16:26:18 +0000 (16:26 +0000)
commit028bdf289df048af19dd5d599114dff27afc36c5
treeb93298b87693389ded830b8e1830613117b2ba1d
parentb8fd1e31d984c0ffe888bed30908e71ae7950dd9
Add scope zone id to the in_endpoints and hc_metrics structures.

A non-global IPv6 address can be used in more than one zone of the same
scope. This zone index is used to identify to which zone a non-global
address belongs.

Also we can have many foreign hosts with equal non-global addresses,
but from different zones. So, they can have different metrics in the
host cache.

Obtained from: Yandex LLC
Sponsored by: Yandex LLC
sys/netinet/in_pcb.h
sys/netinet/tcp_hostcache.c
sys/netinet/tcp_hostcache.h