summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_hostcache.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2010-11-14 20:38:11 +0000
committerdim <dim@FreeBSD.org>2010-11-14 20:38:11 +0000
commitfda4020a881f36122bca03f2d8327da8bc67863d (patch)
tree2576727bd0fe21df869f8fc8bfe76870b2b049aa /sys/netinet/tcp_hostcache.c
parent7dff36caf76f0b4c09712e32d78cf6ee8f2132c1 (diff)
downloadFreeBSD-src-fda4020a881f36122bca03f2d8327da8bc67863d.zip
FreeBSD-src-fda4020a881f36122bca03f2d8327da8bc67863d.tar.gz
Apply the STATIC_VNET_DEFINE and STATIC_DPCPU_DEFINE macros throughout
the tree.
Diffstat (limited to 'sys/netinet/tcp_hostcache.c')
-rw-r--r--sys/netinet/tcp_hostcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_hostcache.c b/sys/netinet/tcp_hostcache.c
index d20adb7..3ba295e 100644
--- a/sys/netinet/tcp_hostcache.c
+++ b/sys/netinet/tcp_hostcache.c
@@ -106,10 +106,10 @@ __FBSDID("$FreeBSD$");
#define TCP_HOSTCACHE_EXPIRE 60*60 /* one hour */
#define TCP_HOSTCACHE_PRUNE 5*60 /* every 5 minutes */
-static VNET_DEFINE(struct tcp_hostcache, tcp_hostcache);
+STATIC_VNET_DEFINE(struct tcp_hostcache, tcp_hostcache);
#define V_tcp_hostcache VNET(tcp_hostcache)
-static VNET_DEFINE(struct callout, tcp_hc_callout);
+STATIC_VNET_DEFINE(struct callout, tcp_hc_callout);
#define V_tcp_hc_callout VNET(tcp_hc_callout)
static struct hc_metrics *tcp_hc_lookup(struct in_conninfo *);
OpenPOWER on IntegriCloud