Page MenuHomeFreeBSD

D55436.diff
No OneTemporary

D55436.diff

diff --git a/sys/net/route/route_ctl.h b/sys/net/route/route_ctl.h
--- a/sys/net/route/route_ctl.h
+++ b/sys/net/route/route_ctl.h
@@ -201,6 +201,8 @@
void rib_unsubscribe_locked(struct rib_subscription *rs);
void rib_notify(struct rib_head *rnh, enum rib_subscription_type type,
struct rib_cmd_info *rc);
+bool fill_pxmask_family(int family, int plen, struct sockaddr *_dst,
+ struct sockaddr **pmask);
/* Event bridge */
typedef void route_event_f(uint32_t fibnum, const struct rib_cmd_info *rc);
diff --git a/sys/net/route/route_ctl.c b/sys/net/route/route_ctl.c
--- a/sys/net/route/route_ctl.c
+++ b/sys/net/route/route_ctl.c
@@ -95,8 +95,6 @@
static int rt_delete_conditional(struct rib_head *rnh, struct rtentry *rt,
int prio, rib_filter_f_t *cb, void *cbdata, struct rib_cmd_info *rc);
-static bool fill_pxmask_family(int family, int plen, struct sockaddr *_dst,
- struct sockaddr **pmask);
static int get_prio_from_info(const struct rt_addrinfo *info);
static int nhop_get_prio(const struct nhop_object *nh);
@@ -405,7 +403,7 @@
return (NULL);
}
-static bool
+bool
fill_pxmask_family(int family, int plen, struct sockaddr *_dst,
struct sockaddr **pmask)
{

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 7, 4:07 PM (3 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28955251
Default Alt Text
D55436.diff (1 KB)

Event Timeline