Page MenuHomeFreeBSD

Implement handling for appearing/disappearing of ingress address for tunneling interfaces
ClosedPublic

Authored by ae on Sep 12 2018, 4:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 6:32 AM
Unknown Object (File)
Sat, Oct 11, 8:46 PM
Unknown Object (File)
Sat, Oct 11, 6:09 PM
Unknown Object (File)
Sat, Sep 27, 5:22 AM
Unknown Object (File)
Thu, Sep 18, 6:13 PM
Unknown Object (File)
Sep 14 2025, 2:45 PM
Unknown Object (File)
Sep 14 2025, 1:12 PM
Unknown Object (File)
Sep 6 2025, 10:12 PM
Subscribers

Details

Summary

This patch provides prototype of subsystem that can be used by tunneling interfaces. It depends on D17100.
The idea is that the tunneling interface driver registers handler for ifaddr_event_ex event. When the event occurs, the handler can check, that given address is used by tunneling interface as ingress address. If so, the driver clears IFF_DRV_RUNNING flag and this will prevent from sending packets from IP address, that we do not own.
When IP address appears, the handler sets IFF_DRV_RUNNING flag and interface goes into working state.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable