Page MenuHomeFreeBSD

D47231.diff
No OneTemporary

D47231.diff

diff --git a/sys/net/route.h b/sys/net/route.h
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -239,6 +239,7 @@
uint64_t rts_add_retry; /* # of route addition retries */
uint64_t rts_del_failure; /* # of route deletion failure */
uint64_t rts_del_retry; /* # of route deletion retries */
+ uint64_t rts_spare[5];
};
/*
diff --git a/sys/net/route.c b/sys/net/route.c
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -75,6 +75,10 @@
VNET_PCPUSTAT_SYSUNINIT(rtstat);
#endif
+SYSCTL_DECL(_net_route);
+SYSCTL_VNET_PCPUSTAT(_net_route, OID_AUTO, stats, struct rtstat,
+ rtstat, "route statistics");
+
EVENTHANDLER_LIST_DEFINE(rt_addrmsg);
static int rt_ifdelroute(const struct rtentry *rt, const struct nhop_object *,

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 7, 5:40 PM (11 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14333499
Default Alt Text
D47231.diff (734 B)

Event Timeline