| 1397 | } |
| 1398 | |
| 1399 | static void |
| 1400 | rib_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 | |
| 1411 | static struct rib_subscription * |
| 1412 | allocate_subscription(rib_subscription_cb_t *f, void *arg, |
no outgoing calls
no test coverage detected