MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rib_notify

Function rib_notify

freebsd/net/route/route_ctl.c:1399–1409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1397}
1398
1399static void
1400rib_notify(struct rib_head *rnh, enum rib_subscription_type type,
1401 struct rib_cmd_info *rc)
1402{
1403 struct rib_subscription *rs;
1404
1405 CK_STAILQ_FOREACH(rs, &rnh->rnh_subscribers, next) {
1406 if (rs->type == type)
1407 rs->func(rnh, rc, rs->arg);
1408 }
1409}
1410
1411static struct rib_subscription *
1412allocate_subscription(rib_subscription_cb_t *f, void *arg,

Callers 7

rib_add_routeFunction · 0.85
rt_unlinkrteFunction · 0.85
del_routeFunction · 0.85
add_route_nhopFunction · 0.85
change_route_nhopFunction · 0.85
change_route_conditionalFunction · 0.85
rib_walk_delFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected