Changeset View
Changeset View
Standalone View
Standalone View
sys/net/route/route_ctl.c
Show First 20 Lines • Show All 829 Lines • ▼ Show 20 Lines | allocate_subscription(rib_subscription_cb_t *f, void *arg, | ||||
rs->func = f; | rs->func = f; | ||||
rs->arg = arg; | rs->arg = arg; | ||||
rs->type = type; | rs->type = type; | ||||
return (rs); | return (rs); | ||||
} | } | ||||
/* | /* | ||||
* Subscribe for the changes in the routing table specified by @fibnum and | * Subscribe for the changes in the routing table specified by @fibnum and | ||||
* @family. | * @family. | ||||
* | * | ||||
* Returns pointer to the subscription structure on success. | * Returns pointer to the subscription structure on success. | ||||
*/ | */ | ||||
struct rib_subscription * | struct rib_subscription * | ||||
rib_subscribe(uint32_t fibnum, int family, rib_subscription_cb_t *f, void *arg, | rib_subscribe(uint32_t fibnum, int family, rib_subscription_cb_t *f, void *arg, | ||||
▲ Show 20 Lines • Show All 106 Lines • Show Last 20 Lines |