route_ctl.h (2ce553854cbd04595d99e1cfbc9c12a87dde7906) route_ctl.h (5c4d2252d771ae226a7174b6bad279ffb2599798)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2020 Alexander V. Chernikov
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 164 unchanged lines hidden (view full) ---

173 bool waitok);
174struct rib_subscription *rib_subscribe_internal(struct rib_head *rnh,
175 rib_subscription_cb_t *f, void *arg, enum rib_subscription_type type,
176 bool waitok);
177struct rib_subscription *rib_subscribe_locked(struct rib_head *rnh,
178 rib_subscription_cb_t *f, void *arg, enum rib_subscription_type type);
179void rib_unsubscribe(struct rib_subscription *rs);
180void rib_unsubscribe_locked(struct rib_subscription *rs);
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2020 Alexander V. Chernikov
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 164 unchanged lines hidden (view full) ---

173 bool waitok);
174struct rib_subscription *rib_subscribe_internal(struct rib_head *rnh,
175 rib_subscription_cb_t *f, void *arg, enum rib_subscription_type type,
176 bool waitok);
177struct rib_subscription *rib_subscribe_locked(struct rib_head *rnh,
178 rib_subscription_cb_t *f, void *arg, enum rib_subscription_type type);
179void rib_unsubscribe(struct rib_subscription *rs);
180void rib_unsubscribe_locked(struct rib_subscription *rs);
181void rib_notify(struct rib_head *rnh, enum rib_subscription_type type,
182 struct rib_cmd_info *rc);
181
182#endif
183
184#endif