Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102030230
D47231.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
734 B
Referenced Files
None
Subscribers
None
D47231.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D47231: netstat: convert routing statistics to a sysctl
Attached
Detach File
Event Timeline
Log In to Comment