]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add handling for appearing/disappearing of ingress addresses to if_me(4).
authorAndrey V. Elsukov <ae@FreeBSD.org>
Sun, 21 Oct 2018 18:18:37 +0000 (18:18 +0000)
committerAndrey V. Elsukov <ae@FreeBSD.org>
Sun, 21 Oct 2018 18:18:37 +0000 (18:18 +0000)
commitdf49ca9fd32e963f3868a3900fe2bb12b9b3b8ea
tree34c46052758bf743a1fa08f545d574ab00fc31ac
parent19873f4780fb297192a5e6ebfe36c74018511e24
Add handling for appearing/disappearing of ingress addresses to if_me(4).

* register handler for ingress address appearing/disappearing;
* add new srcaddr hash table for fast softc lookup by srcaddr;
* when srcaddr disappears, clear IFF_DRV_RUNNING flag from interface,
  and set it otherwise;

MFC after: 1 month
Sponsored by: Yandex LLC
sys/net/if_me.c