Alexander V. Chernikov 41e66f4eca Add rib subscription API.
Currently there is no easy way of subscribing for the routing table changes.
The only existing way is to set ifa_rtrequest callback in the each protocol
 ifaddr, which is not convenient or extandable.

This change provides generic notification subscription mechanism, that will
 replace current ifa_rtrequest one and allow other applications such as
 accelerated routing lookup modules subscribe for the changes.

In particular, this change provides 2 hooks: 1) synchronous one
 (RIB_NOTIFY_IMMEDIATE), called under RIB_WLOCK, which ensures exact
 ordering of the changes and 2) async one, (RIB_NOTIFY_DELAYED)
 that is called after the change w/o holding locks. The latter one does not
 provide any notification ordering guarantee.

Differential Revision:  https://reviews.freebsd.org/D25070
2020-06-01 21:52:24 +00:00
..
2020-06-01 21:52:24 +00:00
2019-10-17 21:33:01 +00:00
2019-10-17 21:33:01 +00:00
2019-10-17 21:33:01 +00:00
2019-12-21 21:01:03 +00:00
2020-02-07 15:16:04 +00:00
2019-07-14 03:49:48 +00:00
2019-03-09 01:12:59 +00:00
2020-04-26 16:22:35 +00:00
2020-03-30 16:04:25 +00:00
2019-07-25 22:23:34 +00:00
2019-05-09 11:34:46 +00:00