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)
Thu, May 14, 5:10 AM
Unknown Object (File)
Wed, May 13, 8:41 PM
Unknown Object (File)
Thu, May 7, 12:08 AM
Unknown Object (File)
Wed, Apr 29, 1:46 PM
Unknown Object (File)
Thu, Apr 23, 2:25 AM
Unknown Object (File)
Tue, Apr 21, 4:40 AM
Unknown Object (File)
Apr 6 2026, 1:20 PM
Unknown Object (File)
Apr 4 2026, 2:09 AM
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19544
Build 19131: arc lint + arc unit